Re: [csswg-drafts] [web-animations-1] The definition of a current effect should reflect the playback rate (#3193)

When reviewing this, @hiikezoe raised a good question about the behavior when `playbackRate == 0`.

One the one hand, in many places we treat `playbackRate == 0` as a positive playback rate, but in this case we probably don't need to.

Do you think it would make sense to treat an animation in the before phase with `playbackRate == 0` as NOT current?

One effect of this is that if an author does `anim.playbackRate = 0` to pause an animation in its delay phase it will mean that animation no longer appears in the result of `anim.effect.target.getAnimations()`. I think that might be ok though?

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

Received on Wednesday, 9 January 2019 04:42:34 UTC