Re: [csswg-drafts] [css-view-transitions-2] Element-scoped view transitions (#9890)

What is the recommended way to override `view-transition-scope: all`, which is automatically applied to the `transitionRoot` of an active scoped view transition?

The [Self Participating Scopes](https://docs.google.com/document/d/1I_38aS2_W1iKT35wClsKvoJ8JYDPCmuVuhPmowSG6pU/edit?pli=1&tab=t.0) document states:

> If scopes are self-participating by default, then they should probably also be `contain: view-transition` by default, so that an outer transition does not try to use an inner transition's scope as a participant in the outer transition.

My reading of 'by default' is that it describes a default rather than a constraint, but I may be misinterpreting this. Should authors be able to override `view-transition-scope: all` in such cases, or is this deliberately not exposed? Personally, having an explicit escape hatch here would be very useful, for example, to allow the outer transition to capture elements that are added to the inner scope after the inner transition has started.


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


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

Received on Saturday, 25 April 2026 13:12:25 UTC