RESOLVED WORKSFORME 118625
[CSS Shapes] zero-dimension shapes should be valid
https://bugs.webkit.org/show_bug.cgi?id=118625
Summary [CSS Shapes] zero-dimension shapes should be valid
Alan Stearns
Reported 2013-07-12 16:32:18 PDT
Currently, it appears that zero-dimension shapes used in shape-outside and clip-path are deemed invalid and not used. Try a rectangle(0,0,0px,0px) as either a shape-outside or clip-path to see that the float area and clip area remain unchanged. The spec says that negative lengths are invalid, which means that zero should be OK. It should be useful to be able to use a zero-extent clip area in an irising transition.
Attachments
Radar WebKit Bug Importer
Comment 1 2014-01-31 11:07:09 PST
Bem Jones-Bey
Comment 2 2014-02-24 11:11:50 PST
As far as I can tell, this has already been fixed. rectangle() is slated for removal, but your example works just fine in the latest nightly. I also tried: circle(0), ellipse(0), and polygon(0 0), all of which properly gave a zero extent shape.
Note You need to log in before you can comment on or make changes to this bug.