- From: Oriol Brufau via GitHub <noreply@w3.org>
- Date: Mon, 25 Aug 2025 21:30:39 +0000
- To: public-css-archive@w3.org
> What if we embraced that and made shadow spread behave exactly like outline/stroke @noamr Can you clarify what you mean with "outline/stroke"? Is it just the discontinuous algorithm from https://drafts.csswg.org/css-backgrounds-3/radius-expansion ? That is, if the radius is zero keep it zero, otherwise increase it by the spread distance. Outer outlines should just follow the same algorithm as outer shadows. Now I'm seeing that it's not the case for Blink, it kept the old discontinuous algorithm for outlines, while it adopted the new one from the spec for shadows and `overflow-clip-margin`. That seems nonsensical, everything should use the same algo. The last case in your image shows the problem: the inner element only has a negligible 1px border radius for the bottom right corner, while the shadow has a big radius. So that doesn't seem continuous at all. Of course feel free to argue that the discontinuous algorithm may be preferable. But the discontinuity is a bit undesirable (that's why the spec adopted the current algorithm), so we need to be clear. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7103#issuecomment-3221806514 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 25 August 2025 21:30:39 UTC