Re: [csswg-drafts] [css-animations-2] Consider not generating a CSSAnimation with null timeline (#7364)

The [step 11 of setting-the-timeline in web-animations-2](https://drafts.csswg.org/web-animations-2/#setting-the-timeline):
> If from finite timeline and previous progress is resolved,
-> Run the procedure to set the current time to previous progress * [end time].

So this is a general case when changing the timeline from a scroll-timeline to any other one (including null timeline).
If there is an end time and previous progress, we set the current time for the animation.

If this is the use case that the developers want, option 2 may be what we need.

-- 
GitHub Notification of comment by BorisChiou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7364#issuecomment-1162437886 using your GitHub account


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

Received on Tuesday, 21 June 2022 22:49:13 UTC