Re: [csswg-drafts] [css-view-transitions-1] Should view transition names be tree scoped? (#10145)

Perhaps we should follow [Scroll Timeline](https://drafts.csswg.org/scroll-animations/#other-specs) example here which treats everything as a flat tree:

> Like most operations in CSS besides [selector](https://drafts.csswg.org/selectors-4/#selector) matching, features in this specification operate over the [flattened element tree](https://drafts.csswg.org/css-scoping-1/#flat-tree).

In ViewTransitions, we limit `view-transition-name` in [this algorithm](https://drafts.csswg.org/css-view-transitions-1/#capture-old-state-algorithm), but in the same algorithm use flat tree ancestors, which seems contradictory.

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


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

Received on Monday, 17 June 2024 16:48:25 UTC