Re: [css3-regions] styling element fragments

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:

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15713

> 
> 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:
http://dev.w3.org/cvsweb/~checkout~/csswg/css3-regions/Overview.html?rev=1.42;content-type=text%2Fhtml

Thanks,
Vincent

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