Re: [css-regions] Concern about CSS regions flowing into generated content

On 7/27/12 4:24 PM, "Elliott Sprehn" <esprehn@gmail.com> wrote:

>On Thu, Jul 26, 2012 at 7:47 PM, Alan Stearns <stearns@adobe.com> wrote:

...

>> So the fragment of the named flow that flows through the pseudo-element
>> box isn't "inside" the generated content. It's only "inside" the
>> CSS-generated box, and the pseudo-element's generated content is not
>> displayed. Does this address your concern?

> Can you give an example of a real world use case for this feature?
> I understand what it does, but I don't understand why you'd ever
> actually want to do this.

One question that's been raised about CSS Regions is where the boxes for
the region chain come from. There are some who would like to define the
box in CSS rather than add an element to the HTML markup. Pseudo-elements
can define the box in CSS, so we're using that capability. So you'd want
to use pseudo-elements for region chain boxes if you want to keep
presentational elements out of your semantic HTML.

Thanks,

Alan

Received on Saturday, 28 July 2012 00:06:12 UTC