Skip to content

Commit

Permalink
Remove DocumentOrShadowRoot mixin page (#3146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 committed Mar 15, 2021
1 parent d8f4ebd commit 61fb32a
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 102 deletions.
2 changes: 0 additions & 2 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 1 addition & 16 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -165786,4 +165771,4 @@
"jpmedley"
]
}
}
}
79 changes: 0 additions & 79 deletions files/en-us/web/api/documentorshadowroot/index.html

This file was deleted.

2 changes: 1 addition & 1 deletion files/en-us/web/api/picture-in-picture_api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h3 id="Methods_on_the_Document_interface">Methods on the Document interface</h3

<h2 id="Properties">Properties</h2>

<p><em>The Picture-in-Picture API augments the </em>{{DOMxRef("HTMLVideoElement")}}, {{DOMxRef("Document")}}, and {{DOMxRef("DocumentOrShadowRoot")}} <em>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.</em></p>
<p><em>The Picture-in-Picture API augments the </em>{{DOMxRef("HTMLVideoElement")}}, {{DOMxRef("Document")}}, and {{DOMxRef("ShadowRoot")}} <em>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.</em></p>

<h3 id="Properties_on_the_HTMLVideoElement_interface">Properties on the HTMLVideoElement interface</h3>

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/pointer_lock_api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ <h3 id="requestPointerLock">requestPointerLock()</h3>

<h3 id="pointerLockElement_and_exitPointerLock">pointerLockElement and exitPointerLock()</h3>

<p>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.</p>
<p>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.</p>

<p>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.</p>
<p>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.</p>

<p>Here is an example of using <code>pointerLockElement</code>:</p>

Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/web_components/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ <h3 id="Shadow_DOM">Shadow DOM</h3>
<dl>
<dt>{{domxref("ShadowRoot")}}</dt>
<dd>Represents the root node of a shadow DOM subtree.</dd>
<dt>{{domxref("DocumentOrShadowRoot")}}</dt>
<dd>A mixin defining features that are available across document and shadow roots.</dd>
<dt>{{domxref("Element")}} extensions</dt>
<dd>Extensions to the <code>Element</code> interface related to shadow DOM:
<ul>
Expand Down

0 comments on commit 61fb32a

Please sign in to comment.