- From: kevers-google via GitHub <sysbot+gh@w3.org>
- Date: Thu, 02 Jun 2022 18:01:47 +0000
- To: public-css-archive@w3.org
Expanding on Rob's idea: In the web-animations-1 spec, timeline.currentTime is a scalar quantity and used in animation.currentTime calculations. It is possible that we could extend the notion of current time (in web-animations-2), adding a context-specific time, where the context would be the phase-name in the case of a view timeline. A monotonic timeline or a ScrollTimeline that is not a ViewTimeline would have a single global context. The value of timeline.currentTime would be based on the default/global context for the timeline; however, calculations to get/set the start/current time of an animation could be updated to use the context specific time, defaulting to the global context if the context has not been set. This would allow multiple animations to use the same ViewTimeline instance with different ranges/phases. -- GitHub Notification of comment by kevers-google Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7044#issuecomment-1145156569 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 2 June 2022 18:01:49 UTC