Re: [csswg-drafts] [css-animations-2][web-animations-2] How should `animation-play-state` interact with `animation-trigger`? (#12064)

> so the question is what do you mean by "override"?
> In the above mentioned issue we proposed that if a user invoked some method of the WAAPI it still applies its effect, but does not prevent the trigger from continuing to function afterwards.

@ydaniv That sounds fine but it makes me wonder, does `cancel()` still cause the animation to have no effect (including the "put it in the before phase with a zero time" behavior)?

That is, can a user still do `element.getAnimations().forEach(anim => anim.cancel()` and be sure that the element is no longer affected by animations on it? (With the exception of animations on ancestors/descendants)

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


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

Received on Monday, 14 April 2025 00:41:22 UTC