Re: [csswg-drafts] [web-animations-1] Finished pending state (#5452)

Right, the `PendingAnimationTracker` is used to run the steps corresponding to the _task_ (not microtask) for when an animation becomes ready. The `AsyncFinishNotification` is used to run the microtask for finish notifications. I believe this is to spec since the spec is deliberately vague about what "ready" means (so that implementations can choose the optimal timing in order to produce smooth animation) and hence when those steps actually run. It doesn't require they are scheduled as a microtask and so it is expected there are two queues.

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


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

Received on Wednesday, 19 August 2020 07:46:37 UTC