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

Would `anim` refer to the same object? This achieves the expected result 

`animation.playbackRate > 0 ? "forwards" : "reverse"`

though, of course, `animation.timing.effect.direction` is still `"normal"`. Was just surprising that there does not exist a property to get the current direction of the animation. If playback rate is unrelated to playbac direction, can the differences be clearly distinguished?

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

Received on Thursday, 12 April 2018 15:48:36 UTC