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

Ah yes.  I see a TODO in the Blink implementation to add a condition to prevent aborting if playing a scroll driven animation.  Apologies for not following up on that one.

In Blink, we have an extra condition to avoid an early abort if using a scroll timeline.  This will require clarification in the spec.  Hold time is expected to be set if using a document timeline, but not if using a scroll timeline.  Looking at the play procedure in web-animations-2, I, I see an issue in the "if seek time is resolved" step.  This has us setting the start time if using a finite-timeline, which worked prior to the introduction of view-timelines. As we don't necessarily know at the time of play what the start time should be for a scroll-timeline, we need to defer the calculation, and avoid an early abort if expecting a deferred start time.  I'll follow up with Rob on this. 

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


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

Received on Wednesday, 2 October 2024 17:21:56 UTC