html5/md Overview.html,1.176,1.177

Update of /sources/public/html5/md
In directory hutz:/tmp/cvs-serv5116

Modified Files:
	Overview.html 
Log Message:
the <time> element is dead, long live the <time> element (whatwg r6827)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/md/Overview.html,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -d -r1.176 -r1.177
--- Overview.html	2 Nov 2011 17:02:34 -0000	1.176
+++ Overview.html	18 Nov 2011 19:44:09 -0000	1.177
@@ -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-2-november-2011">Editor's Draft 2 November 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-18-november-2011">Editor's Draft 18 November 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 2 November 2011 Editor's Draft.
+  This specification is the 18 November 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
@@ -703,11 +703,23 @@
   <code>data</code> element, with the human-readable version given in
   the element's contents.<div class="example">
 
+   <p>Here, there is an item with a property whose value is a product
+   ID. The ID is not human-friendly, so the product's name is used
+   the human-visible text instead of the ID.</p>
+
+   <pre>&lt;h1 itemscope&gt;
+ &lt;data itemprop="product-id" value="9678AOU879"&gt;The Instigator 2000&lt;/data&gt;
+&lt;/h1&gt;</pre>
+
+  </div><p>For date- and time-related data, the <code>time</code> element
+  and its <code title="attr-time-datetime">datetime</code> attribute
+  can be used instead.<div class="example">
+
    <p>In this example, the item has one property, "birthday", whose
    value is a date:</p>
 
    <pre>&lt;div itemscope&gt;
- I was born on &lt;data itemprop="birthday" value="2009-05-10"&gt;May 10th 2009&lt;/data&gt;.
+ I was born on &lt;time itemprop="birthday" datetime="2009-05-10"&gt;May 10th 2009&lt;/time&gt;.
 &lt;/div&gt;</pre>
 
   </div><p>Properties can also themselves be groups of name-value pairs, by
@@ -865,7 +877,7 @@
  &lt;dt&gt;Author
  &lt;dd itemprop="author"&gt;Peter F. Hamilton
  &lt;dt&gt;Publication date
- &lt;dd&gt;&lt;data itemprop="pubdate" value="1996-01-26"&gt;26 January 1996&lt;/data&gt;
+ &lt;dd&gt;&lt;time itemprop="pubdate" datetime="1996-01-26"&gt;26 January 1996&lt;/time&gt;
 &lt;/dl&gt;</pre>
 
    <p>The "<code title="">http://vocab.example.net/book</code>"
@@ -1330,6 +1342,12 @@
    the empty string otherwise.</dd>
 
 
+   <dt>If the element is a <code>time</code> element</dt>
+
+   <dd><p>The value is the element's <span>datetime
+   value</span>.</dd>
+
+
    <dt>Otherwise</dt>
 
    <dd><p>The value is the element's
@@ -1615,6 +1633,15 @@
    <dd><p>The attribute must act as it would if it was <a href="#reflect" title="reflect">reflecting</a> the element's <code title="attr-data-value">value</code> content attribute.</dd>
 
 
+   <dt>If the element is a <code>time</code> element</dt>
+
+   <dd><p>On getting, if the element has a <code title="attr-time-datetime">datetime</code> content attribute, the
+   IDL attribute must return that content attribute's value;
+   otherwise, it must return the element's <code>textContent</code>.
+   On setting, the IDL attribute must act as it would if it was <a href="#reflect" title="reflect">reflecting</a> the element's <code title="attr-time-datetime">datetime</code> content
+   attribute.</dd>
+
+
    <dt>Otherwise</dt>
 
    <dd><p>The attribute must act the same as the element's

Received on Friday, 18 November 2011 19:44:17 UTC