Skip to content

Commit

Permalink
[giow] (3) Remove some parts of document.all that data shows have vir…
Browse files Browse the repository at this point in the history
…tually no usage.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22118
Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@8469 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 6, 2014
1 parent c3767e7 commit 9053fc4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 61 deletions.
22 changes: 2 additions & 20 deletions complete.html
Expand Up @@ -7565,8 +7565,7 @@ <h5 id=htmlallcollection-0><span class=secno>2.7.2.1 </span>HTMLAllCollection</h
<pre class=idl>interface <dfn id=htmlallcollection>HTMLAllCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>(unsigned long index)
(<a href=#htmlcollection>HTMLCollection</a> or <a href=#element>Element</a>)? <a href=#dom-htmlallcollection-item-string title=dom-HTMLAllCollection-item-string>item</a>(DOMString name);
legacycaller getter (<a href=#htmlcollection>HTMLCollection</a> or <a href=#element>Element</a>)? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // shadows inherited namedItem()
<a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-htmlallcollection-tags title=dom-HTMLAllCollection-tags>tags</a>(DOMString tagName);
getter (<a href=#htmlcollection>HTMLCollection</a> or <a href=#element>Element</a>)? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // shadows inherited namedItem()
};</pre>

<dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLCollection-length>length</code></dt>
Expand All @@ -7585,7 +7584,6 @@ <h5 id=htmlallcollection-0><span class=secno>2.7.2.1 </span>HTMLAllCollection</h
<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-namedItem><a href=#dom-htmlallcollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-namedItem><a href=#dom-htmlallcollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var>[<var title="">name</var>]</dt>
<dt><var title="">collection</var>(<var title="">name</var>)</dt>
<dd>
<p>Returns the item with <a href=#concept-id title=concept-id>ID</a> or name <var title="">name</var> from the collection.</p>
<p>If there are multiple matching items, then an <code><a href=#htmlcollection>HTMLCollection</a></code> object containing all those elements is returned.</p>
Expand All @@ -7595,11 +7593,6 @@ <h5 id=htmlallcollection-0><span class=secno>2.7.2.1 </span>HTMLAllCollection</h
method; their name is given by the value of their <code title="">name</code> attribute.</p>
</dd>

<dt><var title="">collection</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-tags><a href=#dom-htmlallcollection-tags>tags</a></code>(<var title="">tagName</var>)</dt>
<dd>
<p>Returns a collection that is a filtered view of the current collection, containing only elements with the given tag name.</p>
</dd>

</dl><div class=impl>

<p>The object's <a href=#supported-property-indices>supported property indices</a> are as defined for
Expand Down Expand Up @@ -7642,18 +7635,7 @@ <h5 id=htmlallcollection-0><span class=secno>2.7.2.1 </span>HTMLAllCollection</h

<li>Otherwise, return <var title="">collection</var>.</li>

</ol><p>The <dfn id=dom-htmlallcollection-tags title=dom-HTMLAllCollection-tags><code>tags(<var title="">tagName</var>)</code></dfn> method must return an <code><a href=#htmlallcollection>HTMLAllCollection</a></code> rooted
at the same node as the <code><a href=#htmlallcollection>HTMLAllCollection</a></code> object on which the method was invoked,
whose filter matches only <a href=#html-elements>HTML elements</a> whose local name is the <var title="">tagName</var> argument and that already match the filter of the
<code><a href=#htmlallcollection>HTMLAllCollection</a></code> object on which the method was invoked. In <a href=#html-documents>HTML
documents</a>, the argument must first be <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.</p>
<!--if legacycaller is removed:
<p>In addition to the above, <code>HTMLAllCollection</code> objects, in JavaScript, must be
callable. Calling such an object must implicitly invoke the index getter with the same
arguments.</p>
-->

</div>
</ol></div>


<h5 id=htmlformcontrolscollection-0><span class=secno>2.7.2.2 </span>HTMLFormControlsCollection</h5>
Expand Down
22 changes: 2 additions & 20 deletions index
Expand Up @@ -7565,8 +7565,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<pre class=idl>interface <dfn id=htmlallcollection>HTMLAllCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>(unsigned long index)
(<a href=#htmlcollection>HTMLCollection</a> or <a href=#element>Element</a>)? <a href=#dom-htmlallcollection-item-string title=dom-HTMLAllCollection-item-string>item</a>(DOMString name);
legacycaller getter (<a href=#htmlcollection>HTMLCollection</a> or <a href=#element>Element</a>)? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // shadows inherited namedItem()
<a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-htmlallcollection-tags title=dom-HTMLAllCollection-tags>tags</a>(DOMString tagName);
getter (<a href=#htmlcollection>HTMLCollection</a> or <a href=#element>Element</a>)? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // shadows inherited namedItem()
};</pre>

<dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLCollection-length>length</code></dt>
Expand All @@ -7585,7 +7584,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-namedItem><a href=#dom-htmlallcollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-namedItem><a href=#dom-htmlallcollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var>[<var title="">name</var>]</dt>
<dt><var title="">collection</var>(<var title="">name</var>)</dt>
<dd>
<p>Returns the item with <a href=#concept-id title=concept-id>ID</a> or name <var title="">name</var> from the collection.</p>
<p>If there are multiple matching items, then an <code><a href=#htmlcollection>HTMLCollection</a></code> object containing all those elements is returned.</p>
Expand All @@ -7595,11 +7593,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
method; their name is given by the value of their <code title="">name</code> attribute.</p>
</dd>

<dt><var title="">collection</var> = <var title="">collection</var> . <code title=dom-HTMLAllCollection-tags><a href=#dom-htmlallcollection-tags>tags</a></code>(<var title="">tagName</var>)</dt>
<dd>
<p>Returns a collection that is a filtered view of the current collection, containing only elements with the given tag name.</p>
</dd>

</dl><div class=impl>

<p>The object's <a href=#supported-property-indices>supported property indices</a> are as defined for
Expand Down Expand Up @@ -7642,18 +7635,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<li>Otherwise, return <var title="">collection</var>.</li>

</ol><p>The <dfn id=dom-htmlallcollection-tags title=dom-HTMLAllCollection-tags><code>tags(<var title="">tagName</var>)</code></dfn> method must return an <code><a href=#htmlallcollection>HTMLAllCollection</a></code> rooted
at the same node as the <code><a href=#htmlallcollection>HTMLAllCollection</a></code> object on which the method was invoked,
whose filter matches only <a href=#html-elements>HTML elements</a> whose local name is the <var title="">tagName</var> argument and that already match the filter of the
<code><a href=#htmlallcollection>HTMLAllCollection</a></code> object on which the method was invoked. In <a href=#html-documents>HTML
documents</a>, the argument must first be <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.</p>
<!--if legacycaller is removed:
<p>In addition to the above, <code>HTMLAllCollection</code> objects, in JavaScript, must be
callable. Calling such an object must implicitly invoke the index getter with the same
arguments.</p>
-->

</div>
</ol></div>


<h5 id=htmlformcontrolscollection-0><span class=secno>2.7.2.2 </span>HTMLFormControlsCollection</h5>
Expand Down
22 changes: 1 addition & 21 deletions source
Expand Up @@ -7016,8 +7016,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<pre class="idl">interface <dfn>HTMLAllCollection</dfn> : <span>HTMLCollection</span> {
// inherits <span data-x="dom-HTMLCollection-length">length</span> and <span data-x="dom-HTMLCollection-item">item</span>(unsigned long index)
(<span>HTMLCollection</span> or <span>Element</span>)? <span data-x="dom-HTMLAllCollection-item-string">item</span>(DOMString name);
legacycaller getter (<span>HTMLCollection</span> or <span>Element</span>)? <span data-x="dom-HTMLAllCollection-namedItem">namedItem</span>(DOMString name); // shadows inherited namedItem()
<span>HTMLAllCollection</span> <span data-x="dom-HTMLAllCollection-tags">tags</span>(DOMString tagName);
getter (<span>HTMLCollection</span> or <span>Element</span>)? <span data-x="dom-HTMLAllCollection-namedItem">namedItem</span>(DOMString name); // shadows inherited namedItem()
};</pre>

<dl class="domintro">
Expand All @@ -7038,7 +7037,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<dt><var data-x="">element</var> = <var data-x="">collection</var> . <code data-x="dom-HTMLAllCollection-namedItem">namedItem</code>(<var data-x="">name</var>)</dt>
<dt><var data-x="">collection</var> = <var data-x="">collection</var> . <code data-x="dom-HTMLAllCollection-namedItem">namedItem</code>(<var data-x="">name</var>)</dt>
<dt><var data-x="">collection</var>[<var data-x="">name</var>]</dt>
<dt><var data-x="">collection</var>(<var data-x="">name</var>)</dt>
<dd>
<p>Returns the item with <span data-x="concept-id">ID</span> or name <var data-x="">name</var> from the collection.</p>
<p>If there are multiple matching items, then an <code>HTMLCollection</code> object containing all those elements is returned.</p>
Expand All @@ -7048,11 +7046,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
method; their name is given by the value of their <code data-x="">name</code> attribute.</p>
</dd>

<dt><var data-x="">collection</var> = <var data-x="">collection</var> . <code data-x="dom-HTMLAllCollection-tags">tags</code>(<var data-x="">tagName</var>)</dt>
<dd>
<p>Returns a collection that is a filtered view of the current collection, containing only elements with the given tag name.</p>
</dd>

</dl>

<div class="impl">
Expand Down Expand Up @@ -7109,19 +7102,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</ol>

<p>The <dfn data-x="dom-HTMLAllCollection-tags"><code>tags(<var
data-x="">tagName</var>)</code></dfn> method must return an <code>HTMLAllCollection</code> rooted
at the same node as the <code>HTMLAllCollection</code> object on which the method was invoked,
whose filter matches only <span>HTML elements</span> whose local name is the <var
data-x="">tagName</var> argument and that already match the filter of the
<code>HTMLAllCollection</code> object on which the method was invoked. In <span>HTML
documents</span>, the argument must first be <span>converted to ASCII lowercase</span>.</p>
<!--if legacycaller is removed:
<p>In addition to the above, <code>HTMLAllCollection</code> objects, in JavaScript, must be
callable. Calling such an object must implicitly invoke the index getter with the same
arguments.</p>
-->

</div>


Expand Down

0 comments on commit 9053fc4

Please sign in to comment.