Re: [csswg-drafts] [web-animations-1] Does an animation have pending events? (#8004)

So my understanding of what is required here:

- Refer to a list instead of a queue, since, although order is important (we do a _stable_ sort), we do more than just queuing and dequeuing and the infra spec seems to prefer the list term in that case
- Define the fact that we also store the animation along with the event since we need it to establish [composite order](https://drafts.csswg.org/web-animations-1/#animation-composite-order)
- While we're at it, we should also indicate _how_ we get from event to composite order -- what if you have no keyframe effect? What if you have multiple keyframe effects?
- We should also define how events with an undefined [scheduled event time](https://drafts.csswg.org/web-animations-1/#scheduled-event-time) sort

(Note that animation playback events target `Animation` objects while CSS transition and animation events target elements so if you need a means to go from event to target element(s), we'd need more spec text for that.)

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


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

Received on Saturday, 5 November 2022 01:31:49 UTC