2 <title>EventHandlers on SVGAnimationElement test
</title>
3 <script src=
"../../resources/testharness.js"></script>
4 <script src=
"../../resources/testharnessreport.js"></script>
5 <script src=
"script-tests/animation-events.js"></script>
7 var attributeToEventMap
= {
8 "onbegin" : "beginEvent",
10 "onrepeat" : "repeatEvent"
13 for (var attribute
in attributeToEventMap
) {
16 "SVGAnimateMotionElement",
17 "SVGAnimateTransformElement",
19 ].forEach(function(interface) {
20 testSet(interface, attribute
);
21 testEnumerate(interface, attribute
);
22 testReflect(interface, attribute
);
25 testEventHandlerMapping(attribute
, attributeToEventMap
[attribute
]);