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)

I have been checking, and modifying my proposal to use the min of the coverages instead of the max improves some cases.

| max | min |
| - | - |
| <img width="1171" height="1525" src="https://github.com/user-attachments/assets/710357e1-3a77-4619-9b6f-70d8699fc800" /> | <img width="1171" height="1525" src="https://github.com/user-attachments/assets/335a8877-33d7-45df-a411-a70a7d9c433a" /> |

The first two cases look quite similar, but using the min, the shadow has slightly smaller radii. The corners are a bit ticker than what you would get by just adding the spread distance to the inner radii, but seems fine.

The last two cases look quite better with the min.

The other cases not shown in the images are identical or the difference is negligible.

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


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

Received on Sunday, 24 August 2025 15:04:09 UTC