Re: [csswg-drafts] [css-shared-element-transitions-1] Define "active animation" used to signal end of transition (#7785)

I think we should do it by:

1. While true:
    1. Let animations be all the not-finished animations targeting the transition pseudo-elements
    2. If there are none, the transition is over. Return.
    3. Wait for all animations to finish.
    4. Wait some kind of task/microtask to allow animations to be chained via those animations' finish event & finished promise.

For animations that don't use CSS/web animations, we'll add some other API for that later.

I haven't looked into the detail for 1.4, but I seem to remember the animations spec does something odd with the event loop here.

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


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

Received on Saturday, 24 September 2022 13:20:24 UTC