[csswg-drafts] [css-backgrounds-3][css-borders-4] Only the principal box should get a shadow (#9286)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds-3][css-borders-4] Only the principal box should get a shadow ==
https://drafts.csswg.org/css-backgrounds-3/#shadow-layers, https://drafts.csswg.org/css-borders-4/#shadow-layers

> If an element has multiple boxes, all of them get drop shadows, but shadows are only drawn where borders would also be drawn; see [`box-decoration-break`](https://drafts.csswg.org/css-break-4/#propdef-box-decoration-break).

This is wrong: only the [principal box](https://drafts.csswg.org/css-display-3/#principal-box) should get the shadow. If that box has multiple fragments, then all of them get shadows, according to `box-decoration-break`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9286 using your GitHub account


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

Received on Thursday, 31 August 2023 21:30:47 UTC