- From: Ian Hickson <ian@hixie.ch>
- Date: Wed, 12 Dec 2007 21:57:51 +0000 (UTC)
- To: David Carlisle <davidc@nag.co.uk>
- Cc: www-html@w3.org
On Wed, 12 Dec 2007, David Carlisle wrote: > > HTML has always stood out amongst marked up document formats in having a > very restricted content model for paragraphs that doesn't allow block > level markup. I always viewed div as "p with a fixed content model" > (which isn't really the intention of div, but a very plausible way of > using it.) Note that right now, this is fixed in HTML5. <p> can contain <ol>, etc. However, due to legacy reasons, this can't be allowed in text/html, only XHTML. (In text/html, the <p> gets implicitly closed by the parser.) It's not clear to me what we should do going forward. There are very strong arguments for keeping the two serialisations in sync, so if we can't allow it in text/html maybe we shouldn't allow it in XHTML. We're actually trying to work out what exactly the nesting rules should be right now. You can see a grid where we have staqrted considering this here: http://spreadsheets.google.com/ccc?key=pkNVM1HEQs-wsHB7s1M5Lbw&hl=en If you want to help out, let me know, I can add you to the list of editors on the document. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 12 December 2007 21:58:04 UTC