- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 13 Oct 2011 17:06:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/md In directory hutz:/tmp/cvs-serv30060 Modified Files: Overview.html Log Message: Consistency between getItems() and getElementsByClassName() (whatwg r6680) Index: Overview.html =================================================================== RCS file: /sources/public/html5/md/Overview.html,v retrieving revision 1.167 retrieving revision 1.168 diff -u -d -r1.167 -r1.168 --- Overview.html 12 Oct 2011 19:32:02 -0000 1.167 +++ Overview.html 13 Oct 2011 17:06:53 -0000 1.168 @@ -320,7 +320,7 @@ <h1>HTML Microdata</h1> <h2 class="no-num no-toc" id="generatedID"></h2> - <h2 class="no-num no-toc" id="editor-s-draft-12-october-2011">Editor's Draft 12 October 2011</h2> + <h2 class="no-num no-toc" id="editor-s-draft-13-october-2011">Editor's Draft 13 October 2011</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/microdata/">http://www.w3.org/TR/microdata/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -454,7 +454,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 12 October 2011 Editor's Draft. + This specification is the 13 October 2011 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</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 --><p>This specification is an extension to the HTML5 language. All @@ -1409,7 +1409,7 @@ <dd> - <p>Returns a <code>NodeList</code> of the elements in the <code>Document</code> that create <a href="#concept-item" title="concept-item">items</a>, that are not part of other <a href="#concept-item" title="concept-item">items</a>, and that are of one of the types given in the argument, if any are listed.</p> + <p>Returns a <code>NodeList</code> of the elements in the <code>Document</code> that create <a href="#concept-item" title="concept-item">items</a>, that are not part of other <a href="#concept-item" title="concept-item">items</a>, and that are of the types given in the argument, if any are listed.</p> <p>The <var title="">types</var> argument is interpreted as a space-separated list of types.</p> @@ -1447,22 +1447,23 @@ representing types. When called, the method must return a <span>live</span> <code>NodeList</code> object containing all the elements in the document, in <a href="#tree-order">tree order</a>, that are each - <a href="#top-level-microdata-items">top-level microdata items</a> with one of their <a href="#item-types" title="item types">types</a> equal to one of the types specified - in that argument, having obtained the types by <a href="#split-a-string-on-spaces" title="split a - string on spaces">splitting the string on spaces</a>. If there - are no tokens specified in the argument, or if the argument is - missing, then the method must return a <code>NodeList</code> - containing all the <a href="#top-level-microdata-items">top-level microdata items</a> in the - document. When the method is invoked on a <code>Document</code> - object again with the same argument, the user agent may return the - same object as the object returned by the earlier call. In other - cases, a new <code>NodeList</code> object must be returned.</p> + <a href="#top-level-microdata-items">top-level microdata items</a> whose <a href="#item-types" title="item + types">types</a> include all the types specified in the method's + argument, having obtained the types by <a href="#split-a-string-on-spaces" title="split a string + on spaces">splitting the string on spaces</a>. If there are no + tokens specified in the argument, or if the argument is missing, + then the method must return a <code>NodeList</code> containing all + the <a href="#top-level-microdata-items">top-level microdata items</a> in the document. When the + method is invoked on a <code>Document</code> object again with the + same argument, the user agent may return the same object as the + object returned by the earlier call. In other cases, a new + <code>NodeList</code> object must be returned.</p> <p class="note">Since a token in the <code title="attr-itemtype"><a href="#attr-itemtype">itemtype</a></code> attribute that is not an <a href="#absolute-url">absolute URL</a> is not considered to be one of the item's <a href="#item-types">item types</a>, any tokens passed to <code title="dom-document-getItems"><a href="#dom-document-getitems">getItems()</a></code> that are not - themselves <a href="#absolute-url" title="absolute URL">absolute URLs</a> will not - find any items.</p> + themselves <a href="#absolute-url" title="absolute URL">absolute URLs</a> will + cause the method to return an empty <code>NodeList</code>.</p> <p>The <dfn id="dom-itemscope" title="dom-itemScope"><code>itemScope</code></dfn> IDL attribute on <a href="#html-elements">HTML elements</a> must <a href="#reflect">reflect</a>
Received on Thursday, 13 October 2011 17:06:57 UTC