Re: [csswg-drafts] [web-animations-1] Should calling `reverse()` set `effect.timing.direction` to `"reverse"`?

Thank you for filing this issue. `reverse()` is defined to update the playback rate of an `Animation`. It is unrelated to the playback direction of an effect.

So, to answer your question, `reverse()` should not change `effect.timing.direction`.

You can determine if an animation is being played backwards by looking at `Animation.playbackRate`.

I'm closing this issue for now but please let me know if this does not satisfy your concern.

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

Received on Thursday, 12 April 2018 07:23:07 UTC