[csswg-drafts] [web-animations-2] Makes finish and cancel event times CSSNumberish (#6563)

kevers-google has just created a new issue for https://github.com/w3c/csswg-drafts:

== [web-animations-2] Makes finish and cancel event times CSSNumberish ==
Per spec, the finished event's currentTime is the current time of the animation, and the finished event's timelineTime is the current time of timeline.  Same story for a cancel event. With https://github.com/w3c/csswg-drafts/pull/6479 (https://github.com/w3c/csswg-drafts/issues/6458), the animations current time becomes CSSNumberish, yet the times in AnimationPlaybackEvent are declared as nullable doubles.  These should be CSSNumberish as well.  This change is backward compatible for monotonic timelines, but is required to support progress-based timelines, where current time must be expressed as a percentage and not a double in ms.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6563 using your GitHub account


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

Received on Tuesday, 31 August 2021 20:42:20 UTC