Re: [csswg-drafts] [css-shared-element-transitions-1] Define "active animation" used to signal end of transition (#7785)

OK, I guess I was confusing a bit between `Animation.currentTime` and `Timeline.currentTime`, but still, you can see what I mean in the following example: https://codepen.io/ydaniv/pen/PoeLbqZ
I create an animation with `timeline = document.timeline`.
The animation is paused, and I can scrub it via user interactions, in this example on `scroll` events, but doesn't have to be.

So the question is whether we're ok with this pattern?

> Btw a use-case for paused animations that I had in mind relates to network events

Yes, exactly. This is a typical use-case for holding an animation, and of course, after simple gesture like a swipe or a click,  and then assuming the developer simply calls `.play()`.

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


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

Received on Friday, 14 October 2022 21:13:10 UTC