Re: [csswg-drafts] [scroll-animations] Broader scope of scroll timelines (#7759)

> If the timeline attachment changes it changes for the current frame doesn't it?

Actually yes. Disregard what I said. Got confused I guess. :-)

The deferred timeline's _snapshot_ won't be updated to take into account the new attachment until the next frame, but `getAnimations()[i].timeline` would still return the new attachment.

Then the only issue I can think of is that e.g. `.timeline = .timeline` would _not_ be no-op. E.g. calling that on an animation connected to a deferred timeline with no attached timeline would remove the timeline. But as you pointed out elsewhere, that might be similar (enough) to how poking the web animations API too hard generally disconnects the thing from being automatically updated by CSS.

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


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

Received on Wednesday, 3 May 2023 20:08:14 UTC