Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.