Re: [csswg-drafts] [css-break] Clarify how `box-shadow` should appear when a box is sliced (#10171)

@Loirooriol This feels like a case for `box-decoration-break: clone`: with it, in Gecko it is possible to do either:

https://codepen.io/kizu/pen/MWRQezr

<img width="153" alt="A screenshot of a CodePen with two wrapping inline elements that have a box-shadow on both fragments, in one case the box-shadow stops before and after wrapping, as if the element was sliced in two, in another case it is as if both fragments were independent." src="https://github.com/w3c/csswg-drafts/assets/177485/e76003a1-8c08-43cf-a77c-ab9b477d47c4">

(note that `box-decoration-break` also seems to work correctly in Gecko with the original example in this issue, and the rendering of that example in Gecko, indeed, makes much more sense.)

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


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

Received on Thursday, 4 April 2024 18:19:52 UTC