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)

> These examples are misleading because they don't have shadow offset so the shadow looks a bit like a border.

Authors do this often, though. The box-shadow property is inspired by shadows, but it isn't a real shadow, and is optimized for being useful to authors, not for being shadow-like.

The "percentage of same axis" option in [Oriol's testcases](https://people.igalia.com/obrufau/testcases/shadow-radius/) looks super weird on a number of testcases, so this is why we previously rejected it as not good enough.

AFAICT the best option is the Oriol Variation #2, which pulls the coverage ratio out of the cube operation. We should resolve on using that, imho.

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


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

Received on Thursday, 21 August 2025 21:07:24 UTC