Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ParentNode mixin docs #5057

Merged
merged 1 commit into from
May 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7288,7 +7288,6 @@
/en-US/docs/Web/API/Document.xmlEncoding /en-US/docs/Web/API/Document/xmlEncoding
/en-US/docs/Web/API/Document/Document:_DOMContentLoaded_event /en-US/docs/Web/API/Document/DOMContentLoaded_event
/en-US/docs/Web/API/Document/Document:_paste_event /en-US/docs/Web/API/Document/paste_event
/en-US/docs/Web/API/Document/ParentNode.querySelectorAll /en-US/docs/Web/API/ParentNode/querySelectorAll
/en-US/docs/Web/API/Document/async /en-US/docs/Web/API/XMLDocument/async
/en-US/docs/Web/API/Document/baseURI /en-US/docs/Web/API/Node/baseURI
/en-US/docs/Web/API/Document/cancelFullscreen /en-US/docs/Web/API/Document/exitFullscreen
Expand Down
42 changes: 0 additions & 42 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -68231,48 +68231,6 @@
"chrisdavidmills"
]
},
"Web/API/ParentNode": {
"modified": "2020-12-04T06:14:39.443Z",
"contributors": [
"chrisdavidmills",
"sideshowbarker",
"czipperz",
"TrevorKarjanis",
"Rumyra",
"ExE-Boss",
"Sheppy",
"libbymc",
"DomenicDenicola",
"stevenwdv",
"Sebastianz",
"jpmedley",
"fscholz",
"cvrebert",
"MHasan",
"jdfm",
"kscarfone",
"Localsystem",
"Jeremie",
"NekR",
"teoli"
]
},
"Web/API/ParentNode/querySelector": {
"modified": "2020-10-15T22:11:25.046Z",
"contributors": [
"ExE-Boss"
]
},
"Web/API/ParentNode/querySelectorAll": {
"modified": "2020-10-15T21:52:23.893Z",
"contributors": [
"mfuji09",
"stephenriddell",
"ExE-Boss",
"Sheppy",
"Sebastianz"
]
},
"Web/API/PasswordCredential": {
"modified": "2020-10-15T21:44:48.781Z",
"contributors": [
Expand Down
17 changes: 6 additions & 11 deletions files/en-us/web/api/document/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ <h2 id="Methods">Methods</h2>
<dd>Release the pointer lock.</dd>
<dt>{{DOMxRef("Document.getAnimations()")}}</dt>
<dd>Returns an array of all {{DOMxRef("Animation")}} objects currently in effect, whose target elements are descendants of the <code>document</code>.</dd>
<dt>{{DOMxRef("Document.getElementById")}}</dt>
<dd>Returns an object reference to the identified element.</dd>
<dt>{{DOMxRef("Document.getElementsByClassName()")}}</dt>
<dd>Returns a list of elements with the given class name.</dd>
<dt>{{DOMxRef("Document.getElementsByTagName()")}}</dt>
Expand All @@ -276,6 +278,10 @@ <h2 id="Methods">Methods</h2>
<dd>Replaces entities, normalizes text nodes, etc.</dd>
<dt>{{DOMxRef("Document.prepend()")}}</dt>
<dd>Inserts a set of {{domxref("Node")}} objects or {{domxref("DOMString")}} objects before the first child of the document.</dd>
<dt>{{DOMxRef("Document.querySelector()")}}</dt>
<dd>Returns the first Element node within the document, in document order, that matches the specified selectors.</dd>
<dt>{{DOMxRef("Document.querySelectorAll()")}}</dt>
<dd>Returns a list of all the Element nodes within the document that match the specified selectors.</dd>
<dt>{{DOMxRef("Document.releaseCapture()")}} {{Non-standard_Inline}}</dt>
<dd>Releases the current mouse capture if it's on an element in this document.</dd>
<dt>{{DOMxRef("Document.releaseEvents()")}} {{Non-standard_Inline}} {{Deprecated_Inline}}</dt>
Expand All @@ -290,17 +296,6 @@ <h2 id="Methods">Methods</h2>
<dd>Allows you to change the element being used as the background image for a specified element ID.</dd>
</dl>

<p>The <code>Document</code> interface is extended with the {{DOMxRef("ParentNode")}} interface:</p>

<dl>
<dt>{{DOMxRef("Document.getElementById","document.getElementById(String id)")}}</dt>
<dd>Returns an object reference to the identified element.</dd>
<dt>{{DOMxRef("Document.querySelector()")}}</dt>
<dd>Returns the first Element node within the document, in document order, that matches the specified selectors.</dd>
<dt>{{DOMxRef("Document.querySelectorAll()")}}</dt>
<dd>Returns a list of all the Element nodes within the document that match the specified selectors.</dd>
</dl>

<p>The <code>Document</code> interface is extended with the {{DOMxRef("XPathEvaluator")}} interface:</p>

<dl>
Expand Down
8 changes: 0 additions & 8 deletions files/en-us/web/api/document/queryselectorall/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
returns a static (not live) {{domxref("NodeList")}} representing a list of the
document's elements that match the specified group of selectors.</p>

<div class="note">
<p><strong>Note:</strong> This method is implemented based on the
{{domxref("ParentNode")}} mixin's {{domxref("ParentNode.querySelectorAll",
"querySelectorAll()")}} method.</p>
</div>

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js"><var>elementList</var> = <em>parentNode</em>.querySelectorAll(<var>selectors</var>);
Expand Down Expand Up @@ -218,8 +212,6 @@ <h2 id="See_also">See also</h2>
<li>{{domxref("Document.querySelector()")}}</li>
<li>{{domxref("DocumentFragment.querySelector()")}} and
{{domxref("DocumentFragment.querySelectorAll()")}}</li>
<li>{{domxref("ParentNode.querySelector()")}} and
{{domxref("ParentNode.querySelectorAll()")}}</li>
<li><a href="/en-US/docs/Code_snippets/QuerySelector">Code snippets for
<code>querySelector()</code></a></li>
</ul>
1 change: 0 additions & 1 deletion files/en-us/web/api/document_object_model/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ <h2 id="DOM_interfaces">DOM interfaces</h2>
<li>{{DOMxRef("NodeFilter")}}</li>
<li>{{DOMxRef("NodeIterator")}}</li>
<li>{{DOMxRef("NodeList")}}</li>
<li>{{DOMxRef("ParentNode")}}</li>
<li>{{DOMxRef("ProcessingInstruction")}}</li>
<li>{{DOMxRef("Selection")}} {{Experimental_Inline}}</li>
<li>{{DOMxRef("Range")}}</li>
Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/api/documentfragment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2 id="Constructor">Constructor</h2>

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

<p><em>This interface has no specific properties, but inherits those of its parent, {{domxref("Node")}}, and implements those of the {{domxref("ParentNode")}} interface.</em></p>
<p><em>This interface has no specific properties, but inherits those of its parent, {{domxref("Node")}}.</em></p>

<dl>
<dt>{{ domxref("DocumentFragment.childElementCount") }} {{readonlyInline}} </dt>
Expand All @@ -38,7 +38,7 @@ <h2 id="Properties">Properties</h2>

<h2 id="Methods">Methods</h2>

<p><em>This interface inherits the methods of its parent, {{domxref("Node")}}, and implements those of the {{domxref("ParentNode")}} interface.</em></p>
<p><em>This interface inherits the methods of its parent, {{domxref("Node")}}.</em></p>

<dl>
<dt>{{DOMxRef("DocumentFragment.append()")}}</dt>
Expand Down Expand Up @@ -104,7 +104,7 @@ <h2 id="Specifications">Specifications</h2>
<tr>
<td>{{SpecName('DOM WHATWG', '#interface-documentfragment', 'DocumentFragment')}}</td>
<td>{{Spec2('DOM WHATWG')}}</td>
<td>Added the constructor and the implementation of {{domxref("ParentNode")}}.</td>
<td>Added the constructor and the implementation of <code>ParentNode</code>.</td>
</tr>
<tr>
<td>{{SpecName('Selectors API Level 1', '#the-apis', 'DocumentFragment')}}</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
<p>If the selectors specified in parameter are invalid a {{domxref("DOMException")}} with
a <code>SYNTAX_ERR</code> value is raised.</p>

<div class="note">
<p><strong>Note:</strong> The definition of this API was moved to the
{{domxref("ParentNode")}} interface.</p>
</div>

<h2 id="Syntax">Syntax</h2>

<pre
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/api/element/queryselector/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ <h2 id="See_also">See also</h2>
{{domxref("Document.querySelectorAll()")}}</li>
<li>{{domxref("DocumentFragment.querySelector()")}} and
{{domxref("DocumentFragment.querySelectorAll()")}}</li>
<li>{{domxref("ParentNode.querySelector()")}} and
{{domxref("ParentNode.querySelectorAll()")}}</li>
<li><a href="/en-US/docs/Code_snippets/QuerySelector">Code snippets for
querySelector</a></li>
<li>Other methods that take selectors: {{domxref("element.closest()")}} and
Expand Down
8 changes: 0 additions & 8 deletions files/en-us/web/api/element/queryselectorall/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
matching the specified group of selectors which are descendants of the element on which
the method was called.</p>

<div class="note">
<p><strong>Note:</strong> This method is implemented based on the
{{domxref("ParentNode")}} mixin's {{domxref("ParentNode.querySelectorAll",
"querySelectorAll()")}} method.</p>
</div>

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js"><var>elementList</var> = <em>parentNode</em>.querySelectorAll(<var>selectors</var>);
Expand Down Expand Up @@ -240,8 +234,6 @@ <h2 id="See_also">See also</h2>
{{domxref("Document.querySelectorAll()")}}</li>
<li>{{domxref("DocumentFragment.querySelector()")}} and
{{domxref("DocumentFragment.querySelectorAll()")}}</li>
<li>{{domxref("ParentNode.querySelector()")}} and
{{domxref("ParentNode.querySelectorAll()")}}</li>
<li><a href="/en-US/docs/Code_snippets/QuerySelector">Code snippets for
<code>querySelector()</code></a></li>
</ul>
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmlformelement/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h2 id="Usage_notes">Usage notes</h2>

<h3 id="Obtaining_a_form_element_object">Obtaining a form element object</h3>

<p>To obtain an <code>HTMLFormElement</code> object, you can use a <a href="/en-US/docs/Web/CSS/CSS_Selectors">CSS selector</a> with {{domxref("ParentNode.querySelector", "querySelector()")}}, or you can get a list of all of the forms in the document using its {{domxref("Document.forms", "forms")}} property.</p>
<p>To obtain an <code>HTMLFormElement</code> object, you can use a <a href="/en-US/docs/Web/CSS/CSS_Selectors">CSS selector</a> with {{domxref("Document.querySelector", "querySelector()")}}, or you can get a list of all of the forms in the document using its {{domxref("Document.forms", "forms")}} property.</p>

<p>{{domxref("Document.forms")}} returns an array of <code>HTMLFormElement</code> objects listing each of the forms on the page. You can then use any of the following syntaxes to get an individual form:</p>

Expand Down
87 changes: 0 additions & 87 deletions files/en-us/web/api/parentnode/index.html

This file was deleted.

Loading