Re: [csswg-drafts] [css-shapes] Allow optional rounding parameter for `polygon()` (#9843)

> What happens if the radius is big enough or the segments of the polygon small enough?

Just like with border-radius there’s a limit of how large you can make the radius and anything beyond that is scaled down, we can do the same here. Hopefully there’s a non-iterative way to calculate that, I can reach out to some geometry experts about the specifics once we have consensus to pursue the functionality.

> Browsers already tend to break with `border-radius` when the circles are centered at slightly weird places: [bugzil.la/1823646](https://bugzil.la/1823646), [crbug.com/1262583](https://crbug.com/1262583)

These have a lot to do with borders, which is not a consideration here.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 25 January 2024 16:37:35 UTC