Skip to content

Commit

Permalink
[ac] (0) Require that time/date data be encoded using <time> for micr…
Browse files Browse the repository at this point in the history
…odata.

git-svn-id: http://svn.whatwg.org/webapps@4604 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 18, 2010
1 parent 1776be9 commit 8511a71
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
9 changes: 7 additions & 2 deletions complete.html
Expand Up @@ -45632,9 +45632,9 @@ <h4 id=values><span class=secno>5.2.4 </span>Values</h4>
url">resolving</a> it results in an error.</dd>


<dt>If the element is a <code><a href=#the-time-element>time</a></code> element with a <code title=attr-datetime>datetime</code> attribute</dt>
<dt>If the element is a <code><a href=#the-time-element>time</a></code> element with a <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute</dt>

<dd><p>The value is the value of the element's <code title=attr-datetime>datetime</code> attribute.</dd>
<dd><p>The value is the value of the element's <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute.</dd>


<dt>Otherwise</dt>
Expand All @@ -45653,6 +45653,11 @@ <h4 id=values><span class=secno>5.2.4 </span>Values</h4>
using a <a href=#url-property-elements title="URL property elements">URL property
element</a>.</p>

<p>If a property's <a href=#concept-property-value title=concept-property-value>value</a>
represents a <a href=#concept-date title=concept-date>date</a>, <a href=#concept-time title=concept-time>time</a>, or <a href=#concept-datetime title=concept-datetime>global date and time</a>, the property
must be specified using the <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute of a
<code><a href=#the-time-element>time</a></code> element.</p>


<h4 id=associating-names-with-items><span class=secno>5.2.5 </span>Associating names with items</h4>

Expand Down
9 changes: 7 additions & 2 deletions index
Expand Up @@ -45532,9 +45532,9 @@ document.body.appendChild(outer);</pre>
url">resolving</a> it results in an error.</dd>


<dt>If the element is a <code><a href=#the-time-element>time</a></code> element with a <code title=attr-datetime>datetime</code> attribute</dt>
<dt>If the element is a <code><a href=#the-time-element>time</a></code> element with a <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute</dt>

<dd><p>The value is the value of the element's <code title=attr-datetime>datetime</code> attribute.</dd>
<dd><p>The value is the value of the element's <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute.</dd>


<dt>Otherwise</dt>
Expand All @@ -45553,6 +45553,11 @@ document.body.appendChild(outer);</pre>
using a <a href=#url-property-elements title="URL property elements">URL property
element</a>.</p>

<p>If a property's <a href=#concept-property-value title=concept-property-value>value</a>
represents a <a href=#concept-date title=concept-date>date</a>, <a href=#concept-time title=concept-time>time</a>, or <a href=#concept-datetime title=concept-datetime>global date and time</a>, the property
must be specified using the <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute of a
<code><a href=#the-time-element>time</a></code> element.</p>


<h4 id=associating-names-with-items><span class=secno>5.2.5 </span>Associating names with items</h4>

Expand Down
12 changes: 10 additions & 2 deletions source
Expand Up @@ -50837,10 +50837,10 @@ document.body.appendChild(outer);</pre>


<dt>If the element is a <code>time</code> element with a <code
title="attr-datetime">datetime</code> attribute</dt>
title="attr-time-datetime">datetime</code> attribute</dt>

<dd><p>The value is the value of the element's <code
title="attr-datetime">datetime</code> attribute.</p></dd>
title="attr-time-datetime">datetime</code> attribute.</p></dd>


<dt>Otherwise</dt>
Expand All @@ -50861,6 +50861,14 @@ document.body.appendChild(outer);</pre>
using a <span title="URL property elements">URL property
element</span>.</p>

<p>If a property's <span title="concept-property-value">value</span>
represents a <span title="concept-date">date</span>, <span
title="concept-time">time</span>, or <span
title="concept-datetime">global date and time</span>, the property
must be specified using the <code
title="attr-time-datetime">datetime</code> attribute of a
<code>time</code> element.</p>


<h4>Associating names with items</h4>

Expand Down

0 comments on commit 8511a71

Please sign in to comment.