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

> 2. A shape-area is defined by all of the edges, whether they enclose an area or not.

This seems most consistent and intuitive, considering that floats are in some sense checking for the edges of the shape, not checking for a nearby area associated with the shape. Adopting this into the spec would resolve things for circle and ellipse (with a 0 radius they would collapse to a point or a line). It would simplify the implementation for polygon though require some clarification about reverse-order vertices (would they still define edges) and polygons with 1 or 2 vertices (do they define a point / line). The challenging one will be inset. If box is inset more than 100%, it either should be treated as a point or line (where?) or as an inside-out polygon. Neither option is particularly intuitive, but this all seems more intuitive than a shape disappearing when it has no positive area.

-- 
GitHub Notification of comment by bradwerth
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2375#issuecomment-390324305 using your GitHub account

Received on Friday, 18 May 2018 20:32:58 UTC