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

[csswg-drafts] Pull Request: [web-animations-1] [scroll-animations-1] Support automatic duration scroll animations #4862

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Jul 2020 00:49:09 +0000
To: public-css-archive@w3.org
Message-ID: <pull_request.labeled-391709433-None-sysbot+gh@w3.org>
frivoal has just labeled a pull request from flackr for https://github.com/w3c/csswg-drafts as "css-animations-1":

== [web-animations-1] [scroll-animations-1] Support automatic duration scroll animations #4862 ==
Change the implicit handling of auto duration animations to use the duration of the supplied timeline, giving ScrollTimeline an implicit duration of 100s corresponding to 100% of their progress.

I think this is about the minimum that could be done to support the use case in #4862 and also doesn't significantly complicate web animations. While I like the idea of supporting arbitrary percentages specified in the future, it's easy to see how the specified duration 'auto' implicitly maps to 100% of the duration.

The only change to existing behavior is that no supplied animation duration would result in an infinite duration (from the DocumentTimeline) rather than 0 duration as defined today.

See https://github.com/w3c/csswg-drafts/pull/4890
Received on Tuesday, 14 July 2020 00:49:11 UTC

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