W3C home > Mailing lists > Public > public-html-commits@w3.org > April 2009

html5/spec Overview.html,1.2144,1.2145

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 25 Apr 2009 06:04:00 +0000
To: public-html-commits@w3.org
Message-Id: <E1LxazY-0005cl-Mg@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv21605

Modified Files:
	Overview.html 
Log Message:
Make an empty <time> render the attribute value in a locale-specific manner. (whatwg r2981)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2144
retrieving revision 1.2145
diff -u -d -r1.2144 -r1.2145
--- Overview.html	25 Apr 2009 01:35:48 -0000	1.2144
+++ Overview.html	25 Apr 2009 06:03:57 -0000	1.2145
@@ -1070,7 +1070,8 @@
      <li><a href="#the-progress-element-0"><span class="secno">10.4.15 </span>The <code>progress</code> element</a></li>
      <li><a href="#the-select-element-0"><span class="secno">10.4.16 </span>The <code>select</code> element</a></li>
      <li><a href="#the-textarea-element-0"><span class="secno">10.4.17 </span>The <code>textarea</code> element</a></li>
-     <li><a href="#the-keygen-element-0"><span class="secno">10.4.18 </span>The <code>keygen</code> element</a></ol></li>
+     <li><a href="#the-keygen-element-0"><span class="secno">10.4.18 </span>The <code>keygen</code> element</a></li>
+     <li><a href="#the-time-element-0"><span class="secno">10.4.19 </span>The <code>time</code> element</a></ol></li>
    <li><a href="#frames-and-framesets"><span class="secno">10.5 </span>Frames and framesets</a></li>
    <li><a href="#interactive-media"><span class="secno">10.6 </span>Interactive media</a>
     <ol>
@@ -12872,7 +12873,10 @@
   content of the element, such that the element's
   <code><a href="#textcontent">textContent</a></code> is a <a href="#valid-date-or-time-string-in-content">valid date or time string in
   content</a>, and the date, if any, must be expressed using the
-  Gregorian calendar.<div class="example">
+  Gregorian calendar.<p>If the <code title="attr-time-datetime"><a href="#attr-time-datetime">datetime</a></code> attribute
+  is present, then the element may be empty, in which case the user
+  agent should convey the attribute's value to the user when rendering
+  the element.<div class="example">
 
    <p>The <code><a href="#the-time-element">time</a></code> element can be used to encode dates, for
    example in Microformats. The following shows a hypothetical way of
@@ -57122,6 +57126,20 @@
 
 
 
+  <h4 id="the-time-element-0"><span class="secno">10.4.19 </span>The <code><a href="#the-time-element">time</a></code> element</h4>
+
+  <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
+
+time:empty { binding: <i title="">time</i>; }</pre>
+
+  <p>When the <i title="">time</i> binding applies to a
+  <code><a href="#the-time-element">time</a></code> element, the element is expected to render as if
+  it contained text conveying the <a href="#concept-time-date" title="concept-time-date">date</a> (if known), <a href="#concept-time-time" title="concept-time-time">time</a> (if known), and <a href="#concept-time-timezone" title="concept-time-timezone">time zone</a> (if known)
+  represented by the element, in the fashion most convenient for the
+  user.</p>
+
+
+
   <h3 id="frames-and-framesets"><span class="secno">10.5 </span>Frames and framesets</h3>
 
   <p>When an <code><a href="#the-html-element">html</a></code> element's second child element is a
Received on Saturday, 25 April 2009 06:04:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 25 April 2009 06:04:15 GMT