[html5] r6854 - [e] (0) Try to clarify that an element with an empty itemprop='' doesn't get lis [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Dec 8 13:04:43 PST 2011


Author: ianh
Date: 2011-12-08 13:04:41 -0800 (Thu, 08 Dec 2011)
New Revision: 6854

Modified:
   complete.html
   index
   source
Log:
[e] (0) Try to clarify that an element with an empty itemprop='' doesn't get listed in the .properties list.
Affected topics: Microdata

Modified: complete.html
===================================================================
--- complete.html	2011-12-07 23:36:15 UTC (rev 6853)
+++ complete.html	2011-12-08 21:04:41 UTC (rev 6854)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 7 December 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 8 December 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -57414,7 +57414,9 @@
   element <var title="">root</var>, the user agent must run the
   following steps. These steps are also used to flag <a href=#microdata-error title="microdata error">microdata errors</a>.</p>
 
-  <ol><li><p>Let <var title="">results</var>, <var title="">memory</var>, and <var title="">pending</var> be empty lists of elements.</li>
+  <ol><li><p>Let <var title="">results</var>, <var title="">memory</var>,
+   and <var title="">pending</var> be empty lists of
+   elements.</li>
 
    <li><p>Add the element <var title="">root</var> to <var title="">memory</var>.</li>
 
@@ -57444,8 +57446,9 @@
    then: add all the child elements of <var title="">current</var> to
    <var title="">pending</var>.</li>
 
-   <li><p>If <var title="">current</var> has an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute specified, add it
-   to <var title="">results</var>.</li>
+   <li><p>If <var title="">current</var> has an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute specified and the
+   element has one or more <a href=#property-names>property names</a>, then add the
+   element to <var title="">results</var>.</li>
 
    <li><p>Return to the step labeled <i>loop</i>.</li>
 
@@ -57630,9 +57633,9 @@
   attribute on <a href=#html-elements>HTML elements</a> must return an
   <code><a href=#htmlpropertiescollection>HTMLPropertiesCollection</a></code> rooted at the
   <code><a href=#document>Document</a></code> node, whose filter matches only elements that
-  have <a href=#property-names>property names</a> and are <a href=#the-properties-of-an-item title="the properties
-  of an item">the properties of the item</a> created by the element
-  on which the attribute was invoked, while that element is an <a href=#concept-item title=concept-item>item</a>, and matches nothing the rest of
+  are <a href=#the-properties-of-an-item title="the properties of an item">the properties of the
+  item</a> created by the element on which the attribute was
+  invoked, while that element is an <a href=#concept-item title=concept-item>item</a>, and matches nothing the rest of
   the time.</p>
 
   <p>The <dfn id=dom-itemvalue title=dom-itemValue><code>itemValue</code></dfn> IDL

Modified: index
===================================================================
--- index	2011-12-07 23:36:15 UTC (rev 6853)
+++ index	2011-12-08 21:04:41 UTC (rev 6854)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 7 December 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 8 December 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -57414,7 +57414,9 @@
   element <var title="">root</var>, the user agent must run the
   following steps. These steps are also used to flag <a href=#microdata-error title="microdata error">microdata errors</a>.</p>
 
-  <ol><li><p>Let <var title="">results</var>, <var title="">memory</var>, and <var title="">pending</var> be empty lists of elements.</li>
+  <ol><li><p>Let <var title="">results</var>, <var title="">memory</var>,
+   and <var title="">pending</var> be empty lists of
+   elements.</li>
 
    <li><p>Add the element <var title="">root</var> to <var title="">memory</var>.</li>
 
@@ -57444,8 +57446,9 @@
    then: add all the child elements of <var title="">current</var> to
    <var title="">pending</var>.</li>
 
-   <li><p>If <var title="">current</var> has an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute specified, add it
-   to <var title="">results</var>.</li>
+   <li><p>If <var title="">current</var> has an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute specified and the
+   element has one or more <a href=#property-names>property names</a>, then add the
+   element to <var title="">results</var>.</li>
 
    <li><p>Return to the step labeled <i>loop</i>.</li>
 
@@ -57630,9 +57633,9 @@
   attribute on <a href=#html-elements>HTML elements</a> must return an
   <code><a href=#htmlpropertiescollection>HTMLPropertiesCollection</a></code> rooted at the
   <code><a href=#document>Document</a></code> node, whose filter matches only elements that
-  have <a href=#property-names>property names</a> and are <a href=#the-properties-of-an-item title="the properties
-  of an item">the properties of the item</a> created by the element
-  on which the attribute was invoked, while that element is an <a href=#concept-item title=concept-item>item</a>, and matches nothing the rest of
+  are <a href=#the-properties-of-an-item title="the properties of an item">the properties of the
+  item</a> created by the element on which the attribute was
+  invoked, while that element is an <a href=#concept-item title=concept-item>item</a>, and matches nothing the rest of
   the time.</p>
 
   <p>The <dfn id=dom-itemvalue title=dom-itemValue><code>itemValue</code></dfn> IDL

Modified: source
===================================================================
--- source	2011-12-07 23:36:15 UTC (rev 6853)
+++ source	2011-12-08 21:04:41 UTC (rev 6854)
@@ -66960,8 +66960,9 @@
 
   <ol>
 
-   <li><p>Let <var title="">results</var>, <var title="">memory</var>, and <var
-   title="">pending</var> be empty lists of elements.</p></li>
+   <li><p>Let <var title="">results</var>, <var title="">memory</var>,
+   and <var title="">pending</var> be empty lists of
+   elements.</p></li>
 
    <li><p>Add the element <var title="">root</var> to <var
    title="">memory</var>.</p></li>
@@ -66997,8 +66998,9 @@
    <var title="">pending</var>.</p></li>
 
    <li><p>If <var title="">current</var> has an <code
-   title="attr-itemprop">itemprop</code> attribute specified, add it
-   to <var title="">results</var>.</p></li>
+   title="attr-itemprop">itemprop</code> attribute specified and the
+   element has one or more <span>property names</span>, then add the
+   element to <var title="">results</var>.</p></li>
 
    <li><p>Return to the step labeled <i>loop</i>.</p></li>
 
@@ -67233,9 +67235,9 @@
   attribute on <span>HTML elements</span> must return an
   <code>HTMLPropertiesCollection</code> rooted at the
   <code>Document</code> node, whose filter matches only elements that
-  have <span>property names</span> and are <span title="the properties
-  of an item">the properties of the item</span> created by the element
-  on which the attribute was invoked, while that element is an <span
+  are <span title="the properties of an item">the properties of the
+  item</span> created by the element on which the attribute was
+  invoked, while that element is an <span
   title="concept-item">item</span>, and matches nothing the rest of
   the time.</p>
 




More information about the Commit-Watchers mailing list