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

@Loirooriol Would it prevent this problem if we clamp to `sqrt(min(side1, side2))`?

One question to decide is whether we clamp *all* circles to the smallest of the radii (this is what `border-radius` does) or if each clamping operation is independent. Presumably author intent is to end up with the same rounding for the entire polygon, but this means that one small side somewhere can destroy the result for the whole polygon. 

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


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

Received on Wednesday, 31 January 2024 19:19:55 UTC