[whatwg] Content Model Restrictions on table>tr in HTML

On Mon, 4 Dec 2006, Simon Pieters wrote:
>
> But the HTML syntax section doesn't apply to XHTML5.

On Mon, 4 Dec 2006, Lachlan Hunt wrote:
> 
> I was referring to HTML5, not XHTML5.  Like how in that section linked above
> it places an additional restriction on the p element:
> 
> | A p element must not contain blockquote, dl, menu, ol, pre, table, or
> | ul elements, even though these elements are technically allowed inside
> | p elements according to the content models described in this
> | specification.
> 
> The same should be said about the use of this:
> 
> <table>
>   <tr>
> 
> which is ok in XHTML, but in HTML it actually implies this:
> 
> <table>
>   <tbody>
>     <tr>

Fixed.


On Mon, 4 Dec 2006, Bjoern Hoehrmann wrote:
> 
> You should request removal of the section. It is just a non-normative
> discussion of implications of the parsing algorithm despite the claim
> that "extra restrictions" are being defined and the misuse of RFC2119
> keywords. As the thread shows, such discussion is unlikely to be com-
> plete, but likely to mislead and confuse. 

Actually, it's the only place that defines what the syntax is. It's
rather important! The parser section defines how to parse and report
errors, but it doesn't give conformance criteria for documents and
authoring tools.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 3 December 2006 21:08:20 UTC