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: Robert Flack via GitHub <sysbot+gh@w3.org>
Date: Wed, 04 Mar 2020 16:32:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-594646409-1583339557-sysbot+gh@w3.org>
To expediate the discussion:

If the above pauses, the `div.style.animationPlayState` would still resolve to running, so we would have to have some level of stickiness in order to ensure the pause, right?

Then does flipping it cause the animation to start running?
```js
div.style.animationPlayState = 'paused';
animation.playState; // still paused, style flushed
div.style.animationPlayState = 'running';
// is it now running?
```

If the above doesn't pause, then setting the start time has no effect?

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4822#issuecomment-594646409 using your GitHub account
Received on Wednesday, 4 March 2020 16:32:40 UTC

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