Re: [csswg-drafts] [web-animations-1][scroll-animations-1] Animations on inactive timelines should still become ready (#9256)

> Is there a need for scroll-animations to be considered inactive if the scroller isn't scrollable? Could they be active but with a range of zero?

I like this train of thought. We went with making them inactive because it had the visual side effect we wanted - the animation does not produce an effect - but it doesn't match the implied meaning of an inactive timeline not being "ready".

I think it would be better for scroll timelines to be considered active but by some means produce no effect when the range is zero. This could be by having a null currentTime, which [normally is only produced by inactive timelines](https://drafts.csswg.org/web-animations-1/#dom-animationtimeline-currenttime).

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


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

Received on Saturday, 9 September 2023 16:35:39 UTC