Re: [csswg-drafts] [css-view-transitions-2] Starting a transition half way through another transition (#8687)

This way solves the problem and is also reasonably intuitive: 

> The only sensible thing we could do here is create a transition group for the user-avatar using its DOM state-B as the 'old' and DOM state-C as the 'new'. That might result in the user seeing multiple user-avatars, since a copy of it is already baked into another group.

State A should remain in the pseudo-element tree until its transition is finished, even if the transition has been interrupted with state C. Perhaps setting `animation-play-state` to `paused`, or simply `animation` to `none` could complete the A transition early and remove the corresponding pseudo-element.

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


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

Received on Thursday, 17 August 2023 13:35:23 UTC