Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@aethanyc
Copy link

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.

@dauwhe dauwhe added the css-shapes-1 Current Work label Jan 3, 2017
@astearns
Copy link
Member

astearns commented Jan 3, 2017

Added clarifying notes with 846a3af

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

No branches or pull requests

3 participants