OLD | NEW |
1 description("Test calcMode=discrete animation on SVGAnimateTransform."); | 1 description("Test calcMode=discrete animation on SVGAnimateTransform."); |
2 createSVGTestCase(); | 2 createSVGTestCase(); |
3 | 3 |
4 // Setup test document | 4 // Setup test document |
5 var rect = createSVGElement("rect"); | 5 var rect = createSVGElement("rect"); |
6 rect.setAttribute("id", "rect"); | 6 rect.setAttribute("id", "rect"); |
7 rect.setAttribute("width", "100"); | 7 rect.setAttribute("width", "100"); |
8 rect.setAttribute("height", "100"); | 8 rect.setAttribute("height", "100"); |
9 rect.setAttribute("x", "0"); | 9 rect.setAttribute("x", "0"); |
10 rect.setAttribute("y", "0"); | 10 rect.setAttribute("y", "0"); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 ["animation", 3.0, "rect", sample3], | 57 ["animation", 3.0, "rect", sample3], |
58 ["animation", 3.9999, "rect", sample3], | 58 ["animation", 3.9999, "rect", sample3], |
59 ]; | 59 ]; |
60 | 60 |
61 runAnimationTest(expectedValues); | 61 runAnimationTest(expectedValues); |
62 } | 62 } |
63 | 63 |
64 // Begin test async | 64 // Begin test async |
65 window.setTimeout("triggerUpdate(50, 50)", 0); | 65 window.setTimeout("triggerUpdate(50, 50)", 0); |
66 var successfullyParsed = true; | 66 var successfullyParsed = true; |
OLD | NEW |