Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / svg / animation-events.html
blob56d1e227ffded09c43a3c563a0d14b1e250cb1bc
1 <!DOCTYPE html>
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>
6 <script>
7 var attributeToEventMap = {
8 "onbegin" : "beginEvent",
9 "onend" : "endEvent",
10 "onrepeat" : "repeatEvent"
13 for (var attribute in attributeToEventMap) {
15 "SVGAnimateElement",
16 "SVGAnimateMotionElement",
17 "SVGAnimateTransformElement",
18 "SVGSetElement"
19 ].forEach(function(interface) {
20 testSet(interface, attribute);
21 testEnumerate(interface, attribute);
22 testReflect(interface, attribute);
23 });
25 testEventHandlerMapping(attribute, attributeToEventMap[attribute]);
27 </script>
28 <div id="log"></div>