Re: [csswg-drafts] [css-backgrounds-3][css-borders-4] The shape of box-shadow should be a circle for a box with border-radius:50% and big spread (#7103)

Taking a better look, Noam's proposal is actually very close to mine, but
 - It uses more complex factors
 - It allows the factors to be different in the x and y components of each corner, causing the problem described in the previous comment

I have added a variant of Noam's algorithm in https://drafts.csswg.org/css-backgrounds-3/radius-expansion.html which uses the same spread factor in the x and y components of each corner, ensuring that circular corners stay circular.

Then it looks good to me. Though not sure if the extra factor complexity over my proposal is worth it. But I'm fine with both.

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


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

Received on Wednesday, 1 October 2025 07:42:49 UTC