- From: Yehonatan Daniv via GitHub <sysbot+gh@w3.org>
- Date: Mon, 14 Apr 2025 07:13:15 +0000
- To: public-css-archive@w3.org
> @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) Sure, any method should apply its effect, so calling `cancel()` should terminate that animation and any effect it applies. -- GitHub Notification of comment by ydaniv Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12064#issuecomment-2800688908 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 07:13:15 UTC