W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2007

[whatwg] P element's content model restrictions

From: Martin Payne <martin-bulkmail@martinpayne.co.uk>
Date: Tue, 29 May 2007 06:18:09 +0100
Message-ID: <465BB791.8020400@martinpayne.co.uk>
Leif Halvard Silli wrote:
> I'd like to question these restricions. I think that at the very least, TABLE should be allowed inside the P element. The reason is that MSIE (I tested version 6 and 7) accept TABLE in P, regardless of whether it is in Quirks-Mode or in Standards-Mode. Even Firefox-Opera-Safari (FirOpSa) allow TABLE inside P - allthough they only do so when in Quirks-Mode.

When would it ever make sense to do this though? Surely you would never 
want to put a table inside a paragraph, because tables and paragraphs 
are two totally different things. I also can?t see why you would put a 
paragraph inside a paragraph?surely it should either just be one 
paragraph, or be two completely separate paragraphs.

Martin Payne

email: martin-bulkmail at martinpayne.co.uk
www: http://www.martinpayne.co.uk/
Received on Monday, 28 May 2007 22:18:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:55 UTC