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

> Basically, the provided radius needs to be clamped to not exceed `tan(α/2) s₁ / 2` nor `tan(α/2) s₂ / 2`.

So basically the upper bound per angle would be `min(tan(α/2) s₁ / 2, tan(α/2) s₂ / 2)`, right? SGTM. Like I said, most uses involve such a small radius, that I think any reasonable lower bound would be fine.

A couple other things to explore:
- if we ship with a very strict upper bound, can we relax it later, or would that involve web compat issues?
- It seems that the functionality of overriding the radius per angle may need to be part of the MVP — how much does that increase implementation effort?

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


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

Received on Thursday, 1 February 2024 16:13:26 UTC