Re: [csswg-drafts] [css-borders-4] Allow to define individual blur radii for the different sides of box shadows (#9125)

In practice blurs are accomplished with a triple [box blur](https://en.wikipedia.org/wiki/Box_blur) of an appropriate kernel size (about 1/3 of the spread radius, I think?), because this is a very cheap and reasonable approximation of a gaussian blur.

We could do different x and y blurs by just adjusting the kernel size appropriately, I suppose. But adjusting the blur across a single axis would require a totally different approach. If the only use-case is "get slightly better at approximating a physical light source", I'm not sure it would be worthwhile; the shadow still won't be physically accurate.

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


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

Received on Friday, 25 August 2023 23:30:20 UTC