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

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