W3C home > Mailing lists > Public > public-html@w3.org > February 2009

Re: Fwd: table, tbody, tr (was : Rendering section feedback)

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 11 Feb 2009 10:55:37 +0000 (UTC)
To: Olivier GENDRIN <olivier.gendrin@gmail.com>
Cc: public-html <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0902111054450.952@hixie.dreamhostps.com>

On Wed, 11 Feb 2009, Olivier GENDRIN wrote:
> On Wed, Feb 11, 2009 at 10:05 AM, Ian Hickson <ian@hixie.ch> wrote:
> > <table><tr><td> is valid in XHTML and has no <tbody>.
> 
> So I'm uncomfortable with 8.1.2.5 [1] : "A table element must not 
> contain tr elements, even though these elements are technically allowed 
> inside table elements according to the content models described in this 
> specification." Perhaps replace 'must not contain' with 'should not 
> contain' ?

8.1.2.5 is about the text/html syntax, where <table><tr> means 
<table><tbody><tr>. <tr>s aren't allowed in <table> in text/html, because 
if you did that you'd end up with an implied <tbody>.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 11 February 2009 10:56:18 GMT

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