Re: [csswg-drafts] [css-view-transitions-1] Clarify capturing the background of the root element (in terms of css-backgrounds-3) (#11083)

> For the root element, should that also include the canvas background, top layer content, but not canvas surface that become invisible? Or should those be rendered in both the snapshot, as well as outside of it.

Those should be rendered only in the snapshot. The goal was to have what is generally drawn in the root stacking context to be captured as the snapshot. The root stacking context during the transition would then draw the UA-defined color described [here](https://www.w3.org/TR/CSS22/zindex.html#painting-order:~:text=given%20a%20UA%2Ddefined%20color%20if%20it%20is%20not). Happy for suggestions on making the spec wording clearer on this.

And if there's any test cases where that's not happening, then it's a bug. Can you land them as WPTs and flag them here to fix on the Blink side.

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


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

Received on Wednesday, 6 November 2024 16:18:11 UTC