[csswg-drafts] [css-animations-2] calling `cancel()` on a CSS Animation should prevent further changes made from CSS to apply (#13503)

graouts has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-animations-2] calling `cancel()` on a CSS Animation should prevent further changes made from CSS to apply ==
The [Animations](https://drafts.csswg.org/css-animations-2/#animations) section of CSS Animations Level 2 defines how calling a number of methods exposed by the Web Animations API changes how further updates to `animation-*` properties may be ignored. There is however no such rule for the [`cancel()`](https://drafts.csswg.org/web-animations-1/#dom-animation-cancel) method. However, it would make sense that changes to most if not all of those properties would be disregarded, such as `animation-play-state` which is explicitly tested in the WPT test `css/css-animations/CSSAnimation-canceling.tentative.html`. The spec should make clear which properties are considered to be ignored after calling that method.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13503 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 16 February 2026 10:25:35 UTC