Re: [csswg-drafts] [css-break] box-decoration-break:clone on the root (#13706)

> My intuition would be that with `box-declaration-break: clone` on the `:root`, you get a gradient per page, and otherwise, you have a gradient running through the whole set of pages

That's also my intuition.

And I _think_ the related spec text already defines it that way, though it is somewhat vague.

[CSS Break 3](https://drafts.csswg.org/css-break-3/#break-decoration):

> When a break [...] splits a box, the `box-decoration-break` property controls how the background positioning area [...] is derived from or duplicated across the box fragments and how the element’s background is drawn within them.

[CSS Backgrounds 4](https://drafts.csswg.org/css-backgrounds-4/#root-background):

> [...] any images are sized and positioned relative to the root element’s box as if they were painted for that element alone. (In other words, the background positioning area is determined as for the root element.)

Sebastian

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


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

Received on Tuesday, 24 March 2026 21:28:13 UTC