[csswg-drafts] [scroll-animations-1] Support setting start and end time on scroll timeline. (#7296)

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

== [scroll-animations-1] Support setting start and end time on scroll timeline. ==
In the [rewritten spec](https://drafts.csswg.org/scroll-animations-1/rewrite), AFAICT scroll timeline always animates over the entire scroll range. I think it will be relatively common for developers to want to target a specific length range. While you could technically do this by carefully constructing an element I think we should support simple cases such as animating from 0px to 200px scroll offset.

With this change, I think we could also move the read-only startTime and endTime from ViewTimeline where they are currently defined to the base ScrollTimeline interface.

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


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

Received on Friday, 20 May 2022 17:58:20 UTC