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

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 UTC