diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 64d7c2f0bd58bd5..8169f0c4e310e32 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -7559,8 +7559,6 @@ /en-US/docs/Web/API/DocumentOrShadowRoot/fullscreenElement /en-US/docs/Web/API/Document/fullscreenElement /en-US/docs/Web/API/DocumentOrShadowRoot/getAnimations /en-US/docs/Web/API/Document/getAnimations /en-US/docs/Web/API/DocumentOrShadowRoot/getSelection /en-US/docs/Web/API/Document/getSelection -/en-US/docs/Web/API/DocumentOrShadowRoot/nodeFromPoint /en-US/docs/Web/API/DocumentOrShadowRoot -/en-US/docs/Web/API/DocumentOrShadowRoot/nodesFromPoint /en-US/docs/Web/API/DocumentOrShadowRoot /en-US/docs/Web/API/DocumentOrShadowRoot/pictureInPictureElement /en-US/docs/Web/API/Document/pictureInPictureElement /en-US/docs/Web/API/DocumentOrShadowRoot/pictureInPictureEnabled /en-US/docs/Web/API/Document/pictureInPictureEnabled /en-US/docs/Web/API/DocumentOrShadowRoot/pointerLockElement /en-US/docs/Web/API/Document/pointerLockElement diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 8de0bc83ce0e0d0..e1832f8c722d90b 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -44274,21 +44274,6 @@ "teoli" ] }, - "Web/API/DocumentOrShadowRoot": { - "modified": "2020-11-04T11:07:53.581Z", - "contributors": [ - "Rumyra", - "germain", - "mfuji09", - "chrisdavidmills", - "foolip", - "Sheppy", - "ExE-Boss", - "jpmedley", - "iainreid629", - "david_ross" - ] - }, "Web/API/DocumentTimeline": { "modified": "2020-10-15T21:45:09.763Z", "contributors": [ @@ -165786,4 +165771,4 @@ "jpmedley" ] } -} +} \ No newline at end of file diff --git a/files/en-us/web/api/documentorshadowroot/index.html b/files/en-us/web/api/documentorshadowroot/index.html deleted file mode 100644 index 3dc19ecd365076d..000000000000000 --- a/files/en-us/web/api/documentorshadowroot/index.html +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: DocumentOrShadowRoot -slug: Web/API/DocumentOrShadowRoot -tags: - - API - - Document - - DocumentOrShadowRoot - - Interface - - Reference - - ShadowRoot - - shadow dom ---- -
The DocumentOrShadowRoot
mixin of the Shadow DOM API provides APIs that are shared between documents and shadow roots. The following features are included in both {{DOMxRef("Document")}} and {{DOMxRef("ShadowRoot")}}.
null
if lock is pending, the pointer is unlocked, or if the target is in another document.document
Specification | -Status | -Comment | -
---|---|---|
{{SpecName('Shadow DOM','#extensions-to-the-documentorshadowroot-mixin','DocumentOrShadowRoot')}} | -{{Spec2('Shadow DOM')}} | -Implementation in Shadow DOM. | -
{{SpecName('DOM WHATWG','#mixin-documentorshadowroot','DocumentOrShadowRoot')}} | -{{Spec2('DOM WHATWG')}} | -Initial definition. | -
{{Compat("api.DocumentOrShadowRoot")}}
- -[1] This interface's features are still implemented on the {{DOMxRef("Document")}} object.
diff --git a/files/en-us/web/api/picture-in-picture_api/index.html b/files/en-us/web/api/picture-in-picture_api/index.html index c5a9d32af2d3e1a..5cd5ebda25701aa 100644 --- a/files/en-us/web/api/picture-in-picture_api/index.html +++ b/files/en-us/web/api/picture-in-picture_api/index.html @@ -45,7 +45,7 @@The Picture-in-Picture API augments the {{DOMxRef("HTMLVideoElement")}}, {{DOMxRef("Document")}}, and {{DOMxRef("DocumentOrShadowRoot")}} interfaces with properties that can be used to determine if the floating video window mode is supported and available, if picture-in-picture mode is currently active, and which video is floating.
+The Picture-in-Picture API augments the {{DOMxRef("HTMLVideoElement")}}, {{DOMxRef("Document")}}, and {{DOMxRef("ShadowRoot")}} interfaces with properties that can be used to determine if the floating video window mode is supported and available, if picture-in-picture mode is currently active, and which video is floating.
The Pointer lock API also extends the {{domxref("Document")}} interface, adding both a new property and a new method. The new property is used for accessing the currently locked element (if any), and is named {{domxref("DocumentOrShadowRoot/pointerLockElement","pointerLockElement")}} and the new method on {{domxref("Document")}} is {{domxref("Document.exitPointerLock","exitPointerLock()")}} and, as the name implies, it is used to exit the pointer lock.
+The Pointer lock API also extends the {{domxref("Document")}} interface, adding both a new property and a new method. The new property is used for accessing the currently locked element (if any), and is named {{domxref("Document.pointerLockElement","pointerLockElement")}} and the new method on {{domxref("Document")}} is {{domxref("Document.exitPointerLock","exitPointerLock()")}} and, as the name implies, it is used to exit the pointer lock.
-The {{domxref("DocumentOrShadowRoot/pointerLockElement","pointerLockElement")}} property is useful for determining if any element is currently pointer locked (e.g., for doing a Boolean check) and also for obtaining a reference to the locked element, if any.
+The {{domxref("Document.pointerLockElement","pointerLockElement")}} property is useful for determining if any element is currently pointer locked (e.g., for doing a Boolean check) and also for obtaining a reference to the locked element, if any.
Here is an example of using pointerLockElement
:
Element
interface related to shadow DOM: