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

Re: [css3-regions] Does flow-from or content win?

From: Brian Kardell <bkardell@gmail.com>
Date: Tue, 18 Oct 2011 18:51:17 -0400
Message-ID: <CADC=+jfCekyRX9JADF=PFcHd3=fsnNkNr1qJEt=+mi4N1fW+uA@mail.gmail.com>
To: "www-style@w3.org list" <www-style@w3.org>
Sorry everybody... I don't know if that was a gmail error or what -- I
was just as confused to see that it looked like I sent an email that
wasn't mine.  Clearly this was just a reply with nothing in it...
Don't know how that happened - never seen anything like it.

On Tue, Oct 18, 2011 at 6:09 PM, Brian Kardell <bkardell@gmail.com> wrote:
> The regions spec currently states:
> "If the 'content' property is defined on a region, it has no effect on the
> region's visual formatting."
> I'm currently only able to test this in WebKit using content: url, as the
> rest of the css3-content values that work on elements that flow-from applies
> to aren't implemented. But so far WebKit isn't following this portion of the
> spec. If I define this on a div:
>  content: url(someImage.png);
>  -webkit-flow-from: someFlow;
> Then that element's content is replaced with the image and consumes no flow
> content.
> I'm thinking this may be preferable to what the spec states, as there are
> values in css3-content that I might want to work with regions. Perhaps I'd
> choose to insert an image in this manner. Or I might selectively set
> 'content: none' or 'content: inhibit' on an element in the region chain,
> then bring it back with 'content: normal'.
> What's the motivation for making flow-from trump content? Could we remove
> that text?
> Thanks,
> Alan
Received on Tuesday, 18 October 2011 22:51:44 UTC

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