- From: kevers-google via GitHub <noreply@w3.org>
- Date: Fri, 01 May 2026 19:14:58 +0000
- To: public-css-archive@w3.org
Getting stuck waiting on the ready promise feels off in the null timeline case as well, when the animation is frozen at currentTime 0 waiting (possibly indefinitely) on a resolved timeline with a timeline time. (see https://github.com/w3c/csswg-drafts/issues/13817). If the ready promise can resolve before the timeline is active, we can be left in an awkward position in calculating playState. If holdTime and startTime are both unresolved, and not pending(), then the animation would be considered idle. Naturally, this could be resolved by adding a new state, or forcing a start time (still not in effect if timeline.currentTime is unresolved). Once playing, there is no issue with the timeline becoming inactive and then active again due to the scroll range disappearing and reappearing. What differs here is that when the timeline becomes inactive, we can maintain that we are still playing but not in effect, because we have a value for startTime. Methinks we can apply a sensible start time when the timeline is inactive, provided the animation is set to auto-align its start time as the scroll range changes. Playing an animation currently sets auto-alignment for scroll based animations. -- GitHub Notification of comment by kevers-google Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9256#issuecomment-4361145180 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 1 May 2026 19:14:59 UTC