W3C home > Mailing lists > Public > www-style@w3.org > July 2015

Re: [css-shapes] Extending shape-outside to in-flow elements

From: Alan Stearns <stearns@adobe.com>
Date: Mon, 20 Jul 2015 22:38:54 +0000
To: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <C0F80E18-7152-46DA-9150-11382EAAD3D9@adobe.com>
On 7/20/15, 3:22 PM, "fantasai" <fantasai.lists@inkedblade.net> wrote:

>I had a discussion with Jen Simmons last week where she was trying
>to float circles around circles, and it occurred to me that maybe
>shape-outside should also apply to in-flow elements. It would control
>their interaction with floats.
>Specifically it would apply to
>   * block-level boxes that establish formatting contexts
>   * maybe also to inline-level boxes?

I think it’s a difficult problem to solve for the general case. We 
specified that float stacking does NOT use the shape-outside contours  
because we did not have a performant algorithm for floating shapes around 

If another implementer finds a performant way of allowing float stacking 
to use the shape-outside contours, we could change the spec to allow it. 
Then we could float circles around circles without needing to extend 
shape-outside to non-floats, and/or do the extensions above if that’s 
deemed desirable. But doing the shape-on-shape layout with the extensions 
above but disallowing it for float stacking seems weird to me.


Received on Monday, 20 July 2015 22:39:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC