diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-animations/animationevent-interface.js')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-animations/animationevent-interface.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-animations/animationevent-interface.js b/tests/wpt/web-platform-tests/css/css-animations/animationevent-interface.js index 7aee234eb43..56d30a4a377 100644 --- a/tests/wpt/web-platform-tests/css/css-animations/animationevent-interface.js +++ b/tests/wpt/web-platform-tests/css/css-animations/animationevent-interface.js @@ -69,6 +69,11 @@ }, "animationEventInit argument is empty dictionary"); test(function() { + var event = new AnimationEvent("test", {pseudoElement: "::testPseudo"}); + assert_equals(event.pseudoElement, "::testPseudo"); + }, "AnimationEvent.pseudoElement initialized from the dictionary"); + + test(function() { var event = new AnimationEvent("test", {animationName: "sample"}); assert_equals(event.animationName, "sample"); }, "animationName set to 'sample'"); |