W3C home > Mailing lists > Public > www-style@w3.org > December 2011

[css3-regions] styling element fragments

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 26 Dec 2011 23:39:29 -0500
Message-ID: <4EF94C01.5040501@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
   # 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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:47 GMT