- From: poot <cvsmail@w3.org>
- Date: Fri, 23 Oct 2009 09:14:38 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Tentatively drop HTMLCollection.tags() (e.g. document.images.tags()). (whatwg r4276) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3416&r2=1.3417&f=h http://html5.org/tools/web-apps-tracker?from=4275&to=4276 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3416 retrieving revision 1.3417 diff -u -d -r1.3416 -r1.3417 --- Overview.html 22 Oct 2009 23:45:35 -0000 1.3416 +++ Overview.html 23 Oct 2009 00:14:23 -0000 1.3417 @@ -216,7 +216,7 @@ <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> <!--ZZZ:--> <!--<h2 class="no-num no-toc">W3C Working Draft 25 August 2009</h2>--> - <h2 class="no-num no-toc" id="editor-s-draft-22-october-2009">Editor's Draft 22 October 2009</h2> + <h2 class="no-num no-toc" id="editor-s-draft-23-october-2009">Editor's Draft 23 October 2009</h2> <!--:ZZZ--> <dl><!-- ZZZ: update the month/day (twice), (un)comment out--><!-- <dt>This Version:</dt> @@ -318,7 +318,7 @@ track. <!--ZZZ:--> <!--This specification is the 25 August 2009 Working Draft.--> - This specification is the 22 October 2009 Editor's Draft. + This specification is the 23 October 2009 Editor's Draft. <!--:ZZZ--> </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of) @@ -4974,8 +4974,11 @@ <a href="#collections" title="collections">collection</a> of elements.<pre class="idl">interface <dfn id="htmlcollection">HTMLCollection</dfn> { readonly attribute unsigned long <a href="#dom-htmlcollection-length" title="dom-HTMLCollection-length">length</a>; caller getter Element <a href="#dom-htmlcollection-item" title="dom-HTMLCollection-item">item</a>(in unsigned long index); - caller getter Element <a href="#dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem">namedItem</a>(in DOMString name); - <a href="#htmlallcollection">HTMLAllCollection</a> <a href="#dom-htmlcollection-tags" title="dom-HTMLCollection-tags">tags</a>(in DOMString tagName); + caller getter Element <a href="#dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem">namedItem</a>(in DOMString name);<!-- + (removed on the assuption that browsers will remove support:) + https://bugs.webkit.org/show_bug.cgi?id=30695 + https://bugs.opera.com/browse/CORE-25171 + <span>HTMLAllCollection</span> <span title="dom-HTMLCollection-tags">tags</span>(in DOMString tagName);--> };</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLCollection-length"><a href="#dom-htmlcollection-length">length</a></code></dt> <dd> <p>Returns the number of elements in the collection.</p> @@ -5002,12 +5005,12 @@ <code><a href="#the-object-element">object</a></code> elements can have a name for the purpose of this 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-HTMLCollection-tags"><a href="#dom-htmlcollection-tags">tags</a></code>(<var title="">tagName</var>)</dt> +<!--(see IDL) + <dt><var title="">collection</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-tags">tags</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"> <hr><p>The object's <span>indices of the supported indexed @@ -5047,16 +5050,17 @@ </ul><p>If no such elements are found, then the method must return null.</p> - - <p>The <dfn id="dom-htmlcollection-tags" title="dom-HTMLCollection-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="#htmlcollection">HTMLCollection</a></code> object on which the method was invoked, - whose filter matches only <a href="#html-elements">HTML elements</a> whose local +<!--(see IDL) + <p>The <dfn title="dom-HTMLCollection-tags"><code>tags(<var + title="">tagName</var>)</code></dfn> method must return an + <code>HTMLAllCollection</code> rooted at the same node as the + <code>HTMLCollection</code> object on which the method was invoked, + whose filter matches only <span>HTML elements</span> whose local name is the <var title="">tagName</var> argument and that already - match the filter of the <code><a href="#htmlcollection">HTMLCollection</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> - + match the filter of the <code>HTMLCollection</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> +--> </div><h5 id="htmlallcollection-0"><span class="secno">2.7.2.2 </span>HTMLAllCollection</h5><p>The <code><a href="#htmlallcollection">HTMLAllCollection</a></code> interface represents a generic <a href="#collections" title="collections">collection</a> of elements just like <code><a href="#htmlcollection">HTMLCollection</a></code>, with the exception that its <code title="dom-HTMLAllCollection-namedItem"><a href="#dom-htmlallcollection-nameditem">namedItem()</a></code> method
Received on Friday, 23 October 2009 00:15:10 UTC