W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] [web-animations] Could commitStyles always write the end state of the animation? (#5394)

From: Robert Flack via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 Jan 2021 14:00:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-759467114-1610546450-sysbot+gh@w3.org>
I strongly agree with all of your suggested answers. I think this is going to be the least surprising and most compatible way to implement it.

One thought about point 1 (doesn't affect this proposal), given that commitStyles applies styles at the bottom of the animation stack (i.e. because inline style applies before animation styles), it seems as if commitStyles could only apply the current animation rather than all animations beneath it with the expectation that you would have already had an opportunity to commit the animations below it. This may be less surprising than committing the effect of multiple animations with one call.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 January 2021 14:00:53 UTC

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