OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <svg viewBox="0 0 300 200" xmlns="http://www.w3.org/2000/svg" onload="loaded()"> | 2 <svg viewBox="0 0 300 200" xmlns="http://www.w3.org/2000/svg" onload="loaded()"> |
3 <title>Test mixed cardinality animations</title> | 3 <title>Test mixed cardinality animations</title> |
4 <g transform="translate(50,20)"> | 4 <g transform="translate(50,20)"> |
5 <text x="0" y="0"> | 5 <text x="0" y="0"> |
6 <!-- Test that an animated list of different cardinality works properly
--> | 6 <!-- Test that an animated list of different cardinality works properly
--> |
7 ABC | 7 ABC |
8 <animate attributeName="x" dur="5s" repeatCount="10" values="1; 2,3,4,5;
3"/> | 8 <animate attributeName="x" dur="5s" repeatCount="10" values="1; 2,3,4,5;
3"/> |
9 </text> | 9 </text> |
10 <text x="0" y="30"> | 10 <text x="0" y="30"> |
(...skipping 10 matching lines...) Expand all Loading... |
21 <!-- Test that an sum works properly with mixed cardinality --> | 21 <!-- Test that an sum works properly with mixed cardinality --> |
22 JKL | 22 JKL |
23 <animate attributeName="x" additive="sum" accumulate="sum" dur="2s" repe
atCount="25" values="0 0; 10 10; 40" calcMode="linear" /> | 23 <animate attributeName="x" additive="sum" accumulate="sum" dur="2s" repe
atCount="25" values="0 0; 10 10; 40" calcMode="linear" /> |
24 </text> | 24 </text> |
25 </g> | 25 </g> |
26 <script> | 26 <script> |
27 if (window.testRunner) | 27 if (window.testRunner) |
28 testRunner.waitUntilDone(); | 28 testRunner.waitUntilDone(); |
29 | 29 |
30 function loaded() { | 30 function loaded() { |
| 31 document.documentElement.pauseAnimations(); |
31 document.documentElement.setCurrentTime(11); | 32 document.documentElement.setCurrentTime(11); |
32 if (window.testRunner) | 33 if (window.testRunner) |
33 testRunner.notifyDone(); | 34 testRunner.notifyDone(); |
34 } | 35 } |
35 </script> | 36 </script> |
36 </svg> | 37 </svg> |
OLD | NEW |