W3C home > Mailing lists > Public > www-html@w3.org > July 2004

Re: proposal for change of Flow.model

From: Sjoerd Visscher <sjoerd@w3future.com>
Date: Mon, 26 Jul 2004 22:15:33 +0200
Message-ID: <41056665.4000401@w3future.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-html@w3.org

L. David Baron wrote:

> On Sunday 2004-07-25 06:07 -0400, Sjoerd Visscher wrote:
> 
>>Applying CSS or XSL to this model is also much more straightforward.
> 
> 
> Why?  Any conformant CSS implementation is required to deal with blocks
> that contain both blocks and inlines.  (And there's nothing HTML can do
> about that, even for HTML-only CSS implementations, unless such
> implementations don't implement the 'display' property.)
> 
> -David
> 

I wasn't thinking of the CSS implementation, but for CSS stylesheet 
writers.

Suppose you have to write a stylesheet for a forum, and all posts are 
validated with the XSLT 2.0 schema. You're trying to get the margins 
right. Then it'll be *easier* if the schema wouldn't allow this:

<div>
   <p>some text</p>
   some <b>more</b> text
   <p>and some more again</p>
</div>

The original poster wouldn't mind, because he clearly made a mistake.

-- 
Sjoerd Visscher
http://w3future.com/weblog/
Received on Monday, 26 July 2004 16:16:25 GMT

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