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

Re: [csswg-drafts] [css-shapes-1] Degenerate polygons with positive shape-margin (#2375)

From: Alan Stearns via GitHub <sysbot+gh@w3.org>
Date: Fri, 25 Oct 2019 20:57:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-546510908-1572037036-sysbot+gh@w3.org>
I've made an initial commit for these changes. I expect I'll need to do more

https://github.com/w3c/csswg-drafts/commit/d7d823919725b08df51560a47cc6382dff0adedc

I'm not sure about this - floated elements already are unaffected by the reduced float area. What else needs to be done?

>>> Zero-area shapes will not affect floated elements that are block adjacent -- there is no minimum of 1 pixel area applied to the shape.

And so far I'm only handling degenerate `inset`s using @AmeliaBR's suggestion above. I'm not entirely sure what to do with polygons and paths with winding rules that create edges enclosing no area or 'negative' area. Perhaps winding rules should only be relevant for `clip-path` and we should use all of the edges in `shape-outside`?

-- 
GitHub Notification of comment by astearns
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2375#issuecomment-546510908 using your GitHub account
Received on Friday, 25 October 2019 20:57:18 UTC

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