W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css3-regions] flow-into: <ident> content-only

From: Alan Stearns <stearns@adobe.com>
Date: Fri, 19 Apr 2013 18:25:56 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>, Brad Kemper <brad.kemper@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <CD973B68.38681%stearns@adobe.com>
On 4/19/13 6:01 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
>Actually, that brings up an interesting question for Alan:  Alan, how
>are you supposed to style text that has been flowed out of an
>element's contents?  There's no container to set properties on.  You
>can't pretend that @region is container, because that would mean
>mixing properties and style rules, which is impossible due to grammar

You can't use region styling on bare text that you've moved from its
original element into the named flow, but you can style the text using the
original element.

Given this:

<p class="source">some text</p>

.source { flow-into: named-flow content; }
#some-box { flow-from: named-flow; }

The only way you can style "some text" is by using a .source or p
selector. The original element is still the container as far as CSS is


Received on Saturday, 20 April 2013 01:26:25 UTC

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