Re: [csswg-drafts] [css-view-transitions-2] [scoped] auto-nesting for self-participating scroller scopes (#13420)

@kevers-google pointed out to me that the resolution here is a little broad. So to clarify, I believe the spirit of adding overflow: clip into the UA style sheet can be summarized as the following:

For a scope element E with `view-transition-name` NAME, if E clips its overflow, then add a dynamic stylesheet rule `::view-transition-group-children(NAME) { overflow: clip; }` for the duration of the transition. 

I propose that if either the before or after state of E clips its overflow, the rule is added even if one of before or after state does not clip the overflow.

Note that this also doesn't account for `overflow-clip-margin` that may be present on E which would affect the clipping area. I presume this is rare enough that the developer can deal with it if it arises.

/cc @bramus, can you spot check if this is what you have intended



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


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

Received on Thursday, 26 February 2026 16:40:40 UTC