- From: poot <cvsmail@w3.org>
- Date: Sat, 25 Apr 2009 15:05:37 +0900 (JST)
- To: public-html-diffs@w3.org
Make an empty <time> render the attribute value in a locale-specific manner. (whatwg r2981) 10.4.19 The time element http://people.w3.org/mike/diffs/html5/spec/Overview.1.2145.html#the-time-element-0 10.4.18 The keygen element http://people.w3.org/mike/diffs/html5/spec/Overview.1.2145.html#the-keygen-element-0 10.5 Frames and framesets http://people.w3.org/mike/diffs/html5/spec/Overview.1.2145.html#frames-and-framesets datetime http://people.w3.org/mike/diffs/html5/spec/Overview.1.2145.html#attr-time-datetime http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2144&r2=1.2145&f=h http://html5.org/tools/web-apps-tracker?from=2980&to=2981 =================================================================== 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:06:14 UTC