[html5] r8469 - [giow] (3) Remove some parts of document.all that data shows have virtually no u [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Feb 6 11:35:19 PST 2014
Author: ianh
Date: 2014-02-06 11:35:18 -0800 (Thu, 06 Feb 2014)
New Revision: 8469
Modified:
complete.html
index
source
Log:
[giow] (3) Remove some parts of document.all that data shows have virtually no usage.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22118
Affected topics: DOM APIs
Modified: complete.html
===================================================================
--- complete.html 2014-02-06 00:30:45 UTC (rev 8468)
+++ complete.html 2014-02-06 19:35:18 UTC (rev 8469)
@@ -7565,8 +7565,7 @@
<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>
@@ -7585,7 +7584,6 @@
<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>
@@ -7595,11 +7593,6 @@
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
@@ -7642,20 +7635,9 @@
<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>
--->
+ </ol></div>
- </div>
-
<h5 id=htmlformcontrolscollection-0><span class=secno>2.7.2.2 </span>HTMLFormControlsCollection</h5>
<p>The <code><a href=#htmlformcontrolscollection>HTMLFormControlsCollection</a></code> interface is used for <a href=#collections>collections</a> of
Modified: index
===================================================================
--- index 2014-02-06 00:30:45 UTC (rev 8468)
+++ index 2014-02-06 19:35:18 UTC (rev 8469)
@@ -7565,8 +7565,7 @@
<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>
@@ -7585,7 +7584,6 @@
<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>
@@ -7595,11 +7593,6 @@
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
@@ -7642,20 +7635,9 @@
<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>
--->
+ </ol></div>
- </div>
-
<h5 id=htmlformcontrolscollection-0><span class=secno>2.7.2.2 </span>HTMLFormControlsCollection</h5>
<p>The <code><a href=#htmlformcontrolscollection>HTMLFormControlsCollection</a></code> interface is used for <a href=#collections>collections</a> of
Modified: source
===================================================================
--- source 2014-02-06 00:30:45 UTC (rev 8468)
+++ source 2014-02-06 19:35:18 UTC (rev 8469)
@@ -7016,8 +7016,7 @@
<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">
@@ -7038,7 +7037,6 @@
<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>
@@ -7048,11 +7046,6 @@
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">
@@ -7109,19 +7102,6 @@
</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>
More information about the Commit-Watchers
mailing list