- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 25 Nov 2008 21:39:34 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv28788
Modified Files:
Overview.html
Log Message:
clarify use cases for <time> (whatwg r2444)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1615
retrieving revision 1.1616
diff -u -d -r1.1615 -r1.1616
--- Overview.html 25 Nov 2008 20:48:27 -0000 1.1615
+++ Overview.html 25 Nov 2008 21:39:31 -0000 1.1616
@@ -10054,7 +10054,8 @@
readonly attribute <a href=#domtimestamp>DOMTimeStamp</a> <a href=#dom-time-timezone title=dom-time-timezone>timezone</a>;
};</pre>
</dd>
- </dl><p>The <code><a href=#the-time-element>time</a></code> element represents a date and/or a time.<p>The <dfn id=attr-time-datetime title=attr-time-datetime><code>datetime</code></dfn>
+ </dl><p>The <code><a href=#the-time-element>time</a></code> element represents a precise date and/or a
+ time in the proleptic Gregorian calendar. <a href=#references>[GREGORIAN]</a><p>The <dfn id=attr-time-datetime title=attr-time-datetime><code>datetime</code></dfn>
attribute, if present, must contain a <a href=#valid-date-or-time-string>valid date or time
string</a> that identifies the date or time being specified.<p>If the <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute
is not present, then the date or time must be specified in the
@@ -10128,7 +10129,11 @@
value 28,800,000ms, and the <code title=dom-time-timezone><a href=#dom-time-timezone>timezone</a></code> attribute would return
null.</p>
- </div><h4 id=the-progress-element><span class=secno>4.6.11 </span>The <dfn><code>progress</code></dfn> element</h4><dl class=element><dt>Categories</dt>
+ </div><p class=note>The <code><a href=#the-time-element>time</a></code> element is not intended for
+ encoding times for which a precise date or time cannot be
+ established. For example, it would be inappropriate for encoding
+ times like "one millisecond after the big bang", "the early part of
+ the Jurassic period", or "a winter around 250 BCE".<h4 id=the-progress-element><span class=secno>4.6.11 </span>The <dfn><code>progress</code></dfn> element</h4><dl class=element><dt>Categories</dt>
<dd><a href=#phrasing-content-0>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#phrasing-content-0>phrasing content</a> is expected.</dd>
Received on Tuesday, 25 November 2008 21:39:42 UTC