Skip to content
Permalink
Browse files

[e] (0) Bring W3C specs back to tip of tree per chair request.

Affected topics: HTML, Microdata

git-svn-id: http://svn.whatwg.org/webapps@6855 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 9, 2011
1 parent 76f285b commit ef81b2b7f4f3f757c2a0b3d6afbf38928dba5143
Showing with 158 additions and 19 deletions.
  1. +51 −7 complete.html
  2. +2 −0 images/content-venn.svg
  3. +51 −7 index
  4. +54 −5 source

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 8 December 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 9 December 2011</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
working group chair decision from June 2011</a>.</li><!--bug
12906-->

<li>The W3C 2D Context specification has a different API for
handling focus and selection in the 2D canvas API, because of <a href=http://lists.w3.org/Archives/Public/public-html/2011May/0138.html>a
working group chair decision from May 2011</a>.</li>
<li>The W3C HTML specification defines a <code title=attr-time-pubdate><a href=#attr-time-pubdate>pubdate</a></code> attribute on
<code><a href=#the-time-element>time</a></code> elements, because of <a href=http://lists.w3.org/Archives/Public/public-html/2011Dec/0058.html>a
working group chair request from December 2011</a>. This issue is
not yet formally resolved in the W3C and the specifications will
likely converge on this issue when it is.</li><!--PUBDATE--><!--FORK-->

</ul><p>The following sections are only published in the WHATWG
specifications and are not currently available anywhere else:</p>
<li>The <code title=dom-document-cssElementMap><a href=#dom-document-csselementmap>cssElementMap</a></code> feature for defining <a href=#css-element-reference-identifier title="CSS element reference identifier">CSS element reference identifiers</a>.</li> <!--CSSREF-->
<li>An experimental specification of the legacy <code title=dom-find><a href=#dom-find>window.find()</a></code> API.</li><!--FIND-->
<li>Some predefined <a href=#mdvocabs>Microdata vocabularies</a>.</li>
<li>The <code><a href=#the-data-element>data</a></code> element for marking up machine-readable data.</li><!--DATA--><!--FORK-->
</ul><!--
<p>Features that are part of the WHATWG HTML Living Standard
specification but that are currently published as separate
<li><code><a href=#the-cite-element>cite</a></code></li>
<li><code><a href=#the-code-element>code</a></code></li>
<li><code><a href=#the-command-element>command</a></code></li>
<!--DATA--><!--FORK-->
<li><code><a href=#the-data-element>data</a></code></li>
<!--DATA--><!--FORK-->
<li><code><a href=#the-datalist-element>datalist</a></code></li>
<li><code><a href=#the-del-element>del</a></code></li>
<li><code><a href=#the-details-element>details</a></code></li>
<li><code><a href=#the-cite-element>cite</a></code></li>
<li><code><a href=#the-code-element>code</a></code></li>
<li><code><a href=#the-command-element>command</a></code></li>
<!--DATA--><!--FORK-->
<li><code><a href=#the-data-element>data</a></code></li>
<!--DATA--><!--FORK-->
<li><code><a href=#the-datalist-element>datalist</a></code></li>
<li><code><a href=#the-del-element>del</a></code> (if it contains only <a href=#phrasing-content>phrasing content</a>)</li>
<li><code><a href=#the-dfn-element>dfn</a></code></li>
<li><code><a href=#the-canvas-element>canvas</a></code></li>
<li><code><a href=#the-cite-element>cite</a></code></li>
<li><code><a href=#the-code-element>code</a></code></li>
<!--DATA--><!--FORK-->
<li><code><a href=#the-data-element>data</a></code></li>
<!--DATA--><!--FORK-->
<li><code><a href=#the-details-element>details</a></code></li>
<li><code><a href=#the-dfn-element>dfn</a></code></li>
<li><code><a href=#the-div-element>div</a></code></li>




<!--DATA--><!--FORK-->
<h4 id=the-data-element><span class=secno>4.6.10 </span>The <dfn><code>data</code></dfn> element</h4>

<dl class=element><dt>Categories</dt>
&lt;/table&gt;</pre>

</div>
<!--DATA--><!--FORK-->



<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>
<!--PUBDATE--><!--FORK-->
<dd><code title=attr-time-pubdate><a href=#attr-time-pubdate>pubdate</a></code></dd>
<!--PUBDATE--><!--FORK-->
<dt>DOM interface:</dt><!--TOPIC:DOM APIs-->
<dd>
<pre class=idl>interface <dfn id=htmltimeelement>HTMLTimeElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
<p>A <code><a href=#the-time-element>time</a></code> element that does not have a <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> content attribute must
not have any element descendants.</p>

<!--PUBDATE--><!--FORK-->
<p>The <dfn id=attr-time-pubdate title=attr-time-pubdate><code>pubdate</code></dfn>
attribute is a <a href=#boolean-attribute>boolean attribute</a>. If specified, it
indicates that the date and time given by the element is the
publication date and time of the nearest ancestor
<code><a href=#the-article-element>article</a></code> element, or, if the element has no ancestor
<code><a href=#the-article-element>article</a></code> element, of the document as a whole. If the
element has a <code title=attr-time-pubdate><a href=#attr-time-pubdate>pubdate</a></code>
attribute specified, then the element <dfn id=needs-a-date>needs a date</dfn>. For
each <code><a href=#the-article-element>article</a></code> element, there must no more than one
<code><a href=#the-time-element>time</a></code> element with a <code title=attr-time-pubdate><a href=#attr-time-pubdate>pubdate</a></code> attribute whose nearest
ancestor is that <code><a href=#the-article-element>article</a></code> element. Furthermore, for each
<code><a href=#document>Document</a></code>, there must be no more than one
<code><a href=#the-time-element>time</a></code> element with a <code title=attr-time-pubdate><a href=#attr-time-pubdate>pubdate</a></code> attribute that does not
have an ancestor <code><a href=#the-article-element>article</a></code> element.</p>
<!--PUBDATE--><!--FORK-->

<p>The <dfn id=datetime-value>datetime value</dfn> of a <code><a href=#the-time-element>time</a></code> element is
the value of the element's <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> content attribute, if
it has one, or the element's <code><a href=#textcontent>textContent</a></code>, if it does
<td>Abbreviations
<td><pre class=example>Organic food in Ireland is certified by the <strong>&lt;abbr title="Irish Organic Farmers and Growers Association"&gt;IOFGA&lt;/abbr&gt;</strong>.</pre>

<!--DATA--><!--FORK-->
<tr><td><code><a href=#the-data-element>data</a></code>
<td>Machine-readable equivalent
<td><pre class=example>Available starting today! <strong>&lt;data value="UPC:022014640201"&gt;North Coast Organic Apple Cider&lt;/data&gt;</strong></pre>
<!--DATA--><!--FORK-->

<tr><td><code><a href=#the-time-element>time</a></code>
<td>Machine-readable equivalent of date- or time-related data

</div>

<!--DATA--><!--FORK-->
<div class=example>

<p>The following extract shows how an IM conversation log could be
<!-- with thanks to http://bash.org/?854262 -->

</div>
<!--DATA--><!--FORK-->

<div class=example>


</div>

<!--DATA--><!--FORK-->
<p>When a string value is in some machine-readable format unsuitable
for human consumption, it is expressed using the <code title=attr-data-value><a href=#attr-data-value>value</a></code> attribute of the
<code><a href=#the-data-element>data</a></code> element, with the human-readable version given in
&lt;/h1&gt;</pre>

</div>
<!--DATA--><!--FORK-->

<p>For date- and time-related data, the <code><a href=#the-time-element>time</a></code> element
and its <code title=attr-time-datetime><a href=#attr-time-datetime>datetime</a></code> attribute
<code title=attr-command-checked><a href=#attr-command-checked>checked</a></code>;
<code title=attr-command-radiogroup><a href=#attr-command-radiogroup>radiogroup</a></code></td>
<td><code><a href=#htmlcommandelement>HTMLCommandElement</a></code></td>
<tr><th><code><a href=#the-data-element>data</a></code></th>
</tr><!--DATA--><!--FORK--><tr><th><code><a href=#the-data-element>data</a></code></th>
<td>Machine-readable equivalent</td>
<td><a href=#flow-content title="Flow content">flow</a>;
<a href=#phrasing-content title="Phrasing content">phrasing</a></td>
<td><a href=#global-attributes title="global attributes">globals</a>;
<code title=attr-data-value><a href=#attr-data-value>value</a></code></td>
<td><code><a href=#htmldataelement>HTMLDataElement</a></code></td>
<tr><th><code><a href=#the-datalist-element>datalist</a></code></th>
</tr><!--DATA--><!--FORK--><tr><th><code><a href=#the-datalist-element>datalist</a></code></th>
<td>Container for options for <a href=#attr-input-list title=attr-input-list>combo box control</a></td>
<td><a href=#flow-content title="Flow content">flow</a>;
<a href=#phrasing-content title="Phrasing content">phrasing</a></td>
<code><a href=#the-cite-element>cite</a></code>;
<code><a href=#the-code-element>code</a></code>;
<code><a href=#the-command-element>command</a></code>;
<!--DATA--><!--FORK-->
<code><a href=#the-data-element>data</a></code>;
<!--DATA--><!--FORK-->
<code><a href=#the-datalist-element>datalist</a></code>;
<code><a href=#the-del-element>del</a></code>;
<code><a href=#the-details-element>details</a></code>;
<code><a href=#the-cite-element>cite</a></code>;
<code><a href=#the-code-element>code</a></code>;
<code><a href=#the-command-element>command</a></code>;
<!--DATA--><!--FORK-->
<code><a href=#the-data-element>data</a></code>;
<!--DATA--><!--FORK-->
<code><a href=#the-datalist-element>datalist</a></code>;
<code><a href=#the-dfn-element>dfn</a></code>;
<code><a href=#the-em-element>em</a></code>;
<code><a href=#the-canvas-element>canvas</a></code>;
<code><a href=#the-cite-element>cite</a></code>;
<code><a href=#the-code-element>code</a></code>;
<!--DATA--><!--FORK-->
<code><a href=#the-data-element>data</a></code>;
<!--DATA--><!--FORK-->
<code><a href=#the-details-element>details</a></code>;
<code><a href=#the-dfn-element>dfn</a></code>;
<code><a href=#the-div-element>div</a></code>;
<tr><td> <code><a href=#the-command-element>command</a></code>
<td> <code><a href=#htmlcommandelement>HTMLCommandElement</a></code> : <code><a href=#htmlelement>HTMLElement</a></code>

<!--DATA--><!--FORK-->
<tr><td> <code><a href=#the-data-element>data</a></code>
<td> <code><a href=#htmldataelement>HTMLDataElement</a></code> : <code><a href=#htmlelement>HTMLElement</a></code>
<!--DATA--><!--FORK-->

<tr><td> <code><a href=#the-datalist-element>datalist</a></code>
<td> <code><a href=#htmldatalistelement>HTMLDataListElement</a></code> : <code><a href=#htmlelement>HTMLElement</a></code>
@@ -38,6 +38,7 @@
<li><code>cite</code></li>
<li><code>code</code></li>
<li><code>command</code></li>
<li><code>data</code></li>
<li><code>date</code></li>
<li><code>datalist</code></li>
<li><code>del</code></li>
@@ -210,6 +211,7 @@
<li><code>cite</code></li>
<li><code>code</code></li>
<li><code>command</code></li>
<li><code>data</code></li>
<li><code>date</code></li>
<li><code>datalist</code></li>
<li><code>del</code>*</li>

0 comments on commit ef81b2b

Please sign in to comment.
You can’t perform that action at this time.