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)
| Subtest | Status | Message |
|---|---|---|
| the event is an instance of AnimationEvent | FAIL | AnimationEvent is not defined |
| the event inherts from Event | FAIL | AnimationEvent is not defined |
| Missing type argument | FAIL | assert_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 string | FAIL | AnimationEvent is not defined |
| type argument is null | FAIL | AnimationEvent is not defined |
| event type set to undefined | FAIL | AnimationEvent is not defined |
| animationName has default value of empty string | FAIL | AnimationEvent is not defined |
| elapsedTime has default value of 0.0 | FAIL | AnimationEvent is not defined |
| animationName is readonly | FAIL | AnimationEvent is not defined |
| elapsedTime is readonly | FAIL | AnimationEvent is not defined |
| animationEventInit argument is null | FAIL | AnimationEvent is not defined |
| animationEventInit argument is undefined | FAIL | AnimationEvent is not defined |
| animationEventInit argument is empty dictionary | FAIL | AnimationEvent is not defined |
| AnimationEvent.pseudoElement initialized from the dictionary | FAIL | AnimationEvent is not defined |
| animationName set to 'sample' | FAIL | AnimationEvent is not defined |
| animationName set to undefined | FAIL | AnimationEvent is not defined |
| animationName set to null | FAIL | AnimationEvent is not defined |
| animationName set to false | FAIL | AnimationEvent is not defined |
| animationName set to true | FAIL | AnimationEvent is not defined |
| animationName set to a number | FAIL | AnimationEvent is not defined |
| animationName set to [] | FAIL | AnimationEvent is not defined |
| animationName set to [1, 2, 3] | FAIL | AnimationEvent is not defined |
| animationName set to an object | FAIL | AnimationEvent is not defined |
| animationName set to an object with a valueOf function | FAIL | AnimationEvent is not defined |
| elapsedTime set to 0.5 | FAIL | AnimationEvent is not defined |
| elapsedTime set to -0.5 | FAIL | AnimationEvent is not defined |
| elapsedTime set to undefined | FAIL | AnimationEvent is not defined |
| elapsedTime set to null | FAIL | AnimationEvent is not defined |
| elapsedTime set to false | FAIL | AnimationEvent is not defined |
| elapsedTime set to true | FAIL | AnimationEvent is not defined |
| elapsedTime set to '' | FAIL | AnimationEvent is not defined |
| elapsedTime set to [] | FAIL | AnimationEvent is not defined |
| elapsedTime set to [0.5] | FAIL | AnimationEvent is not defined |
| elapsedTime set to an object with a valueOf function | FAIL | AnimationEvent is not defined |
| elapsedTime cannot be set to NaN | FAIL | assert_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 Infinity | FAIL | assert_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 -Infinity | FAIL | assert_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' | FAIL | assert_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] | FAIL | assert_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 object | FAIL | assert_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 value | FAIL | AnimationEvent is not defined |
| AnimationEventInit animation property sets value | FAIL | not 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>