OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/
SVG/1.1/DTD/svg11-tiny.dtd"> | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/
SVG/1.1/DTD/svg11-tiny.dtd"> |
3 <svg onload="loaded()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://ww
w.w3.org/1999/xlink"> | 3 <svg onload="loaded()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://ww
w.w3.org/1999/xlink"> |
4 <rect x="0" y="0" width="0" height="100" fill="green"> | 4 <rect x="0" y="0" width="0" height="100" fill="green"> |
5 <animate id="anim" attributeName="visibility" to="visible" begin="0s" dur="2
s" repeatCount="4"/> | 5 <animate id="anim" attributeName="visibility" to="visible" begin="0s" dur="2
s" repeatCount="4"/> |
6 <set attributeName="width" to="100" begin="anim.repeat(1)"/> | 6 <set attributeName="width" to="100" begin="anim.repeat(1)"/> |
7 </rect> | 7 </rect> |
8 <script> | 8 <script> |
9 if (window.testRunner) | 9 if (window.testRunner) |
10 testRunner.waitUntilDone(); | 10 testRunner.waitUntilDone(); |
11 | 11 |
12 function loaded() { | 12 function loaded() { |
13 document.documentElement.setCurrentTime(2); | 13 document.documentElement.setCurrentTime(2); |
14 | 14 |
15 if (window.testRunner) | 15 if (window.testRunner) |
16 setTimeout(function(){testRunner.notifyDone();}, 10); | 16 setTimeout(function(){testRunner.notifyDone();}, 30); |
17 } | 17 } |
18 </script> | 18 </script> |
19 </svg> | 19 </svg> |
OLD | NEW |