- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 10 Jun 2022 15:23:54 +0000
- To: public-css-archive@w3.org
Another approach could be just keeping > To preserve the box’s shape when spread is applied, the corner radii of the shadow are also increased (decreased, for inner shadows) from the border-box (padding-box) radii by adding (subtracting) the [spread distance](https://www.w3.org/TR/css-backgrounds-3/#spread-distance) (and flooring at zero). with no further adjustment. This would imply that shadows would have rounded corners even with `border-radius: 0px`, but the trick would be that the initial value would be changed to `border-radius: none`. `none` would behave like `0px`, but keeping shadows sharp. Though this may have compat problems since probably there are various sites setting `border-radius: 0px` expecting a sharp shadow. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7103#issuecomment-1152478262 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 June 2022 15:23:56 UTC