OLD | NEW |
---|---|
(Empty) | |
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"> | |
3 <svg onload="loaded()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://ww w.w3.org/1999/xlink"> | |
4 <g> | |
5 <animate id="anim" attributeName="visibility" to="visible" begin="0s" dur="2 s" repeatCount="4"/> | |
6 <rect x="0" y="0" width="100" height="100" fill="green"> | |
pdr.
2013/09/03 17:48:14
Does this pass? Should this first one be fill="red
pavane
2013/09/03 19:00:52
repeat(0) should not be fired. So, i added a negat
| |
7 <set attributeName="fill" to="red" begin="anim.repeat(0)"/> | |
8 </rect> | |
9 <rect x="200" y="0" width="100" height="100" fill="red"> | |
10 <set attributeName="fill" to="green" begin="anim.repeat(1)"/> | |
11 </rect> | |
12 <rect x="0" y="200" width="100" height="100" fill="red"> | |
13 <set attributeName="fill" to="green" begin="anim.repeat(2)"/> | |
14 </rect> | |
15 <rect x="200" y="200" width="100" height="100" fill="red"> | |
16 <set attributeName="fill" to="green" begin="anim.repeat(3)"/> | |
17 </rect> | |
18 </g> | |
19 <script> | |
20 if (window.testRunner) | |
21 testRunner.waitUntilDone(); | |
22 | |
23 function loaded() { | |
24 document.documentElement.setCurrentTime(8); | |
25 | |
26 if (window.testRunner) | |
27 setTimeout(function(){testRunner.notifyDone();}, 100); | |
28 } | |
29 </script> | |
30 </svg> | |
OLD | NEW |