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

Re: DogFood (and inline/block constraints)

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 13 Dec 2007 16:03:19 GMT
Message-Id: <200712131603.lBDG3JDD010909@edinburgh.nag.co.uk>
To: simonp@opera.com
Cc: public-html@w3.org

> I agree with your reasoning, however you ignore some important factors  
> here:

>    1. text/html is not able to express blocks in Ps.

Yes, Ian stressed this. I wasn't aware of this in my initial comments (I
was aware that this was true in html4, but not it is a hard constraint
for html5) This is a shame but I'm not going to argue the point.
Although to be honest I don't understand it, how can you add any new
features if the parser is fixed?

>    2. The vast majority of the Web is text/html.

>    3. Having different content model rules for text/html and XML is
>    3. utterly confusing for authors.

Yes, as I said to Ian, I'd strongly argue that the content model for the
different linearisations should be the same, I'd rather they both used a
content model that I don't like, than just xhtml was fixed.

> Furthermore, the style sheet to not indent block followed by P is simply:
>     p + p { text-indent:3em; }

It is of course possible to get the rendering that you want by styling
the spurious p that follows the block that should have been nested, but
that's like saying you don't need header elements as you can css style a
p to look like a heading. It's unnatural and in some cases quite hard to
generate as you have to group up all the consecutive runs of inline
elements and texts into p's.

If p is really broken in html for ever (in the sense that it can't model
natural language paragraphs with block level inserts) then it makes it
more important that html5 doesn't stop div being used for that purpose.


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 Thursday, 13 December 2007 16:03:26 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:29 UTC