aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-animations/animationevent-interface.js
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2018-05-18 22:02:29 -0400
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2018-05-18 23:55:46 -0400
commit24183668c448e739f556dcd2b45a803fd7657a00 (patch)
treecbcac695dc02eee4872115d9c1f096521efbd54f /tests/wpt/web-platform-tests/css/css-animations/animationevent-interface.js
parentfe1a057bd1dac069998c7f4fd23027bb0629025e (diff)
downloadservo-24183668c448e739f556dcd2b45a803fd7657a00.tar.gz
servo-24183668c448e739f556dcd2b45a803fd7657a00.zip
Update web-platform-tests to revision 81962ac8802223d038b188b6f9cb88a0a9c5beee
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.js5
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'");