OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <title>GlobalEventHandlers test</title> | |
fs
2014/03/17 14:35:27
Nit: "Animation events test" (or something - not "
Erik Dahlström (inactive)
2014/03/17 15:52:37
Done.
| |
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 [ | |
8 "onbegin", | |
9 "onend", | |
10 "onrepeat" | |
11 ].forEach(function(attribute) { | |
12 testSet("SVGAnimateElement", attribute); | |
fs
2014/03/17 14:35:27
Nested forEach? =) (I think that would help readab
Erik Dahlström (inactive)
2014/03/17 15:52:37
Somewhat changed now due to the added eventname te
| |
13 testEnumerate("SVGAnimateElement", attribute); | |
14 testReflect("SVGAnimateElement", attribute); | |
15 testSet("SVGAnimateMotionElement", attribute); | |
16 testEnumerate("SVGAnimateMotionElement", attribute); | |
17 testReflect("SVGAnimateMotionElement", attribute); | |
18 testSet("SVGAnimateTransformElement", attribute); | |
19 testEnumerate("SVGAnimateTransformElement", attribute); | |
20 testReflect("SVGAnimateTransformElement", attribute); | |
21 testSet("SVGSetElement", attribute); | |
22 testEnumerate("SVGSetElement", attribute); | |
23 testReflect("SVGSetElement", attribute); | |
24 }); | |
25 </script> | |
fs
2014/03/17 14:35:27
Any way to test that the mapping works?
Erik Dahlström (inactive)
2014/03/17 15:52:37
The event -> attribute name? Sure, I can add that.
| |
26 <div id="log"></div> | |
OLD | NEW |