OLD | NEW |
(Empty) | |
| 1 embedSVGTestCase("resources/animation-policy.svg"); |
| 2 |
| 3 function executeTest() { |
| 4 rect = rootSVGElement.ownerDocument.getElementsByTagName("rect")[0]; |
| 5 |
| 6 const expectedValues = [ |
| 7 // [animationId, time, sampleCallback] |
| 8 ["animation", 0.0, sample1], |
| 9 ["animation", 1.0, sample2], |
| 10 ["animation", 1.999, sample3], |
| 11 ["animation", 2.0, sample4], |
| 12 ["animation", 3.1, sample5], |
| 13 ["animation", 3.999, sample6] |
| 14 ]; |
| 15 |
| 16 runAnimationTest(expectedValues); |
| 17 } |
| 18 |
| 19 window.animationStartsImmediately = true; |
| 20 var successfullyParsed = true; |
OLD | NEW |