Re: [csswg-drafts] [css-animations-2] Specify the interaction between API methods and animation-* properties (#4822)

What is the expected override behavior in the following case:

div.style.animation = 'anim 100s';
const animation = div.getAnimations()[0];
div.style.animationPlayState = 'paused';
reverse();
div.style.animationPlayState = 'paused';

Should reverse override animationPlayState since going from a pending pause state to pending play?  In other words, should reverse and startTime be flushing any pending changes to play state? Admittedly a very contrived case.

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

Received on Monday, 9 March 2020 15:16:17 UTC