W3C home > Mailing lists > Public > public-html@w3.org > October 2010

Missing prose in tables section for tbody-less tables

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Wed, 06 Oct 2010 11:00:59 +0200
Message-ID: <4CAC3ACB.3070508@disruptive-innovations.com>
To: HTML WG <public-html@w3.org>
Currently working on BlueGriffon, I discovered the Tables section [1]
misses some prose to say that when <table> has no <tbody> element,
the user agent must create at least one <tbody> and put the <tr>
elements parsed as direct children of <table> in that <tbody>.

The current content description for table handles the following case

   <table><tr><td>foo</td></tr></table>

but does not say what to do with it. All the Web's scripts rely on
the fact a tbody container for the rows is created in that case.

[1] http://www.w3.org/TR/html5/tabular-data.html#the-table-element

</Daniel>
Received on Wednesday, 6 October 2010 09:01:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:15 GMT