OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <img id="a" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?a"> | 2 <img id="a" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?a"> |
3 <img id="b" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?b"> | 3 <img id="b" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?b"> |
4 <img id="c" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?c"> | 4 <img id="c" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?c"> |
5 <img id="d" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?d"> | 5 <img id="d" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?d"> |
6 <img id="e" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?e"> | 6 <img id="e" width="25" height="25" src="resources/green-red-blue-yellow-animated
.gif?e"> |
7 <script> | 7 <script> |
8 if (window.testRunner) | 8 if (window.testRunner) |
9 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 // Ensure the animation can loop and get back to the first frame. | 23 // Ensure the animation can loop and get back to the first frame. |
24 for (var i = 0; i < 4; i++) | 24 for (var i = 0; i < 4; i++) |
25 window.internals.advanceImageAnimation(e); | 25 window.internals.advanceImageAnimation(e); |
26 | 26 |
27 requestAnimationFrame(function() { | 27 requestAnimationFrame(function() { |
28 if (window.testRunner) | 28 if (window.testRunner) |
29 testRunner.notifyDone(); | 29 testRunner.notifyDone(); |
30 }); | 30 }); |
31 } | 31 } |
32 </script> | 32 </script> |
OLD | NEW |