- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 11 May 2009 23:39:00 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30931
Modified Files:
Overview.html
Log Message:
Generate a triple for each top-level item, so that they can be enumerated easily. (whatwg r3089)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2246
retrieving revision 1.2247
diff -u -d -r1.2246 -r1.2247
--- Overview.html 11 May 2009 23:28:12 -0000 1.2246
+++ Overview.html 11 May 2009 23:38:57 -0000 1.2247
@@ -36299,7 +36299,7 @@
<p>The outer item in this example is a top-level microdata
item.</p>
- </div><p>Properties don't have to be given as ancestors of the element
+ </div><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
@@ -36926,10 +36926,26 @@
<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
Received on Monday, 11 May 2009 23:39:09 UTC