W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: Generated and replaced content module (was RE: BR element and generated content)

From: White Lynx <whitelynx@operamail.com>
Date: Wed, 30 Jan 2008 19:27:35 +0400
To: www-style@w3.org
Message-Id: <20080130152735.71120444FC@ws5-1.us4.outblaze.com>

> I'll put the draft on the working group's agenda.


> I guess what White Lynx (but not just he) is interested in most is a way 
> to render more math, and in particular more of MathML, in an acceptable 
> way with CSS3. Is that correct?

Yep, that is one of the arguments for keeping  ::outside in draft. Sometimes you need more the one container to properly format particular element and either content model of markup does not allow you to insert extra elements or you want to keep markup sematics oriented  and avoid bulk elements that are needed for presenatational purposes only.

One example could be CSS homepage from 2002:
to achive shadow effect one used to wrap each section in two nested div elements and shift one of them. Having ::outside that would be unnecessary. 

Another example are anomymous table objects. Currently they are effectively unstylable and do not always work as author wants. With ::outside many of them could be substituted with stylable containers.

Third example where ::outside is useful is probably replaced content as you might want to have different containing blocks for image (the one that defines dimentions and style of image) and for frame around image (the one that defines dimentions and style of frame). You may also what to place content of title attribute below image that could be done using ::outside::before or ::outside::after.

> If that is so, we'll also have to discuss whether '::outside' is better 
> than Advanced Layout, Grid Positioning 

They are not necessarily mutually exclusive.

> or 'display-role'/'display-model' for creating built-up formulas

Yep, extending box model is something that one can think about.

Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze
Received on Wednesday, 30 January 2008 15:27:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:33 UTC