- 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>
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 >ambiguities. 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 concerned. Thanks, Alan
Received on Saturday, 20 April 2013 01:26:25 UTC