W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

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

From: kevers-google via GitHub <sysbot+gh@w3.org>
Date: Wed, 28 Jul 2021 15:00:32 +0000
To: public-css-archive@w3.org
Message-ID: <pull_request.opened-698773737-1627484431-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:39 UTC