hixie: Allow <td> in <thead> (whatwg r5434)

hixie: Allow <td> in <thead> (whatwg r5434)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4334&r2=1.4335&f=h
http://html5.org/tools/web-apps-tracker?from=5433&to=5434

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4334
retrieving revision 1.4335
diff -u -d -r1.4334 -r1.4335
--- Overview.html 8 Sep 2010 00:06:00 -0000 1.4334
+++ Overview.html 8 Sep 2010 00:33:57 -0000 1.4335
@@ -24991,6 +24991,43 @@
   <p>The <code><a href="#the-thead-element">thead</a></code> element takes part in the <a href="#table-model">table
   model</a>.</p>
 
+  </div><div class="example">
+
+   <p>This example shows a <code><a href="#the-thead-element">thead</a></code> element being used.
+   Notice the use of both <code><a href="#the-th-element">th</a></code> and <code><a href="#the-td-element">td</a></code> elements
+   in the <code><a href="#the-thead-element">thead</a></code> element: the first row is the headers,
+   and the second row is an explanation of how to fill in the
+   table.</p>
+
+   <pre>&lt;table&gt;
+ &lt;caption&gt; School auction sign-up sheet &lt;/caption&gt;
+<strong> &lt;thead&gt;
+  &lt;tr&gt;
+   &lt;th&gt;&lt;label for=e1&gt;Name&lt;/label&gt;
+   &lt;th&gt;&lt;label for=e2&gt;Product&lt;/label&gt;
+   &lt;th&gt;&lt;label for=e3&gt;Picture&lt;/label&gt;
+   &lt;th&gt;&lt;label for=e4&gt;Price&lt;/label&gt;
+  &lt;tr&gt;
+   &lt;td&gt;Your name here
+   &lt;td&gt;What are you selling?
+   &lt;td&gt;Link to a picture
+   &lt;td&gt;Your reserve price
+</strong> &lt;tbody&gt;
+  &lt;tr&gt;
+   &lt;td&gt;Ms Danus
+   &lt;td&gt;Doughnuts
+   &lt;td&gt;&lt;img src="http://example.com/mydoughnuts.png" title="Doughnuts from Ms Danus"&gt;
+   &lt;td&gt;$45
+  &lt;tr&gt;
+   &lt;td&gt;&lt;input id=e1 type=text name=who required form=f&gt;
+   &lt;td&gt;&lt;input id=e2 type=text name=what required form=f&gt;
+   &lt;td&gt;&lt;input id=e3 type=url name=pic form=f&gt;
+   &lt;td&gt;&lt;input id=e4 type=number step=0.01 min=0 value=0 required form=f&gt;
+&lt;/table&gt;
+&lt;form id=f action="/auction.cgi"&gt;
+ &lt;input type=button name=add value="Submit"&gt;
+&lt;/form&gt;</pre>
+
   </div><h4 id="the-tfoot-element"><span class="secno">4.9.7 </span>The <dfn><code>tfoot</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
    <dd>None.</dd>
    <dt>Contexts in which this element may be used:</dt>
@@ -25030,8 +25067,7 @@
    elements, but only if there are no <code><a href="#the-tbody-element">tbody</a></code> elements that
    are children of the <code><a href="#the-table-element">table</a></code> element.</dd>
    <dt>Content model:</dt>
-   <dd>When the parent node is a <code><a href="#the-thead-element">thead</a></code> element: Zero or more <code><a href="#the-th-element">th</a></code> elements</dd>
-   <dd>Otherwise: Zero or more <code><a href="#the-td-element">td</a></code> or <code><a href="#the-th-element">th</a></code> elements</dd>
+   <dd>Zero or more <code><a href="#the-td-element">td</a></code> or <code><a href="#the-th-element">th</a></code> elements</dd>
    <dt>Content attributes:</dt>
    <dd><a href="#global-attributes">Global attributes</a></dd>
    <dt>DOM interface:</dt>

Received on Wednesday, 8 September 2010 00:34:41 UTC