You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These events have a weird lifetime, and there are various times involved:
The time the event was supposed to happen (e.g., the theoretical animation end).
The time the event is enqueued.
The time the event is dispatched.
I think per spec right now the timeStamp should be the time the event is enqueued, but should it be? Do we want to expose this time? If so it might be worth calling it out in the spec.
Yes, I agree that in the absence of any particular spec text here it should be when the event is enqueued.
For what it's worth, we already have the concept of the scheduled event time which we use for sorting events queued at the same time. I think we could use that for the timeStamp if it's more useful to authors but I can't recall the implications of doing that.
Would it be weird if animation and transitions events appeared to be out of order compared to other non-animation events based on their timeStamps?
Also, I think animation events from scroll-based animations have no scheduled event time so we'd have to decide what timeStamp they get.
These events have a weird lifetime, and there are various times involved:
I think per spec right now the timeStamp should be the time the event is enqueued, but should it be? Do we want to expose this time? If so it might be worth calling it out in the spec.
There are no tests for this at all afaics.
cc @birtles @flackr
The text was updated successfully, but these errors were encountered: