W3C home > Mailing lists > Public > public-html-diffs@w3.org > June 2011

microdata; hixie: Simplify the non-normative descriptions of index getters to avoid confusing readers (the specifics of edge cases are rather subtle). (whatwg r6223)

From: poot <cvsmail@w3.org>
Date: Fri, 17 Jun 2011 05:52:36 -0400
To: public-html-diffs@w3.org
Message-Id: <E1QXVjA-0004kH-EC@jay.w3.org>
microdata; hixie: Simplify the non-normative descriptions of index
getters to avoid confusing readers (the specifics of edge cases are
rather subtle). (whatwg r6223)

http://dev.w3.org/cvsweb/html5/md/Overview.html?r1=1.136&r2=1.137&f=h
http://html5.org/tools/web-apps-tracker?from=6222&to=6223

===================================================================
RCS file: /sources/public/html5/md/Overview.html,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- Overview.html	13 Jun 2011 23:39:13 -0000	1.136
+++ Overview.html	14 Jun 2011 21:56:16 -0000	1.137
@@ -318,7 +318,7 @@
 
    <h1>HTML Microdata</h1>
    <h2 class="no-num no-toc" id="generatedID"></h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-13-june-2011">Editor's Draft 13 June 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-14-june-2011">Editor's Draft 14 June 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>
@@ -452,7 +452,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 13 June 2011 Editor's Draft.
+  This specification is the 14 June 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
@@ -573,16 +573,19 @@
    <dt><var title="">collection</var>(<var title="">index</var>)</dt>
    <dd>
     <p>Returns the element with index <var title="">index</var> from the collection. The items are sorted in <a href="#tree-order">tree order</a>.</p>
-    <p>Returns null if <var title="">index</var> is out of range.</p>
    </dd>
 
    <dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title="dom-HTMLPropertiesCollection-namedItem"><a href="#dom-htmlpropertiescollection-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 a <code><a href="#propertynodelist">PropertyNodeList</a></code> object containing any elements that add a property named <var title="">name</var>.</p>
    </dd>
 
+   <dt><var title="">collection</var>[<var title="">name</var>]</dt>
+   <dd>
+    <p>Returns a <code><a href="#propertynodelist">PropertyNodeList</a></code> object containing any elements that add a property named <var title="">name</var>. The <var title="">name</var> index has to be one of the values listed in the <code title="dom-HTMLPropertiesCollection-names"><a href="#dom-htmlpropertiescollection-names">names</a></code> list.</p>
+   </dd>
+
    <dt><var title="">collection</var> . <code title="dom-HTMLPropertiesCollection-names"><a href="#dom-htmlpropertiescollection-names">names</a></code></dt>
    <dd>
     <p>Returns a <code>DOMStringList</code> with the <a href="#property-names">property names</a> of the elements in the collection.</p>
Received on Friday, 17 June 2011 09:52:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 17 June 2011 09:52:42 GMT