wpt / css / css-animations / animationevent-interface.html

Status: FAIL | Duration: 66ms | Subtests: 0/42 | Open test on wpt.live | wpt.fyi

Data from commit:
1884860 Copy-on-write style attribute blocks that are in the rule tree (#831) (2026-09-02)

SubtestStatusMessage
the event is an instance of AnimationEventFAILAnimationEvent is not defined
the event inherts from EventFAILAnimationEvent is not defined
Missing type argumentFAILassert_throws_js: First argument is required, so was expecting a TypeError. function "function() { new AnimationEvent(); }" threw object "ReferenceError: AnimationEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
type argument is stringFAILAnimationEvent is not defined
type argument is nullFAILAnimationEvent is not defined
event type set to undefinedFAILAnimationEvent is not defined
animationName has default value of empty stringFAILAnimationEvent is not defined
elapsedTime has default value of 0.0FAILAnimationEvent is not defined
animationName is readonlyFAILAnimationEvent is not defined
elapsedTime is readonlyFAILAnimationEvent is not defined
animationEventInit argument is nullFAILAnimationEvent is not defined
animationEventInit argument is undefinedFAILAnimationEvent is not defined
animationEventInit argument is empty dictionaryFAILAnimationEvent is not defined
AnimationEvent.pseudoElement initialized from the dictionaryFAILAnimationEvent is not defined
animationName set to 'sample'FAILAnimationEvent is not defined
animationName set to undefinedFAILAnimationEvent is not defined
animationName set to nullFAILAnimationEvent is not defined
animationName set to falseFAILAnimationEvent is not defined
animationName set to trueFAILAnimationEvent is not defined
animationName set to a numberFAILAnimationEvent is not defined
animationName set to []FAILAnimationEvent is not defined
animationName set to [1, 2, 3]FAILAnimationEvent is not defined
animationName set to an objectFAILAnimationEvent is not defined
animationName set to an object with a valueOf functionFAILAnimationEvent is not defined
elapsedTime set to 0.5FAILAnimationEvent is not defined
elapsedTime set to -0.5FAILAnimationEvent is not defined
elapsedTime set to undefinedFAILAnimationEvent is not defined
elapsedTime set to nullFAILAnimationEvent is not defined
elapsedTime set to falseFAILAnimationEvent is not defined
elapsedTime set to trueFAILAnimationEvent is not defined
elapsedTime set to ''FAILAnimationEvent is not defined
elapsedTime set to []FAILAnimationEvent is not defined
elapsedTime set to [0.5]FAILAnimationEvent is not defined
elapsedTime set to an object with a valueOf functionFAILAnimationEvent is not defined
elapsedTime cannot be set to NaNFAILassert_throws_js: elapsedTime cannot be NaN so was expecting a TypeError function "function() { new AnimationEvent("test", {elapsedTime: NaN}); }" threw object "ReferenceError: AnimationEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
elapsedTime cannot be set to InfinityFAILassert_throws_js: elapsedTime cannot be Infinity so was expecting a TypeError function "function() { new AnimationEvent("test", {elapsedTime: Infinity}); }" threw object "ReferenceError: AnimationEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
elapsedTime cannot be set to -InfinityFAILassert_throws_js: elapsedTime cannot be -Infinity so was expecting a TypeError function "function() { new AnimationEvent("test", {elapsedTime: -Infinity}); }" threw object "ReferenceError: AnimationEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
elapsedTime cannot be set to 'sample'FAILassert_throws_js: elapsedTime cannot be a string so was expecting a TypeError function "function() { new AnimationEvent("test", {elapsedTime: "sample"}); }" threw object "ReferenceError: AnimationEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
elapsedTime cannot be set to [0.5, 1.0]FAILassert_throws_js: elapsedTime cannot be a multi-element array so was expecting a TypeError function "function() { new AnimationEvent("test", {elapsedTime: [0.5, 1.0]}); }" threw object "ReferenceError: AnimationEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
elapsedTime cannot be set to an objectFAILassert_throws_js: elapsedTime cannot be an object so was expecting a TypeError function "function() { new AnimationEvent("test", {elapsedTime: { sample: 0.5}}); }" threw object "ReferenceError: AnimationEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
AnimationEventInit properties set valueFAILAnimationEvent is not defined
AnimationEventInit animation property sets valueFAILnot a callable function

/css/css-animations/animationevent-interface.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Animations Test: AnimationEvent interface</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://drafts.csswg.org/css-animations-1/#interface-dom">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>@keyframes sample {}</style>
<div id="log"></div>
<div id="test"></div>
<script src="animationevent-interface.js"></script>