[csswg-drafts] Pull Request: [web-animation-2] Making currentTime and startTime CSSNumerish

kevers-google has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [web-animation-2] Making currentTime and startTime CSSNumerish ==
[web-animation-2] Making currentTime and startTime CSSNumerish

The animation attributes currentTime and startTime were nullable doubles and represented times in units of milliseconds.  These units do not align well with progress based animations where it is more natural to work in percentages.

With this change, progress based animations expect and report times as percentages.  When setting current or start time, the value may be expressed as a double with implicit units of milliseconds, or as a CSSNumericValue with duration units ('s' or 'ms') when the animation is associated with a non-monotonic timeline. 

issue #6458

See https://github.com/w3c/csswg-drafts/pull/6479


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

Received on Wednesday, 28 July 2021 15:00:34 UTC