[css3-regions] styling element fragments

   # 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.

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.

~fantasai

Received on Tuesday, 27 December 2011 04:40:06 UTC