[css-shapes] Add a note that a circle with a radius of 0 defines an empty area #850

Closed
aethanyc opened this Issue Jan 3, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@aethanyc

aethanyc commented Jan 3, 2017

The following question was raised by @dbaron in Firefox Bug 1311244 comment 15 during the review of implementing shape-outside: circle().

if a shape is a circle with a radius of 0, should text flow around that point, or should it flow around nothing?

Both blink and webkit flow the text around nothing. And Firefox is going to do the same. This should make sense because a point without radius doesn't enclose any area.

So it might be worth to add a note for circle() and ellipse() in Supported Shapes to explicit says that if the radius of a circle() is 0, it defines an empty float area. The same for ellipse() if one of its radii is 0.

@astearns

This comment has been minimized.

Show comment
Hide comment
@astearns

astearns Jan 3, 2017

Member

Added clarifying notes with 846a3af

Member

astearns commented Jan 3, 2017

Added clarifying notes with 846a3af

@astearns astearns closed this Jan 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment