- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 29 Aug 2009 00:56:52 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv20635
Modified Files:
Overview.html acknowledgements.html browsers.html comms.html
dom.html editing.html embedded-content-0.html forms.html
history.html iana-considerations.html index.html
infrastructure.html interactive-elements.html
introduction.html microdata.html
named-character-references.html no.html obsolete.html
offline.html references.html semantics.html spec.html
syntax.html tabular-data.html text-level-semantics.html
the-canvas-element.html the-xhtml-syntax.html video.html
Log Message:
Move <time> away from <meter>. (whatwg r3693)
[updated by splitter]
Index: infrastructure.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- infrastructure.html 29 Aug 2009 00:47:26 -0000 1.9
+++ infrastructure.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="introduction.html">← 1 Introduction</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: text-level-semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- text-level-semantics.html 29 Aug 2009 00:47:26 -0000 1.9
+++ text-level-semantics.html 29 Aug 2009 00:56:50 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="semantics.html">← 4 The elements of HTML</a> –
<a href="Overview.html#contents">Table of contents</a> –
@@ -624,7 +624,7 @@
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href="dom.html#phrasing-content">phrasing content</a> is expected.</dd>
<dt>Content model:</dt>
- <dd><a href="dom.html#phrasing-content">Phrasing content</a>, but there must be no descendant <code><a href="#the-dfn-element">dfn</a></code> elements.</dd>
+ <dd><a href="dom.html#phrasing-content">Phrasing content</a>, but there must be no <code><a href="#the-dfn-element">dfn</a></code> element descendants.</dd>
<dt>Content attributes:</dt>
<dd><a href="dom.html#global-attributes">Global attributes</a></dd>
<dd>Also, the <code title="attr-dfn-title"><a href="#attr-dfn-title">title</a></code> attribute has special semantics on this element.</dd>
@@ -760,7 +760,184 @@
cause other <code><a href="#the-abbr-element">abbr</a></code> elements in the same document with the
same contents but without a <code title="attr-title"><a href="dom.html#the-title-attribute">title</a></code>
attribute to behave as if they had the same expansion. Every
- <code><a href="#the-abbr-element">abbr</a></code> element is independent.</p><h4 id="the-code-element"><span class="secno">4.6.9 </span>The <dfn><code>code</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
+ <code><a href="#the-abbr-element">abbr</a></code> element is independent.</p><h4 id="the-time-element"><span class="secno">4.6.9 </span>The <dfn><code>time</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class="element"><dt>Categories</dt>
+ <dd><a href="dom.html#flow-content">Flow content</a>.</dd>
+ <dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
+ <dt>Contexts in which this element may be used:</dt>
+ <dd>Where <a href="dom.html#phrasing-content">phrasing content</a> is expected.</dd>
+ <dt>Content model:</dt>
+ <dd><a href="dom.html#phrasing-content">Phrasing content</a>, but there must be no <code><a href="#the-time-element">time</a></code> element descendants.</dd>
+ <dt>Content attributes:</dt>
+ <dd><a href="dom.html#global-attributes">Global attributes</a></dd>
+ <dd><code title="attr-time-datetime"><a href="#attr-time-datetime">datetime</a></code></dd>
+ <dt>DOM interface:</dt>
+ <dd>
+<pre class="idl">interface <dfn id="htmltimeelement">HTMLTimeElement</dfn> : <a href="dom.html#htmlelement">HTMLElement</a> {
+ attribute DOMString <a href="#dom-time-datetime" title="dom-time-datetime">dateTime</a>;
+ readonly attribute <span>Date</span> <a href="#dom-time-date" title="dom-time-date">date</a>;
+ readonly attribute <span>Date</span> <a href="#dom-time-time" title="dom-time-time">time</a>;
+ readonly attribute <span>Date</span> <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 <a href="#represents">represents</a> either a
+ time on a 24 hour clock, or a precise date in the proleptic
+ Gregorian calendar, optionally with a time and a time-zone
+ offset. <a href="references.html#refsGREGORIAN">[GREGORIAN]</a></p><p>This element is intended as a way to encode modern dates and
+ times in a machine-readable way so that user agents can offer to add
+ them to the user's calendar. For example, adding birthday reminders
+ or scheduling events.</p><!-- it's also intended for restyling to local conventions
+ (2000-12-31 vs 31-12-2000 vs 12-31-2000), but CSS doesn't support
+ that yet. --><div class="note">
+
+ <p>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".</p>
+
+ <p>For dates before the introduction of the Gregorian calendar,
+ authors are encouraged to not use the <code><a href="#the-time-element">time</a></code> element, or
+ else to be very careful about converting dates and times from the
+ period to the Gregorian calendar. This is complicated by the manner
+ in which the Gregorian calendar was phased in, which occurred at
+ different times in different countries, ranging from partway
+ through the 16th century all the way to early in the 20th.</p>
+
+ </div><p>The <dfn id="attr-time-datetime" title="attr-time-datetime"><code>datetime</code></dfn>
+ attribute, if present, must contain a <a href="infrastructure.html#valid-date-or-time-string">valid date or time
+ string</a> that identifies the date or time being specified.</p><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
+ content of the element, such that the element's
+ <code>textContent</code> is a <a href="infrastructure.html#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.</p><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.</p><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
+ encoding an event using a variant on hCalendar that uses the
+ <code><a href="#the-time-element">time</a></code> element:</p>
+
+ <pre><div class="vevent">
+ <a class="url" href="http://www.web2con.com/">http://www.web2con.com/</a>
+ <span class="summary">Web 2.0 Conference</span>:
+ <time class="dtstart" datetime="2007-10-05">October 5</time> -
+ <time class="dtend" datetime="2007-10-20">19</time>,
+ at the <span class="location">Argent Hotel, San Francisco, CA</span>
+ </div></pre>
+
+ </div><div class="example">
+
+ <p>The <code><a href="#the-time-element">time</a></code> element is not necessary for encoding
+ dates or times. In the following snippet, the time is encoded using
+ <code><a href="#the-time-element">time</a></code>, so that it can be restyled (e.g. using XBL2) to
+ match local conventions, while the year is not marked up at all,
+ since marking it up would not be particularly useful.</p>
+
+ <pre><p>I usually have a snack at <time>16:00</time>.</p>
+<p>I've liked model trains since at least 1983.</p></pre>
+
+ <p>Using a styling technology that supports restyling times, the
+ first paragraph from the above snippet could be rendered as follows:</p>
+
+ <blockquote><p>I usually have a snack at 4pm.</p></blockquote>
+
+ <p>Or it could be rendered as follows:</p>
+
+ <blockquote><p>I usually have a snack at 16h00.</p></blockquote>
+
+ </div><dl class="domintro"><dt><var title="">time</var> . <code title="dom-time-date"><a href="#dom-time-date">date</a></code></dt>
+
+ <dd>
+
+ <p>Returns a <code>Date</code> object representing the date
+ component of the element's value, at midnight in the UTC
+ time zone.</p>
+
+ <p>Returns null if there is no date.</p>
+
+ </dd>
+
+ <dt><var title="">time</var> . <code title="dom-time-time"><a href="#dom-time-time">time</a></code></dt>
+
+ <dd>
+
+ <p>Returns a <code>Date</code> object representing the time
+ component of the element's value, on 1970-01-01 in the UTC
+ time zone.</p>
+
+ <p>Returns null if there is no time.</p>
+
+ </dd>
+
+ <dt><var title="">time</var> . <code title="dom-time-timezone"><a href="#dom-time-timezone">timezone</a></code></dt>
+
+ <dd>
+
+ <p>Returns a <code>Date</code> object representing the time
+ corresponding to 1970-01-01 00:00 UTC in the time zone given by the
+ element's value.</p>
+
+ <p>Returns null if there is no time zone.</p>
+
+ </dd>
+
+ </dl><div>
+
+ <p>The <dfn id="dom-time-date" title="dom-time-date"><code>date</code></dfn> DOM
+ attribute must return null if the <a href="#concept-time-date" title="concept-time-date">date</a> is unknown, and otherwise must
+ return the time corresponding to midnight UTC (i.e. the first
+ second) of the given <a href="#concept-time-date" title="concept-time-date">date</a>.</p>
+
+ <p>The <dfn id="dom-time-time" title="dom-time-time"><code>time</code></dfn> DOM attribute
+ must return null if the <a href="#concept-time-time" title="concept-time-time">time</a> is
+ unknown, and otherwise must return the time corresponding to the
+ given <a href="#concept-time-time" title="concept-time-time">time</a> of 1970-01-01, with
+ the time zone UTC.</p>
+
+ <p>The <dfn id="dom-time-timezone" title="dom-time-timezone"><code>timezone</code></dfn>
+ DOM attribute must return null if the <a href="#concept-time-timezone" title="concept-time-timezone">time-zone offset</a> is unknown,
+ and otherwise must return the time corresponding to 1970-01-01 00:00
+ UTC in the given <a href="#concept-time-timezone" title="concept-time-timezone">time-zone
+ offset</a>, with the time zone set to UTC (i.e. the time
+ corresponding to 1970-01-01 at 00:00 UTC plus the offset).</p>
+
+ </div><div class="example">
+
+ <p>In the following snippet:</p>
+
+ <pre><p>Our first date was <time datetime="2006-09-23">a Saturday</time>.</p></pre>
+
+ <p>...the <code><a href="#the-time-element">time</a></code> element's <code title="dom-time-date"><a href="#dom-time-date">date</a></code> attribute would have the value
+ 1,158,969,600,000ms, and the <code title="dom-time-time"><a href="#dom-time-time">time</a></code>
+ and <code title="dom-time-timezone"><a href="#dom-time-timezone">timezone</a></code> attributes would
+ return null.</p>
+
+
+ <p>In the following snippet:</p>
+
+ <pre><p>We stopped talking at <time datetime="2006-09-24T05:00-07:00">5am the next morning</time>.</p></pre>
+
+ <p>...the <code><a href="#the-time-element">time</a></code> element's <code title="dom-time-date"><a href="#dom-time-date">date</a></code> attribute would have the value
+ 1,159,056,000,000ms, the <code title="dom-time-time"><a href="#dom-time-time">time</a></code>
+ attribute would have the value 18,000,000ms, and the <code title="dom-time-timezone"><a href="#dom-time-timezone">timezone</a></code> attribute would return
+ −25,200,000ms. To obtain the actual time, the three attributes can
+ be added together, obtaining 1,159,048,800,000, which is the
+ specified date and time in UTC.</p>
+
+
+ <p>Finally, in the following snippet:</p>
+
+ <pre><p>Many people get up at <time>08:00</time>.</p></pre>
+
+ <p>...the <code><a href="#the-time-element">time</a></code> element's <code title="dom-time-date"><a href="#dom-time-date">date</a></code> attribute would have the value null,
+ the <code title="dom-time-time"><a href="#dom-time-time">time</a></code> attribute would have the
+ 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-code-element"><span class="secno">4.6.10 </span>The <dfn><code>code</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -809,7 +986,7 @@
<p>A class is used in that example to indicate the language
used.</p>
- </div><p class="note">See the <code><a href="semantics.html#the-pre-element">pre</a></code> element for more details.</p><h4 id="the-var-element"><span class="secno">4.6.10 </span>The <dfn><code>var</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
+ </div><p class="note">See the <code><a href="semantics.html#the-pre-element">pre</a></code> element for more details.</p><h4 id="the-var-element"><span class="secno">4.6.11 </span>The <dfn><code>var</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -856,7 +1033,7 @@
</figure></pre>
- </div><h4 id="the-samp-element"><span class="secno">4.6.11 </span>The <dfn><code>samp</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
+ </div><h4 id="the-samp-element"><span class="secno">4.6.12 </span>The <dfn><code>samp</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -885,7 +1062,7 @@
Linux demo 2.6.10-grsec+gg3+e+fhs6b+nfs+gr0501+++p3+c4a+gr2b-reslog-v6.189 #1 SMP Tue Feb 1 11:22:36 PST 2005 i686 unknown
<span class="prompt">jdoe@demo:~$</span> <span class="cursor">_</span></samp></pre></pre>
- </div><h4 id="the-kbd-element"><span class="secno">4.6.12 </span>The <dfn><code>kbd</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
+ </div><h4 id="the-kbd-element"><span class="secno">4.6.13 </span>The <dfn><code>kbd</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -923,7 +1100,7 @@
<pre><p>To make George eat an apple, select <kbd>File | Eat Apple...</kbd></p></pre>
- </div><h4 id="the-sub-and-sup-elements"><span class="secno">4.6.13 </span>The <dfn><code>sub</code></dfn> and <dfn><code>sup</code></dfn> elements</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
+ </div><h4 id="the-sub-and-sup-elements"><span class="secno">4.6.14 </span>The <dfn><code>sub</code></dfn> and <dfn><code>sup</code></dfn> elements</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which these elements may be used:</dt>
@@ -965,7 +1142,7 @@
detailed mathematical markup is not desired. <a href="references.html#refsMATHML">[MATHML]</a></p><div class="example">
<pre><var>E</var>=<var>m</var><var>c</var><sup>2</sup></pre>
<pre>f(<var>x</var>, <var>n</var>) = log<sub>4</sub><var>x</var><sup><var>n</var></sup></pre>
- </div><h4 id="the-i-element"><span class="secno">4.6.14 </span>The <dfn><code>i</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
+ </div><h4 id="the-i-element"><span class="secno">4.6.15 </span>The <dfn><code>i</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -1011,7 +1188,7 @@
up the defining instance of a term.</p><p class="note">Style sheets can be used to format <code><a href="#the-i-element">i</a></code>
elements, just like any other element can be restyled. Thus, it is
not the case that content in <code><a href="#the-i-element">i</a></code> elements will
- necessarily be italicized.</p><h4 id="the-b-element"><span class="secno">4.6.15 </span>The <dfn><code>b</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
+ necessarily be italicized.</p><h4 id="the-b-element"><span class="secno">4.6.16 </span>The <dfn><code>b</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -1062,7 +1239,7 @@
</div><p class="note">Style sheets can be used to format <code><a href="#the-b-element">b</a></code>
elements, just like any other element can be restyled. Thus, it is
not the case that content in <code><a href="#the-b-element">b</a></code> elements will
- necessarily be boldened.</p><h4 id="the-mark-element"><span class="secno">4.6.16 </span>The <dfn><code>mark</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class="element"><dt>Categories</dt>
+ necessarily be boldened.</p><h4 id="the-mark-element"><span class="secno">4.6.17 </span>The <dfn><code>mark</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -1182,13 +1359,13 @@
<p><mark>An obstruction in a gate will prevent it from accepting a
wormhole connection.</mark></p></pre>
- </div><h4 id="the-progress-element"><span class="secno">4.6.17 </span>The <dfn><code>progress</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class="element"><dt>Categories</dt>
+ </div><h4 id="the-progress-element"><span class="secno">4.6.18 </span>The <dfn><code>progress</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href="dom.html#phrasing-content">phrasing content</a> is expected.</dd>
<dt>Content model:</dt>
- <dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
+ <dd><a href="dom.html#phrasing-content">Phrasing content</a>, but there must be no <code><a href="#the-progress-element">progress</a></code> element descendants.</dd>
<dt>Content attributes:</dt>
<dd><a href="dom.html#global-attributes">Global attributes</a></dd>
<dd><code title="attr-progress-value"><a href="#attr-progress-value">value</a></code></dd>
@@ -1257,13 +1434,13 @@
attribute must return −1. Otherwise, it must return the result of
dividing the current value by the maximum value.</p>
- </div><h4 id="the-meter-element"><span class="secno">4.6.18 </span>The <dfn><code>meter</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><!-- Keep this after <progress> and NOT close to <time> --><dl class="element"><dt>Categories</dt>
+ </div><h4 id="the-meter-element"><span class="secno">4.6.19 </span>The <dfn><code>meter</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><!-- Keep this after <progress> and NOT close to <time> --><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href="dom.html#phrasing-content">phrasing content</a> is expected.</dd>
<dt>Content model:</dt>
- <dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
+ <dd><a href="dom.html#phrasing-content">Phrasing content</a>, but there must be no <code><a href="#the-meter-element">meter</a></code> element descendants.</dd>
<dt>Content attributes:</dt>
<dd><a href="dom.html#global-attributes">Global attributes</a></dd>
<dd><code title="attr-meter-value"><a href="#attr-meter-value">value</a></code></dd>
@@ -1425,183 +1602,6 @@
<dt>Height: <dd> <meter min=0 max=10 value=2 title="centimeters">2cm</meter>
</dl></pre>
- </div><h4 id="the-time-element"><span class="secno">4.6.19 </span>The <dfn><code>time</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class="element"><dt>Categories</dt>
- <dd><a href="dom.html#flow-content">Flow content</a>.</dd>
- <dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
- <dt>Contexts in which this element may be used:</dt>
- <dd>Where <a href="dom.html#phrasing-content">phrasing content</a> is expected.</dd>
- <dt>Content model:</dt>
- <dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
- <dt>Content attributes:</dt>
- <dd><a href="dom.html#global-attributes">Global attributes</a></dd>
- <dd><code title="attr-time-datetime"><a href="#attr-time-datetime">datetime</a></code></dd>
- <dt>DOM interface:</dt>
- <dd>
-<pre class="idl">interface <dfn id="htmltimeelement">HTMLTimeElement</dfn> : <a href="dom.html#htmlelement">HTMLElement</a> {
- attribute DOMString <a href="#dom-time-datetime" title="dom-time-datetime">dateTime</a>;
- readonly attribute <span>Date</span> <a href="#dom-time-date" title="dom-time-date">date</a>;
- readonly attribute <span>Date</span> <a href="#dom-time-time" title="dom-time-time">time</a>;
- readonly attribute <span>Date</span> <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 <a href="#represents">represents</a> either a
- time on a 24 hour clock, or a precise date in the proleptic
- Gregorian calendar, optionally with a time and a time-zone
- offset. <a href="references.html#refsGREGORIAN">[GREGORIAN]</a></p><p>This element is intended as a way to encode modern dates and
- times in a machine-readable way so that user agents can offer to add
- them to the user's calendar. For example, adding birthday reminders
- or scheduling events.</p><!-- it's also intended for restyling to local conventions
- (2000-12-31 vs 31-12-2000 vs 12-31-2000), but CSS doesn't support
- that yet. --><div class="note">
-
- <p>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".</p>
-
- <p>For dates before the introduction of the Gregorian calendar,
- authors are encouraged to not use the <code><a href="#the-time-element">time</a></code> element, or
- else to be very careful about converting dates and times from the
- period to the Gregorian calendar. This is complicated by the manner
- in which the Gregorian calendar was phased in, which occurred at
- different times in different countries, ranging from partway
- through the 16th century all the way to early in the 20th.</p>
-
- </div><p>The <dfn id="attr-time-datetime" title="attr-time-datetime"><code>datetime</code></dfn>
- attribute, if present, must contain a <a href="infrastructure.html#valid-date-or-time-string">valid date or time
- string</a> that identifies the date or time being specified.</p><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
- content of the element, such that the element's
- <code>textContent</code> is a <a href="infrastructure.html#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.</p><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.</p><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
- encoding an event using a variant on hCalendar that uses the
- <code><a href="#the-time-element">time</a></code> element:</p>
-
- <pre><div class="vevent">
- <a class="url" href="http://www.web2con.com/">http://www.web2con.com/</a>
- <span class="summary">Web 2.0 Conference</span>:
- <time class="dtstart" datetime="2007-10-05">October 5</time> -
- <time class="dtend" datetime="2007-10-20">19</time>,
- at the <span class="location">Argent Hotel, San Francisco, CA</span>
- </div></pre>
-
- </div><div class="example">
-
- <p>The <code><a href="#the-time-element">time</a></code> element is not necessary for encoding
- dates or times. In the following snippet, the time is encoded using
- <code><a href="#the-time-element">time</a></code>, so that it can be restyled (e.g. using XBL2) to
- match local conventions, while the year is not marked up at all,
- since marking it up would not be particularly useful.</p>
-
- <pre><p>I usually have a snack at <time>16:00</time>.</p>
-<p>I've liked model trains since at least 1983.</p></pre>
-
- <p>Using a styling technology that supports restyling times, the
- first paragraph from the above snippet could be rendered as follows:</p>
-
- <blockquote><p>I usually have a snack at 4pm.</p></blockquote>
-
- <p>Or it could be rendered as follows:</p>
-
- <blockquote><p>I usually have a snack at 16h00.</p></blockquote>
-
- </div><dl class="domintro"><dt><var title="">time</var> . <code title="dom-time-date"><a href="#dom-time-date">date</a></code></dt>
-
- <dd>
-
- <p>Returns a <code>Date</code> object representing the date
- component of the element's value, at midnight in the UTC
- time zone.</p>
-
- <p>Returns null if there is no date.</p>
-
- </dd>
-
- <dt><var title="">time</var> . <code title="dom-time-time"><a href="#dom-time-time">time</a></code></dt>
-
- <dd>
-
- <p>Returns a <code>Date</code> object representing the time
- component of the element's value, on 1970-01-01 in the UTC
- time zone.</p>
-
- <p>Returns null if there is no time.</p>
-
- </dd>
-
- <dt><var title="">time</var> . <code title="dom-time-timezone"><a href="#dom-time-timezone">timezone</a></code></dt>
-
- <dd>
-
- <p>Returns a <code>Date</code> object representing the time
- corresponding to 1970-01-01 00:00 UTC in the time zone given by the
- element's value.</p>
-
- <p>Returns null if there is no time zone.</p>
-
- </dd>
-
- </dl><div>
-
- <p>The <dfn id="dom-time-date" title="dom-time-date"><code>date</code></dfn> DOM
- attribute must return null if the <a href="#concept-time-date" title="concept-time-date">date</a> is unknown, and otherwise must
- return the time corresponding to midnight UTC (i.e. the first
- second) of the given <a href="#concept-time-date" title="concept-time-date">date</a>.</p>
-
- <p>The <dfn id="dom-time-time" title="dom-time-time"><code>time</code></dfn> DOM attribute
- must return null if the <a href="#concept-time-time" title="concept-time-time">time</a> is
- unknown, and otherwise must return the time corresponding to the
- given <a href="#concept-time-time" title="concept-time-time">time</a> of 1970-01-01, with
- the time zone UTC.</p>
-
- <p>The <dfn id="dom-time-timezone" title="dom-time-timezone"><code>timezone</code></dfn>
- DOM attribute must return null if the <a href="#concept-time-timezone" title="concept-time-timezone">time-zone offset</a> is unknown,
- and otherwise must return the time corresponding to 1970-01-01 00:00
- UTC in the given <a href="#concept-time-timezone" title="concept-time-timezone">time-zone
- offset</a>, with the time zone set to UTC (i.e. the time
- corresponding to 1970-01-01 at 00:00 UTC plus the offset).</p>
-
- </div><div class="example">
-
- <p>In the following snippet:</p>
-
- <pre><p>Our first date was <time datetime="2006-09-23">a Saturday</time>.</p></pre>
-
- <p>...the <code><a href="#the-time-element">time</a></code> element's <code title="dom-time-date"><a href="#dom-time-date">date</a></code> attribute would have the value
- 1,158,969,600,000ms, and the <code title="dom-time-time"><a href="#dom-time-time">time</a></code>
- and <code title="dom-time-timezone"><a href="#dom-time-timezone">timezone</a></code> attributes would
- return null.</p>
-
-
- <p>In the following snippet:</p>
-
- <pre><p>We stopped talking at <time datetime="2006-09-24T05:00-07:00">5am the next morning</time>.</p></pre>
-
- <p>...the <code><a href="#the-time-element">time</a></code> element's <code title="dom-time-date"><a href="#dom-time-date">date</a></code> attribute would have the value
- 1,159,056,000,000ms, the <code title="dom-time-time"><a href="#dom-time-time">time</a></code>
- attribute would have the value 18,000,000ms, and the <code title="dom-time-timezone"><a href="#dom-time-timezone">timezone</a></code> attribute would return
- −25,200,000ms. To obtain the actual time, the three attributes can
- be added together, obtaining 1,159,048,800,000, which is the
- specified date and time in UTC.</p>
-
-
- <p>Finally, in the following snippet:</p>
-
- <pre><p>Many people get up at <time>08:00</time>.</p></pre>
-
- <p>...the <code><a href="#the-time-element">time</a></code> element's <code title="dom-time-date"><a href="#dom-time-date">date</a></code> attribute would have the value null,
- the <code title="dom-time-time"><a href="#dom-time-time">time</a></code> attribute would have the
- 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-ruby-element"><span class="secno">4.6.20 </span>The <dfn><code>ruby</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
@@ -1796,6 +1796,10 @@
</td><td>Abbreviations
</td><td><pre class="example">Organic food in Ireland is certified by the <strong><abbr title="Irish Organic Farmers and Growers Association">IOFGA</abbr></strong>.</pre>
+ </td></tr><tr><td><code><a href="#the-time-element">time</a></code>
+ </td><td>Date and/or time
+ </td><td><pre class="example">Published <strong><time>2009-10-21</time></strong>.</pre>
+
</td></tr><tr><td><code><a href="#the-code-element">code</a></code>
</td><td>Computer code
</td><td><pre class="example">The <strong><code>fruitdb</code></strong> program can be used for tracking fruit production.</pre>
@@ -1840,10 +1844,6 @@
</td><td>Gauge
</td><td><pre class="example">Disk space remaining: <meter>75%<meter></pre>
- </td></tr><tr><td><code><a href="#the-time-element">time</a></code>
- </td><td>Date and/or time
- </td><td><pre class="example">Published <strong><time>2009-10-21</time></strong>.</pre>
-
</td></tr><tr><td><code><a href="#the-ruby-element">ruby</a></code>, <code><a href="#the-rt-element">rt</a></code>, <code><a href="#the-rp-element">rp</a></code>
</td><td>Ruby annotations
</td><td><pre class="example"><strong><ruby> OJ <rp>(<rt>Orange Juice<rp>)</ruby></strong></pre>
@@ -2256,7 +2256,7 @@
<legend>The castle through the ages: 1423, 1858, and 1999 respectively.</legend>
</figure></pre>
- </div><h4 id="the-img-element"><span class="secno">4.8.2 </span>The <dfn><code>img</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/66">ISSUE-66</a> (image-analysis) and <a href="http://www.w3.org/html/wg/tracker/issues/30">ISSUE-30</a> (longdesc) block progress to Last Call</span></p><dl class="element"><dt>Categories</dt>
+ </div><h4 id="the-img-element"><span class="secno">4.8.2 </span>The <dfn><code>img</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/30">ISSUE-30</a> (longdesc) and <a href="http://www.w3.org/html/wg/tracker/issues/66">ISSUE-66</a> (image-analysis) block progress to Last Call</span></p><dl class="element"><dt>Categories</dt>
<dd><a href="dom.html#flow-content">Flow content</a>.</dd>
<dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd>
<dd><a href="embedded-content-0.html#embedded-content">Embedded content</a>.</dd>
Index: history.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/history.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- history.html 29 Aug 2009 00:47:25 -0000 1.9
+++ history.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="offline.html">← 6.7 Offline Web applications</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: tabular-data.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- tabular-data.html 29 Aug 2009 00:47:26 -0000 1.9
+++ tabular-data.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="the-canvas-element.html">← 4.8.11 The canvas element</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: microdata.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/microdata.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- microdata.html 29 Aug 2009 00:47:26 -0000 1.9
+++ microdata.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="interactive-elements.html">← 4.11 Interactive elements</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Overview.html 29 Aug 2009 00:47:25 -0000 1.9
+++ Overview.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -197,7 +197,7 @@
</dl><p>This specification is available in the following formats:
<a href="spec.html">single page HTML</a>,
<a href="Overview.html">multipage HTML</a>.
-This is revision 1.2869.
+This is revision 1.2872.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2009 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -454,17 +454,17 @@
<li><a href="text-level-semantics.html#the-q-element"><span class="secno">4.6.6 </span>The <code>q</code> element</a></li>
<li><a href="text-level-semantics.html#the-dfn-element"><span class="secno">4.6.7 </span>The <code>dfn</code> element</a></li>
<li><a href="text-level-semantics.html#the-abbr-element"><span class="secno">4.6.8 </span>The <code>abbr</code> element</a></li>
- <li><a href="text-level-semantics.html#the-code-element"><span class="secno">4.6.9 </span>The <code>code</code> element</a></li>
- <li><a href="text-level-semantics.html#the-var-element"><span class="secno">4.6.10 </span>The <code>var</code> element</a></li>
- <li><a href="text-level-semantics.html#the-samp-element"><span class="secno">4.6.11 </span>The <code>samp</code> element</a></li>
- <li><a href="text-level-semantics.html#the-kbd-element"><span class="secno">4.6.12 </span>The <code>kbd</code> element</a></li>
- <li><a href="text-level-semantics.html#the-sub-and-sup-elements"><span class="secno">4.6.13 </span>The <code>sub</code> and <code>sup</code> elements</a></li>
- <li><a href="text-level-semantics.html#the-i-element"><span class="secno">4.6.14 </span>The <code>i</code> element</a></li>
- <li><a href="text-level-semantics.html#the-b-element"><span class="secno">4.6.15 </span>The <code>b</code> element</a></li>
- <li><a href="text-level-semantics.html#the-mark-element"><span class="secno">4.6.16 </span>The <code>mark</code> element</a></li>
- <li><a href="text-level-semantics.html#the-progress-element"><span class="secno">4.6.17 </span>The <code>progress</code> element</a></li>
- <li><a href="text-level-semantics.html#the-meter-element"><span class="secno">4.6.18 </span>The <code>meter</code> element</a></li>
- <li><a href="text-level-semantics.html#the-time-element"><span class="secno">4.6.19 </span>The <code>time</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-time-element"><span class="secno">4.6.9 </span>The <code>time</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-code-element"><span class="secno">4.6.10 </span>The <code>code</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-var-element"><span class="secno">4.6.11 </span>The <code>var</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-samp-element"><span class="secno">4.6.12 </span>The <code>samp</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-kbd-element"><span class="secno">4.6.13 </span>The <code>kbd</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-sub-and-sup-elements"><span class="secno">4.6.14 </span>The <code>sub</code> and <code>sup</code> elements</a></li>
+ <li><a href="text-level-semantics.html#the-i-element"><span class="secno">4.6.15 </span>The <code>i</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-b-element"><span class="secno">4.6.16 </span>The <code>b</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-mark-element"><span class="secno">4.6.17 </span>The <code>mark</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-progress-element"><span class="secno">4.6.18 </span>The <code>progress</code> element</a></li>
+ <li><a href="text-level-semantics.html#the-meter-element"><span class="secno">4.6.19 </span>The <code>meter</code> element</a></li>
<li><a href="text-level-semantics.html#the-ruby-element"><span class="secno">4.6.20 </span>The <code>ruby</code> element</a></li>
<li><a href="text-level-semantics.html#the-rt-element"><span class="secno">4.6.21 </span>The <code>rt</code> element</a></li>
<li><a href="text-level-semantics.html#the-rp-element"><span class="secno">4.6.22 </span>The <code>rp</code> element</a></li>
Index: embedded-content-0.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/embedded-content-0.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- embedded-content-0.html 29 Aug 2009 00:47:25 -0000 1.9
+++ embedded-content-0.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: dom.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/dom.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- dom.html 29 Aug 2009 00:47:25 -0000 1.9
+++ dom.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="infrastructure.html">← 2 Common infrastructure</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: acknowledgements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- acknowledgements.html 29 Aug 2009 00:47:25 -0000 1.9
+++ acknowledgements.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -175,7 +175,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="references.html">← References</a> –
<a href="Overview.html#contents">Table of contents</a>
Index: the-canvas-element.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- the-canvas-element.html 29 Aug 2009 00:47:26 -0000 1.9
+++ the-canvas-element.html 29 Aug 2009 00:56:50 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="video.html">← 4.8.7 The video element</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: iana-considerations.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/iana-considerations.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- iana-considerations.html 29 Aug 2009 00:47:26 -0000 1.9
+++ iana-considerations.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="no.html">← 12 Things that you can't do with this specification because they are better handled using other technologies that are further described herein</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: forms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/forms.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- forms.html 29 Aug 2009 00:47:25 -0000 1.9
+++ forms.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="tabular-data.html">← 4.9 Tabular data</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: interactive-elements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- interactive-elements.html 29 Aug 2009 00:47:26 -0000 1.9
+++ interactive-elements.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="forms.html">← 4.10 Forms</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: editing.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/editing.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- editing.html 29 Aug 2009 00:47:25 -0000 1.9
+++ editing.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="history.html">← 6.8 Session history and navigation</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: video.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/video.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- video.html 29 Aug 2009 00:47:26 -0000 1.9
+++ video.html 29 Aug 2009 00:56:50 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="text-level-semantics.html">← 4.6 Text-level semantics</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: browsers.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/browsers.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- browsers.html 29 Aug 2009 00:47:25 -0000 1.9
+++ browsers.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="microdata.html">← 5 Microdata</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: the-xhtml-syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- the-xhtml-syntax.html 29 Aug 2009 00:47:26 -0000 1.9
+++ the-xhtml-syntax.html 29 Aug 2009 00:56:50 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="named-character-references.html">← 9.2 Named character references</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: offline.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/offline.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- offline.html 29 Aug 2009 00:47:26 -0000 1.9
+++ offline.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="browsers.html">← 6 Web browsers</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/syntax.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- syntax.html 29 Aug 2009 00:47:26 -0000 1.9
+++ syntax.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="comms.html">← 8 Communication</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: obsolete.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/obsolete.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- obsolete.html 29 Aug 2009 00:47:26 -0000 1.9
+++ obsolete.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: named-character-references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- named-character-references.html 29 Aug 2009 00:47:26 -0000 1.9
+++ named-character-references.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="syntax.html">← 9 The HTML syntax</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/references.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- references.html 29 Aug 2009 00:47:26 -0000 1.9
+++ references.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="index.html">← Index</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/semantics.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- semantics.html 29 Aug 2009 00:47:26 -0000 1.9
+++ semantics.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> –
<a href="Overview.html#contents">Table of contents</a> –
@@ -1964,9 +1964,7 @@
<pre class="idl">interface <dfn id="htmlbrelement">HTMLBRElement</dfn> : <a href="dom.html#htmlelement">HTMLElement</a> {};</pre>
</dd>
</dl><p>The <code><a href="#the-br-element">br</a></code> element <a href="#represents">represents</a> a line
- break.</p><p><code><a href="#the-br-element">br</a></code> elements must be empty. Any content inside
- <code><a href="#the-br-element">br</a></code> elements must not be considered part of the
- surrounding text.</p><p><code><a href="#the-br-element">br</a></code> elements must be used only for line breaks that
+ break.</p><p><code><a href="#the-br-element">br</a></code> elements must be used only for line breaks that
are actually part of the content, as in poems or addresses.</p><div class="example">
<p>The following example is correct usage of the <code><a href="#the-br-element">br</a></code>
Index: index.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/index.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- index.html 29 Aug 2009 00:47:26 -0000 1.9
+++ index.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="iana-considerations.html">← IANA considerations</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: comms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/comms.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- comms.html 29 Aug 2009 00:47:25 -0000 1.9
+++ comms.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="editing.html">← 7 User Interaction</a> –
<a href="Overview.html#contents">Table of contents</a> –
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- spec.html 29 Aug 2009 00:47:26 -0000 1.9
+++ spec.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -196,7 +196,7 @@
</dl><p>This specification is available in the following formats:
<a href=spec.html>single page HTML</a>,
<a href=Overview.html>multipage HTML</a>.
-This is revision 1.2869.
+This is revision 1.2872.
</p>
<p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a>
© 2009 <a href=http://www.w3.org/><abbr title="World Wide
@@ -484,17 +484,17 @@
<li><a href=#the-q-element><span class=secno>4.6.6 </span>The <code>q</code> element</a></li>
<li><a href=#the-dfn-element><span class=secno>4.6.7 </span>The <code>dfn</code> element</a></li>
<li><a href=#the-abbr-element><span class=secno>4.6.8 </span>The <code>abbr</code> element</a></li>
- <li><a href=#the-code-element><span class=secno>4.6.9 </span>The <code>code</code> element</a></li>
- <li><a href=#the-var-element><span class=secno>4.6.10 </span>The <code>var</code> element</a></li>
- <li><a href=#the-samp-element><span class=secno>4.6.11 </span>The <code>samp</code> element</a></li>
- <li><a href=#the-kbd-element><span class=secno>4.6.12 </span>The <code>kbd</code> element</a></li>
- <li><a href=#the-sub-and-sup-elements><span class=secno>4.6.13 </span>The <code>sub</code> and <code>sup</code> elements</a></li>
- <li><a href=#the-i-element><span class=secno>4.6.14 </span>The <code>i</code> element</a></li>
- <li><a href=#the-b-element><span class=secno>4.6.15 </span>The <code>b</code> element</a></li>
- <li><a href=#the-mark-element><span class=secno>4.6.16 </span>The <code>mark</code> element</a></li>
- <li><a href=#the-progress-element><span class=secno>4.6.17 </span>The <code>progress</code> element</a></li>
- <li><a href=#the-meter-element><span class=secno>4.6.18 </span>The <code>meter</code> element</a></li>
- <li><a href=#the-time-element><span class=secno>4.6.19 </span>The <code>time</code> element</a></li>
+ <li><a href=#the-time-element><span class=secno>4.6.9 </span>The <code>time</code> element</a></li>
+ <li><a href=#the-code-element><span class=secno>4.6.10 </span>The <code>code</code> element</a></li>
+ <li><a href=#the-var-element><span class=secno>4.6.11 </span>The <code>var</code> element</a></li>
+ <li><a href=#the-samp-element><span class=secno>4.6.12 </span>The <code>samp</code> element</a></li>
+ <li><a href=#the-kbd-element><span class=secno>4.6.13 </span>The <code>kbd</code> element</a></li>
+ <li><a href=#the-sub-and-sup-elements><span class=secno>4.6.14 </span>The <code>sub</code> and <code>sup</code> elements</a></li>
+ <li><a href=#the-i-element><span class=secno>4.6.15 </span>The <code>i</code> element</a></li>
+ <li><a href=#the-b-element><span class=secno>4.6.16 </span>The <code>b</code> element</a></li>
+ <li><a href=#the-mark-element><span class=secno>4.6.17 </span>The <code>mark</code> element</a></li>
+ <li><a href=#the-progress-element><span class=secno>4.6.18 </span>The <code>progress</code> element</a></li>
+ <li><a href=#the-meter-element><span class=secno>4.6.19 </span>The <code>meter</code> element</a></li>
<li><a href=#the-ruby-element><span class=secno>4.6.20 </span>The <code>ruby</code> element</a></li>
<li><a href=#the-rt-element><span class=secno>4.6.21 </span>The <code>rt</code> element</a></li>
<li><a href=#the-rp-element><span class=secno>4.6.22 </span>The <code>rp</code> element</a></li>
@@ -5725,9 +5725,7 @@
<pre class=idl>interface <dfn id=htmlbrelement>HTMLBRElement</dfn> : <a href=#htmlelement>HTMLElement</a> {};</pre>
</dd>
</dl><p>The <code><a href=#the-br-element>br</a></code> element <a href=#represents>represents</a> a line
- break.</p><p><code><a href=#the-br-element>br</a></code> elements must be empty. Any content inside
- <code><a href=#the-br-element>br</a></code> elements must not be considered part of the
- surrounding text.</p><p><code><a href=#the-br-element>br</a></code> elements must be used only for line breaks that
+ break.</p><p><code><a href=#the-br-element>br</a></code> elements must be used only for line breaks that
are actually part of the content, as in poems or addresses.</p><div class=example>
<p>The following example is correct usage of the <code><a href=#the-br-element>br</a></code>
@@ -6744,7 +6742,7 @@
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#phrasing-content>phrasing content</a> is expected.</dd>
<dt>Content model:</dt>
- <dd><a href=#phrasing-content>Phrasing content</a>, but there must be no descendant <code><a href=#the-dfn-element>dfn</a></code> elements.</dd>
+ <dd><a href=#phrasing-content>Phrasing content</a>, but there must be no <code><a href=#the-dfn-element>dfn</a></code> element descendants.</dd>
<dt>Content attributes:</dt>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dd>Also, the <code title=attr-dfn-title><a href=#attr-dfn-title>title</a></code> attribute has special semantics on this element.</dd>
@@ -6880,7 +6878,184 @@
cause other <code><a href=#the-abbr-element>abbr</a></code> elements in the same document with the
same contents but without a <code title=attr-title><a href=#the-title-attribute>title</a></code>
attribute to behave as if they had the same expansion. Every
- <code><a href=#the-abbr-element>abbr</a></code> element is independent.</p><h4 id=the-code-element><span class=secno>4.6.9 </span>The <dfn><code>code</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
+ <code><a href=#the-abbr-element>abbr</a></code> element is independent.</p><h4 id=the-time-element><span class=secno>4.6.9 </span>The <dfn><code>time</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class=element><dt>Categories</dt>
+ <dd><a href=#flow-content>Flow content</a>.</dd>
+ <dd><a href=#phrasing-content>Phrasing content</a>.</dd>
+ <dt>Contexts in which this element may be used:</dt>
+ <dd>Where <a href=#phrasing-content>phrasing content</a> is expected.</dd>
+ <dt>Content model:</dt>
+ <dd><a href=#phrasing-content>Phrasing content</a>, but there must be no <code><a href=#the-time-element>time</a></code> element descendants.</dd>
+ <dt>Content attributes:</dt>
+ <dd><a href=#global-attributes>Global attributes</a></dd>
+ <dd><code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code></dd>
+ <dt>DOM interface:</dt>
+ <dd>
+<pre class=idl>interface <dfn id=htmltimeelement>HTMLTimeElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
+ attribute DOMString <a href=#dom-time-datetime title=dom-time-datetime>dateTime</a>;
+ readonly attribute <span>Date</span> <a href=#dom-time-date title=dom-time-date>date</a>;
+ readonly attribute <span>Date</span> <a href=#dom-time-time title=dom-time-time>time</a>;
+ readonly attribute <span>Date</span> <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 <a href=#represents>represents</a> either a
+ time on a 24 hour clock, or a precise date in the proleptic
+ Gregorian calendar, optionally with a time and a time-zone
+ offset. <a href=#refsGREGORIAN>[GREGORIAN]</a></p><p>This element is intended as a way to encode modern dates and
+ times in a machine-readable way so that user agents can offer to add
+ them to the user's calendar. For example, adding birthday reminders
+ or scheduling events.</p><!-- it's also intended for restyling to local conventions
+ (2000-12-31 vs 31-12-2000 vs 12-31-2000), but CSS doesn't support
+ that yet. --><div class=note>
+
+ <p>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".</p>
+
+ <p>For dates before the introduction of the Gregorian calendar,
+ authors are encouraged to not use the <code><a href=#the-time-element>time</a></code> element, or
+ else to be very careful about converting dates and times from the
+ period to the Gregorian calendar. This is complicated by the manner
+ in which the Gregorian calendar was phased in, which occurred at
+ different times in different countries, ranging from partway
+ through the 16th century all the way to early in the 20th.</p>
+
+ </div><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><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
+ content of the element, such that the element's
+ <code>textContent</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.</p><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.</p><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
+ encoding an event using a variant on hCalendar that uses the
+ <code><a href=#the-time-element>time</a></code> element:</p>
+
+ <pre><div class="vevent">
+ <a class="url" href="http://www.web2con.com/">http://www.web2con.com/</a>
+ <span class="summary">Web 2.0 Conference</span>:
+ <time class="dtstart" datetime="2007-10-05">October 5</time> -
+ <time class="dtend" datetime="2007-10-20">19</time>,
+ at the <span class="location">Argent Hotel, San Francisco, CA</span>
+ </div></pre>
+
+ </div><div class=example>
+
+ <p>The <code><a href=#the-time-element>time</a></code> element is not necessary for encoding
+ dates or times. In the following snippet, the time is encoded using
+ <code><a href=#the-time-element>time</a></code>, so that it can be restyled (e.g. using XBL2) to
+ match local conventions, while the year is not marked up at all,
+ since marking it up would not be particularly useful.</p>
+
+ <pre><p>I usually have a snack at <time>16:00</time>.</p>
+<p>I've liked model trains since at least 1983.</p></pre>
+
+ <p>Using a styling technology that supports restyling times, the
+ first paragraph from the above snippet could be rendered as follows:</p>
+
+ <blockquote><p>I usually have a snack at 4pm.</p></blockquote>
+
+ <p>Or it could be rendered as follows:</p>
+
+ <blockquote><p>I usually have a snack at 16h00.</p></blockquote>
+
+ </div><dl class=domintro><dt><var title="">time</var> . <code title=dom-time-date><a href=#dom-time-date>date</a></code></dt>
+
+ <dd>
+
+ <p>Returns a <code>Date</code> object representing the date
+ component of the element's value, at midnight in the UTC
+ time zone.</p>
+
+ <p>Returns null if there is no date.</p>
+
+ </dd>
+
+ <dt><var title="">time</var> . <code title=dom-time-time><a href=#dom-time-time>time</a></code></dt>
+
+ <dd>
+
+ <p>Returns a <code>Date</code> object representing the time
+ component of the element's value, on 1970-01-01 in the UTC
+ time zone.</p>
+
+ <p>Returns null if there is no time.</p>
+
+ </dd>
+
+ <dt><var title="">time</var> . <code title=dom-time-timezone><a href=#dom-time-timezone>timezone</a></code></dt>
+
+ <dd>
+
+ <p>Returns a <code>Date</code> object representing the time
+ corresponding to 1970-01-01 00:00 UTC in the time zone given by the
+ element's value.</p>
+
+ <p>Returns null if there is no time zone.</p>
+
+ </dd>
+
+ </dl><div>
+
+ <p>The <dfn id=dom-time-date title=dom-time-date><code>date</code></dfn> DOM
+ attribute must return null if the <a href=#concept-time-date title=concept-time-date>date</a> is unknown, and otherwise must
+ return the time corresponding to midnight UTC (i.e. the first
+ second) of the given <a href=#concept-time-date title=concept-time-date>date</a>.</p>
+
+ <p>The <dfn id=dom-time-time title=dom-time-time><code>time</code></dfn> DOM attribute
+ must return null if the <a href=#concept-time-time title=concept-time-time>time</a> is
+ unknown, and otherwise must return the time corresponding to the
+ given <a href=#concept-time-time title=concept-time-time>time</a> of 1970-01-01, with
+ the time zone UTC.</p>
+
+ <p>The <dfn id=dom-time-timezone title=dom-time-timezone><code>timezone</code></dfn>
+ DOM attribute must return null if the <a href=#concept-time-timezone title=concept-time-timezone>time-zone offset</a> is unknown,
+ and otherwise must return the time corresponding to 1970-01-01 00:00
+ UTC in the given <a href=#concept-time-timezone title=concept-time-timezone>time-zone
+ offset</a>, with the time zone set to UTC (i.e. the time
+ corresponding to 1970-01-01 at 00:00 UTC plus the offset).</p>
+
+ </div><div class=example>
+
+ <p>In the following snippet:</p>
+
+ <pre><p>Our first date was <time datetime="2006-09-23">a Saturday</time>.</p></pre>
+
+ <p>...the <code><a href=#the-time-element>time</a></code> element's <code title=dom-time-date><a href=#dom-time-date>date</a></code> attribute would have the value
+ 1,158,969,600,000ms, and the <code title=dom-time-time><a href=#dom-time-time>time</a></code>
+ and <code title=dom-time-timezone><a href=#dom-time-timezone>timezone</a></code> attributes would
+ return null.</p>
+
+
+ <p>In the following snippet:</p>
+
+ <pre><p>We stopped talking at <time datetime="2006-09-24T05:00-07:00">5am the next morning</time>.</p></pre>
+
+ <p>...the <code><a href=#the-time-element>time</a></code> element's <code title=dom-time-date><a href=#dom-time-date>date</a></code> attribute would have the value
+ 1,159,056,000,000ms, the <code title=dom-time-time><a href=#dom-time-time>time</a></code>
+ attribute would have the value 18,000,000ms, and the <code title=dom-time-timezone><a href=#dom-time-timezone>timezone</a></code> attribute would return
+ −25,200,000ms. To obtain the actual time, the three attributes can
+ be added together, obtaining 1,159,048,800,000, which is the
+ specified date and time in UTC.</p>
+
+
+ <p>Finally, in the following snippet:</p>
+
+ <pre><p>Many people get up at <time>08:00</time>.</p></pre>
+
+ <p>...the <code><a href=#the-time-element>time</a></code> element's <code title=dom-time-date><a href=#dom-time-date>date</a></code> attribute would have the value null,
+ the <code title=dom-time-time><a href=#dom-time-time>time</a></code> attribute would have the
+ 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-code-element><span class=secno>4.6.10 </span>The <dfn><code>code</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -6929,7 +7104,7 @@
<p>A class is used in that example to indicate the language
used.</p>
- </div><p class=note>See the <code><a href=#the-pre-element>pre</a></code> element for more details.</p><h4 id=the-var-element><span class=secno>4.6.10 </span>The <dfn><code>var</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
+ </div><p class=note>See the <code><a href=#the-pre-element>pre</a></code> element for more details.</p><h4 id=the-var-element><span class=secno>4.6.11 </span>The <dfn><code>var</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -6976,7 +7151,7 @@
</figure></pre>
- </div><h4 id=the-samp-element><span class=secno>4.6.11 </span>The <dfn><code>samp</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
+ </div><h4 id=the-samp-element><span class=secno>4.6.12 </span>The <dfn><code>samp</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -7005,7 +7180,7 @@
Linux demo 2.6.10-grsec+gg3+e+fhs6b+nfs+gr0501+++p3+c4a+gr2b-reslog-v6.189 #1 SMP Tue Feb 1 11:22:36 PST 2005 i686 unknown
<span class="prompt">jdoe@demo:~$</span> <span class="cursor">_</span></samp></pre></pre>
- </div><h4 id=the-kbd-element><span class=secno>4.6.12 </span>The <dfn><code>kbd</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
+ </div><h4 id=the-kbd-element><span class=secno>4.6.13 </span>The <dfn><code>kbd</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -7043,7 +7218,7 @@
<pre><p>To make George eat an apple, select <kbd>File | Eat Apple...</kbd></p></pre>
- </div><h4 id=the-sub-and-sup-elements><span class=secno>4.6.13 </span>The <dfn><code>sub</code></dfn> and <dfn><code>sup</code></dfn> elements</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
+ </div><h4 id=the-sub-and-sup-elements><span class=secno>4.6.14 </span>The <dfn><code>sub</code></dfn> and <dfn><code>sup</code></dfn> elements</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which these elements may be used:</dt>
@@ -7085,7 +7260,7 @@
detailed mathematical markup is not desired. <a href=#refsMATHML>[MATHML]</a></p><div class=example>
<pre><var>E</var>=<var>m</var><var>c</var><sup>2</sup></pre>
<pre>f(<var>x</var>, <var>n</var>) = log<sub>4</sub><var>x</var><sup><var>n</var></sup></pre>
- </div><h4 id=the-i-element><span class=secno>4.6.14 </span>The <dfn><code>i</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
+ </div><h4 id=the-i-element><span class=secno>4.6.15 </span>The <dfn><code>i</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -7131,7 +7306,7 @@
up the defining instance of a term.</p><p class=note>Style sheets can be used to format <code><a href=#the-i-element>i</a></code>
elements, just like any other element can be restyled. Thus, it is
not the case that content in <code><a href=#the-i-element>i</a></code> elements will
- necessarily be italicized.</p><h4 id=the-b-element><span class=secno>4.6.15 </span>The <dfn><code>b</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
+ necessarily be italicized.</p><h4 id=the-b-element><span class=secno>4.6.16 </span>The <dfn><code>b</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -7182,7 +7357,7 @@
</div><p class=note>Style sheets can be used to format <code><a href=#the-b-element>b</a></code>
elements, just like any other element can be restyled. Thus, it is
not the case that content in <code><a href=#the-b-element>b</a></code> elements will
- necessarily be boldened.</p><h4 id=the-mark-element><span class=secno>4.6.16 </span>The <dfn><code>mark</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class=element><dt>Categories</dt>
+ necessarily be boldened.</p><h4 id=the-mark-element><span class=secno>4.6.17 </span>The <dfn><code>mark</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
@@ -7302,13 +7477,13 @@
<p><mark>An obstruction in a gate will prevent it from accepting a
wormhole connection.</mark></p></pre>
- </div><h4 id=the-progress-element><span class=secno>4.6.17 </span>The <dfn><code>progress</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class=element><dt>Categories</dt>
+ </div><h4 id=the-progress-element><span class=secno>4.6.18 </span>The <dfn><code>progress</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#phrasing-content>phrasing content</a> is expected.</dd>
<dt>Content model:</dt>
- <dd><a href=#phrasing-content>Phrasing content</a>.</dd>
+ <dd><a href=#phrasing-content>Phrasing content</a>, but there must be no <code><a href=#the-progress-element>progress</a></code> element descendants.</dd>
<dt>Content attributes:</dt>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dd><code title=attr-progress-value><a href=#attr-progress-value>value</a></code></dd>
@@ -7377,13 +7552,13 @@
attribute must return −1. Otherwise, it must return the result of
dividing the current value by the maximum value.</p>
- </div><h4 id=the-meter-element><span class=secno>4.6.18 </span>The <dfn><code>meter</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><!-- Keep this after <progress> and NOT close to <time> --><dl class=element><dt>Categories</dt>
+ </div><h4 id=the-meter-element><span class=secno>4.6.19 </span>The <dfn><code>meter</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><!-- Keep this after <progress> and NOT close to <time> --><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#phrasing-content>phrasing content</a> is expected.</dd>
<dt>Content model:</dt>
- <dd><a href=#phrasing-content>Phrasing content</a>.</dd>
+ <dd><a href=#phrasing-content>Phrasing content</a>, but there must be no <code><a href=#the-meter-element>meter</a></code> element descendants.</dd>
<dt>Content attributes:</dt>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dd><code title=attr-meter-value><a href=#attr-meter-value>value</a></code></dd>
@@ -7545,183 +7720,6 @@
<dt>Height: <dd> <meter min=0 max=10 value=2 title="centimeters">2cm</meter>
</dl></pre>
- </div><h4 id=the-time-element><span class=secno>4.6.19 </span>The <dfn><code>time</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class=element><dt>Categories</dt>
- <dd><a href=#flow-content>Flow content</a>.</dd>
- <dd><a href=#phrasing-content>Phrasing content</a>.</dd>
- <dt>Contexts in which this element may be used:</dt>
- <dd>Where <a href=#phrasing-content>phrasing content</a> is expected.</dd>
- <dt>Content model:</dt>
- <dd><a href=#phrasing-content>Phrasing content</a>.</dd>
- <dt>Content attributes:</dt>
- <dd><a href=#global-attributes>Global attributes</a></dd>
- <dd><code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code></dd>
- <dt>DOM interface:</dt>
- <dd>
-<pre class=idl>interface <dfn id=htmltimeelement>HTMLTimeElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
- attribute DOMString <a href=#dom-time-datetime title=dom-time-datetime>dateTime</a>;
- readonly attribute <span>Date</span> <a href=#dom-time-date title=dom-time-date>date</a>;
- readonly attribute <span>Date</span> <a href=#dom-time-time title=dom-time-time>time</a>;
- readonly attribute <span>Date</span> <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 <a href=#represents>represents</a> either a
- time on a 24 hour clock, or a precise date in the proleptic
- Gregorian calendar, optionally with a time and a time-zone
- offset. <a href=#refsGREGORIAN>[GREGORIAN]</a></p><p>This element is intended as a way to encode modern dates and
- times in a machine-readable way so that user agents can offer to add
- them to the user's calendar. For example, adding birthday reminders
- or scheduling events.</p><!-- it's also intended for restyling to local conventions
- (2000-12-31 vs 31-12-2000 vs 12-31-2000), but CSS doesn't support
- that yet. --><div class=note>
-
- <p>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".</p>
-
- <p>For dates before the introduction of the Gregorian calendar,
- authors are encouraged to not use the <code><a href=#the-time-element>time</a></code> element, or
- else to be very careful about converting dates and times from the
- period to the Gregorian calendar. This is complicated by the manner
- in which the Gregorian calendar was phased in, which occurred at
- different times in different countries, ranging from partway
- through the 16th century all the way to early in the 20th.</p>
-
- </div><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><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
- content of the element, such that the element's
- <code>textContent</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.</p><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.</p><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
- encoding an event using a variant on hCalendar that uses the
- <code><a href=#the-time-element>time</a></code> element:</p>
-
- <pre><div class="vevent">
- <a class="url" href="http://www.web2con.com/">http://www.web2con.com/</a>
- <span class="summary">Web 2.0 Conference</span>:
- <time class="dtstart" datetime="2007-10-05">October 5</time> -
- <time class="dtend" datetime="2007-10-20">19</time>,
- at the <span class="location">Argent Hotel, San Francisco, CA</span>
- </div></pre>
-
- </div><div class=example>
-
- <p>The <code><a href=#the-time-element>time</a></code> element is not necessary for encoding
- dates or times. In the following snippet, the time is encoded using
- <code><a href=#the-time-element>time</a></code>, so that it can be restyled (e.g. using XBL2) to
- match local conventions, while the year is not marked up at all,
- since marking it up would not be particularly useful.</p>
-
- <pre><p>I usually have a snack at <time>16:00</time>.</p>
-<p>I've liked model trains since at least 1983.</p></pre>
-
- <p>Using a styling technology that supports restyling times, the
- first paragraph from the above snippet could be rendered as follows:</p>
-
- <blockquote><p>I usually have a snack at 4pm.</p></blockquote>
-
- <p>Or it could be rendered as follows:</p>
-
- <blockquote><p>I usually have a snack at 16h00.</p></blockquote>
-
- </div><dl class=domintro><dt><var title="">time</var> . <code title=dom-time-date><a href=#dom-time-date>date</a></code></dt>
-
- <dd>
-
- <p>Returns a <code>Date</code> object representing the date
- component of the element's value, at midnight in the UTC
- time zone.</p>
-
- <p>Returns null if there is no date.</p>
-
- </dd>
-
- <dt><var title="">time</var> . <code title=dom-time-time><a href=#dom-time-time>time</a></code></dt>
-
- <dd>
-
- <p>Returns a <code>Date</code> object representing the time
- component of the element's value, on 1970-01-01 in the UTC
- time zone.</p>
-
- <p>Returns null if there is no time.</p>
-
- </dd>
-
- <dt><var title="">time</var> . <code title=dom-time-timezone><a href=#dom-time-timezone>timezone</a></code></dt>
-
- <dd>
-
- <p>Returns a <code>Date</code> object representing the time
- corresponding to 1970-01-01 00:00 UTC in the time zone given by the
- element's value.</p>
-
- <p>Returns null if there is no time zone.</p>
-
- </dd>
-
- </dl><div>
-
- <p>The <dfn id=dom-time-date title=dom-time-date><code>date</code></dfn> DOM
- attribute must return null if the <a href=#concept-time-date title=concept-time-date>date</a> is unknown, and otherwise must
- return the time corresponding to midnight UTC (i.e. the first
- second) of the given <a href=#concept-time-date title=concept-time-date>date</a>.</p>
-
- <p>The <dfn id=dom-time-time title=dom-time-time><code>time</code></dfn> DOM attribute
- must return null if the <a href=#concept-time-time title=concept-time-time>time</a> is
- unknown, and otherwise must return the time corresponding to the
- given <a href=#concept-time-time title=concept-time-time>time</a> of 1970-01-01, with
- the time zone UTC.</p>
-
- <p>The <dfn id=dom-time-timezone title=dom-time-timezone><code>timezone</code></dfn>
- DOM attribute must return null if the <a href=#concept-time-timezone title=concept-time-timezone>time-zone offset</a> is unknown,
- and otherwise must return the time corresponding to 1970-01-01 00:00
- UTC in the given <a href=#concept-time-timezone title=concept-time-timezone>time-zone
- offset</a>, with the time zone set to UTC (i.e. the time
- corresponding to 1970-01-01 at 00:00 UTC plus the offset).</p>
-
- </div><div class=example>
-
- <p>In the following snippet:</p>
-
- <pre><p>Our first date was <time datetime="2006-09-23">a Saturday</time>.</p></pre>
-
- <p>...the <code><a href=#the-time-element>time</a></code> element's <code title=dom-time-date><a href=#dom-time-date>date</a></code> attribute would have the value
- 1,158,969,600,000ms, and the <code title=dom-time-time><a href=#dom-time-time>time</a></code>
- and <code title=dom-time-timezone><a href=#dom-time-timezone>timezone</a></code> attributes would
- return null.</p>
-
-
- <p>In the following snippet:</p>
-
- <pre><p>We stopped talking at <time datetime="2006-09-24T05:00-07:00">5am the next morning</time>.</p></pre>
-
- <p>...the <code><a href=#the-time-element>time</a></code> element's <code title=dom-time-date><a href=#dom-time-date>date</a></code> attribute would have the value
- 1,159,056,000,000ms, the <code title=dom-time-time><a href=#dom-time-time>time</a></code>
- attribute would have the value 18,000,000ms, and the <code title=dom-time-timezone><a href=#dom-time-timezone>timezone</a></code> attribute would return
- −25,200,000ms. To obtain the actual time, the three attributes can
- be added together, obtaining 1,159,048,800,000, which is the
- specified date and time in UTC.</p>
-
-
- <p>Finally, in the following snippet:</p>
-
- <pre><p>Many people get up at <time>08:00</time>.</p></pre>
-
- <p>...the <code><a href=#the-time-element>time</a></code> element's <code title=dom-time-date><a href=#dom-time-date>date</a></code> attribute would have the value null,
- the <code title=dom-time-time><a href=#dom-time-time>time</a></code> attribute would have the
- 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-ruby-element><span class=secno>4.6.20 </span>The <dfn><code>ruby</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
@@ -7916,6 +7914,10 @@
</td><td>Abbreviations
</td><td><pre class=example>Organic food in Ireland is certified by the <strong><abbr title="Irish Organic Farmers and Growers Association">IOFGA</abbr></strong>.</pre>
+ </td></tr><tr><td><code><a href=#the-time-element>time</a></code>
+ </td><td>Date and/or time
+ </td><td><pre class=example>Published <strong><time>2009-10-21</time></strong>.</pre>
+
</td></tr><tr><td><code><a href=#the-code-element>code</a></code>
</td><td>Computer code
</td><td><pre class=example>The <strong><code>fruitdb</code></strong> program can be used for tracking fruit production.</pre>
@@ -7960,10 +7962,6 @@
</td><td>Gauge
</td><td><pre class=example>Disk space remaining: <meter>75%<meter></pre>
- </td></tr><tr><td><code><a href=#the-time-element>time</a></code>
- </td><td>Date and/or time
- </td><td><pre class=example>Published <strong><time>2009-10-21</time></strong>.</pre>
-
</td></tr><tr><td><code><a href=#the-ruby-element>ruby</a></code>, <code><a href=#the-rt-element>rt</a></code>, <code><a href=#the-rp-element>rp</a></code>
</td><td>Ruby annotations
</td><td><pre class=example><strong><ruby> OJ <rp>(<rt>Orange Juice<rp>)</ruby></strong></pre>
@@ -8376,7 +8374,7 @@
<legend>The castle through the ages: 1423, 1858, and 1999 respectively.</legend>
</figure></pre>
- </div><h4 id=the-img-element><span class=secno>4.8.2 </span>The <dfn><code>img</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href=http://www.w3.org/html/wg/tracker/issues/66>ISSUE-66</a> (image-analysis) and <a href=http://www.w3.org/html/wg/tracker/issues/30>ISSUE-30</a> (longdesc) block progress to Last Call</span></p><dl class=element><dt>Categories</dt>
+ </div><h4 id=the-img-element><span class=secno>4.8.2 </span>The <dfn><code>img</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href=http://www.w3.org/html/wg/tracker/issues/30>ISSUE-30</a> (longdesc) and <a href=http://www.w3.org/html/wg/tracker/issues/66>ISSUE-66</a> (image-analysis) block progress to Last Call</span></p><dl class=element><dt>Categories</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<dd><a href=#embedded-content>Embedded content</a>.</dd>
Index: introduction.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/introduction.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- introduction.html 29 Aug 2009 00:47:26 -0000 1.9
+++ introduction.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -175,7 +175,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="Overview.html#contents">Table of contents</a> –
<a href="infrastructure.html">2 Common infrastructure →</a>
Index: no.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/no.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- no.html 29 Aug 2009 00:47:26 -0000 1.9
+++ no.html 29 Aug 2009 00:56:49 -0000 1.10
@@ -176,7 +176,7 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML 5 (Author Edition)</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.2869.</p>
+<p>This is revision 1.2872.</p>
</div><div>
<a href="obsolete.html">← 11 Obsolete features</a> –
<a href="Overview.html#contents">Table of contents</a> –
Received on Saturday, 29 August 2009 00:57:08 UTC