Re: [csswg-drafts] [css-view-transitions-1] Where are the "named elements" map cleaned up? (#9669)

> @noamr The named elements map is used as input to build the pseudo element tree, so it's rather important that cleanup is specified. Otherwise, implementing as it is means that the pseudo element tree will be built with non-existent groups if you do the following steps:
> 
> * start a view transition with A & B having view-transition-names
> 
> * wait for it to end
> 
> * set `view-transition-name: none` on B
> 
> * start another view-transition
> 
> 
> 
> -> B gets constructed along with A (even though B has `view-transition-name: none`)

Oh I see. The named element map is associated with a particular ViewTransition object, so starting a new one would ignore any existing one from a previous transition.

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


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

Received on Saturday, 2 December 2023 11:38:39 UTC