W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

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

From: kevers-google via GitHub <sysbot+gh@w3.org>
Date: Mon, 09 Mar 2020 15:16:11 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-596593063-1583766970-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC