OLD | NEW |
1 description("Tests that XML and CSS attributeTypes can be switched between."); | 1 description("Tests that XML and CSS attributeTypes can be switched between."); |
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("x", "100"); | 7 rect.setAttribute("x", "100"); |
8 rect.setAttribute("width", "100"); | 8 rect.setAttribute("width", "100"); |
9 rect.setAttribute("height", "100"); | 9 rect.setAttribute("height", "100"); |
10 rect.setAttribute("fill", "green"); | 10 rect.setAttribute("fill", "green"); |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 ["set", 1.5, sample4], | 68 ["set", 1.5, sample4], |
69 ["set", 2.0, sample5], | 69 ["set", 2.0, sample5], |
70 ["set", 2.5, sample6] | 70 ["set", 2.5, sample6] |
71 ]; | 71 ]; |
72 | 72 |
73 runAnimationTest(expectedValues); | 73 runAnimationTest(expectedValues); |
74 } | 74 } |
75 | 75 |
76 window.clickX = 150; | 76 window.clickX = 150; |
77 var successfullyParsed = true; | 77 var successfullyParsed = true; |
OLD | NEW |