W3C home > Mailing lists > Public > www-html@w3.org > December 2007

Re: DogFood (and inline/block constraints)

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 12 Dec 2007 22:46:52 GMT
Message-Id: <200712122246.lBCMkqrn003576@edinburgh.nag.co.uk>
To: ian@hixie.ch
Cc: www-html@w3.org


Ian,

Thanks for the speedy response.

> Note that right now, this is fixed in HTML5. <p> can contain <ol>,
> etc.

Hmm although currently when I'm geerating html or xhtml from something
else I either go to the trouble of lifting lists out of paragraphs, or I
map paragraphs to div, so ol in p doesn't really affect my existing
content, but a lot of my existing content would be invalid due to the
change in the content model for div, not allowing mixed block level
content. Personally I don't mind if you invalidate my content (I'll
adapt to fit whatever:-) but I mention this as in general I know HTML5
design strives for good comaptibility with existing content.

> 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.)

urg, I'd argue that that could be changed (but not in this message,
given your wording I'll assume that this is a given).

Would it be possible (in text/html and /xml) to hide nested lists in some new
inline-element-that-takes-block-content  so
<p>blah blah blah
<inline-element-that-takes-block-content>
<ol>
<li....
</inline-element-that-takes-block-content>
more text
</p>


> 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.


I think so, yes, if you allow the content modesl to differ too much (or
at all) the story about when to use xml serialisation and when not to
use it gets even more complicated.


> 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.

I'm interested thanks, but to be honest I've only been half following
html5 (MathML and the day job taking up time:-) so would be a little
wary of giving me write access, not having observed any previous
discsussion (or implementation constraints such as the one you quote
above) however mostly I use d.p.carlisle@googlemail.com for google docs
stuff if you do wish to give me access. I may just watch the spreadsheet
for a while to get a feel for how things are going. I see there's a
parallel chat channel attatched to it.....

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Wednesday, 12 December 2007 22:47:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:13 GMT