Re: [csswg-drafts] [web-animations-2] [scroll-animations-1] Auto-aligning the start time of an animation associated with a scroll timeline (#10965)

I believe this section is missing a condition:

https://www.w3.org/TR/web-animations-1/#waiting-for-the-associated-effect

Presently the conditions for being ready are that: 
* User agent has completed any setup...
* Timeline is active.

Adding a third condition that the animation has a start or hold time, resolves things.  This keeps the animation in a play pending state until we have a resolved (auto-aligned) start time.

Previously, the timeline being active was sufficient, but now we potentially need a layout update to resolve the view timeline range and calculate an auto-aligned start time. This effectively leaves the animation not in effect while waiting on the animation to be ready, but this prevents a potential flicker by initializing with one start time only to jump to another after the view timeline range has been updated.

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


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

Received on Tuesday, 1 October 2024 14:31:49 UTC