W3C home > Mailing lists > Public > www-style@w3.org > July 2012

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

From: Alan Stearns <stearns@adobe.com>
Date: Fri, 27 Jul 2012 17:05:44 -0700
To: Elliott Sprehn <esprehn@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <CC387739.13967%stearns@adobe.com>
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.


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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:01 UTC