W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

Re: [csswg-drafts] [css-shapes] Allow new formatting contexts to be sized based on *bounding* float-area. (#1970)

From: Alan Stearns via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Oct 2019 20:48:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-542885078-1571258896-sysbot+gh@w3.org>
@bfgeek we decided in #2452 to continue to require the more-difficult-but-better result from CSS 2.1. So the question now is whether to relax this for floats with a shape-outside, or not special-case BFCs for shape-outside. 

Looking at the current results for your test above, Blink and Webkit are sizing to the float-area without the shape-outside, and Gecko is using the shape-outside contours. I very much prefer the Gecko behavior.

The main reason we relaxed the behavior for float stacking is that it gets even harder if the floats you're stacking both have shapes that could nestle together like puzzle pieces. I don't think there's a need to add more complexity to float stacking. I do think it would be useful (and consistent) to get BFC sizing to respect the shape-outside contours.

GitHub Notification of comment by astearns
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1970#issuecomment-542885078 using your GitHub account
Received on Wednesday, 16 October 2019 20:48:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:54 UTC