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

Re: [css3-regions] styling element fragments

From: Vincent Hardy <vhardy@adobe.com>
Date: Wed, 25 Jan 2012 12:01:11 -0800
To: fantasai <fantasai.lists@inkedblade.net>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <572F4F03-83B6-46C8-B3B3-D84F6B59FF46@adobe.com>
On Dec 26, 2011, at 8:39 PM, fantasai wrote:

>   # Elements that are fully or partially in the ‘flow segment’ may
>   # match any of the selectors found in the style rule.
>   # [ in an example ] Only the segment of p_2 that flows into region_1
>   # is styled with this rule.
> The normative prose here does not match the example. The normative
> prose says that the style rules scoped to the region apply to the element
> if any part of it is in the region. They do not say, as the example implies,
> that they apply only to the portion of the element inside the region.

[vh] I added the following clarification:

"However, the style rules only apply to the  portion of the element that falls into the corresponding region." and added an issue to provide more details about the proposed model for styling 'portions' of elements:


> The behavior of style rules applying to a portion of an element is not defined
> in CSS: up until now, with the exception of the exceptionally underdefined
> ::first-line and ::first-letter pseudo-elements, they only apply to an entire
> element.
> You need to be much, much clearer about the processing model here and the
> interaction with the box model, inheritance, and computed style.

[vh] Yes, I created the above Bug to track this work. I will work to have a proposed wording for the model for the F2F.

Changes at:

Received on Wednesday, 25 January 2012 20:01:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:10 UTC