[html5] r3089 - [t] (0) Generate a triple for each top-level item, so that they can be enumerate [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon May 11 16:40:08 PDT 2009


Author: ianh
Date: 2009-05-11 16:40:08 -0700 (Mon, 11 May 2009)
New Revision: 3089

Modified:
   index
   source
Log:
[t] (0) Generate a triple for each top-level item, so that they can be enumerated easily.

Modified: index
===================================================================
--- index	2009-05-11 23:29:23 UTC (rev 3088)
+++ index	2009-05-11 23:40:08 UTC (rev 3089)
@@ -40704,7 +40704,7 @@
 
   </div>
 
-  <p>Properties don't have to be given as ancestors of the element
+  <p>Properties don't have to be given as descendents of the element
   with the <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute. They can be
   associated with a specific <a href=#concept-item title=concept-item>item</a>
   using the <code title=attr-subject><a href=#attr-subject>subject</a></code> attribute, which
@@ -41469,11 +41469,27 @@
    <li>
 
     <p>For each element that is also a <a href=#top-level-microdata-items title="top-level
-    microdata items">top-level microdata item</a>, <a href=#generate-the-triples-for-an-item title="generate the triples for an item">generate the triples for
-    the item</a>. (Nothing is done with the returned subject.)</p>
+    microdata items">top-level microdata item</a>, run the following steps:</p>
 
-   </li>
+    <ol><li>
 
+      <p><a href=#generate-the-triples-for-an-item title="generate the triples for an item">Generate the
+      triples for the item</a>. Let <var title="">item</var> be the
+      subject returned.</p>
+
+     </li>
+
+     <li>
+
+      <p>Generate the following triple:</p>
+
+      <dl class=triple><dt>subject   <dd> <a href="#the-document's-current-address">the document's current address</a>
+       <dt>predicate <dd> <code title="">http://www.w3.org/1999/xhtml/vocab#item</code>
+       <dt>object    <dd> <var title="">item</var>
+      </dl></li>
+
+    </ol></li>
+
   </ol><p>When the user agent is to <dfn id=generate-the-triples-for-an-item>generate the triples for an
   item</dfn> <var title="">item</var>, it must follow the following
   steps:</p>

Modified: source
===================================================================
--- source	2009-05-11 23:29:23 UTC (rev 3088)
+++ source	2009-05-11 23:40:08 UTC (rev 3089)
@@ -45921,7 +45921,7 @@
 
   </div>
 
-  <p>Properties don't have to be given as ancestors of the element
+  <p>Properties don't have to be given as descendents of the element
   with the <code title="attr-item">item</code> attribute. They can be
   associated with a specific <span title="concept-item">item</span>
   using the <code title="attr-subject">subject</code> attribute, which
@@ -46838,10 +46838,32 @@
    <li>
 
     <p>For each element that is also a <span title="top-level
-    microdata items">top-level microdata item</span>, <span
-    title="generate the triples for an item">generate the triples for
-    the item</span>. (Nothing is done with the returned subject.)</p>
+    microdata items">top-level microdata item</span>, run the following steps:</p>
 
+    <ol>
+
+     <li>
+
+      <p><span title="generate the triples for an item">Generate the
+      triples for the item</span>. Let <var title="">item</var> be the
+      subject returned.</p>
+
+     </li>
+
+     <li>
+
+      <p>Generate the following triple:</p>
+
+      <dl class="triple">
+       <dt>subject   <dd> <span>the document's current address</span>
+       <dt>predicate <dd> <code title="">http://www.w3.org/1999/xhtml/vocab#item</code>
+       <dt>object    <dd> <var title="">item</var>
+      </dl>
+
+     </li>
+
+    </ol>
+
    </li>
 
   </ol>




More information about the Commit-Watchers mailing list