- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Mon, 04 Dec 2006 11:16:42 +1100
Ian Hickson wrote: > On Mon, 4 Dec 2006, Lachlan Hunt wrote: >> The spec should mention the additional restriction that table elements >> cannot contain child tr elements, because they imply the tbody element >> in such cases. >> >> http://www.whatwg.org/specs/web-apps/current-work/#restrictions > > On Sun, 3 Dec 2006, Henri Sivonen wrote: >> Not in XHTML5. > > What Henri said. (This is a compat-with-XHMTL1 issue.) 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> -- Lachlan Hunt http://lachy.id.au/
Received on Sunday, 3 December 2006 16:16:42 UTC