Chromium Code Reviews| 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 ["an1", 0.0, sample1], | |
|
fs
2014/12/25 17:32:07
I don't remember the details of this "framework",
je_julie(Not used)
2014/12/27 07:08:53
I changed it to animation.
| |
| 9 ["an1", 1.0, sample2], | |
| 10 ["an1", 1.999, sample3], | |
| 11 ["an1", 2.0, sample4], | |
| 12 ["an1", 3.1, sample5], | |
| 13 ["an1", 3.999, sample6] | |
| 14 ]; | |
| 15 | |
| 16 runAnimationTest(expectedValues); | |
| 17 } | |
| 18 | |
| 19 window.animationStartsImmediately = true; | |
| 20 var successfullyParsed = true; | |
| OLD | NEW |