Skip to main content

element.animate() / getAnimations()

The Web Animations API: run keyframe animations from script and list running animations. Specification: drafts.csswg.org/web-animations-1/.

Results​

Probed on 2026-10-19 with Node.js v22.23.3.

warpdom 0.1.6​

Missing

Missing: in this engine's window, this does not hold: typeof element.animate === "function".

Web IDL existence (coverage):

Report a wrong result for warpdom

happy-dom 21.0.3​

Supported

2 of 2 checks work.

Web IDL existence (coverage):

  • Animation: interface present; 13 of 24 members present, missing: id, effect, timeline, playbackRate, replaceState, ready, finished, commitStyles, startTime, trigger, overallProgress.
  • KeyframeEffect: interface present; 2 of 6 members present, missing: target, pseudoElement, composite, iterationComposite.
Report a wrong result for happy-dom

jsdom 30.1.3​

Missing

Missing: in this engine's window, this does not hold: typeof element.animate === "function".

Web IDL existence (coverage):

Report a wrong result for jsdom

linkedom 0.18.13​

Missing

Missing: in this engine's window, this does not hold: typeof element.animate === "function".

Web IDL existence (coverage):

Report a wrong result for linkedom

Checks​

Exists when: typeof element.animate === "function".

  • animate-returns-animation: animate(keyframes, 1000) returns an Animation whose playState is "running" and whose finished is a promise. (spec)
  • get-animations: element.getAnimations() includes the animation just started. (spec)