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

Re: Missing prose in tables section for tbody-less tables

From: James Graham <jgraham@opera.com>
Date: Wed, 06 Oct 2010 11:09:04 +0200
Message-ID: <4CAC3CB0.7030409@opera.com>
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
CC: HTML WG <public-html@w3.org>
On 10/06/2010 11:00 AM, Daniel Glazman wrote:
> 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.

That only applies to the text/html serialization and is handled 
explicitly in the parsing section.
Received on Wednesday, 6 October 2010 09:09:41 GMT

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