Re: [csswg-drafts] [css-view-transitions-2] Revisit the behavior of skipping the view transition when there are duplicate names (#13438)

I agree that it may not be intuitive. However, I feel like there's only two options: either do the 1 element thing or do what we do today and skip the animation. The problem is that if we try to do the two or more element thing even if they are all exit/entry animations, we still need to record styles on these. For example, the screen space transform is recorded on the `::view-transition-group()` pseudo. If there is more than one of these pseudos with the same arg/name then we can't record two different styles. We could of course work to somehow support duplicates, but that's where this change would have more sweeping implications throughout the feature and I'm not sure we should go down that path.

(note that the fact that they are exit/entry animations doesn't really help since the group that needs a style is still conflicting between elements on one side of the transition)

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


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

Received on Monday, 16 March 2026 19:41:40 UTC