| OLD | NEW |
| 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" onload="loaded()"> | 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" onload="loaded()"> |
| 2 <defs> | 2 <defs> |
| 3 <path id="path" pathLength="100" d="M-200,0 h400" /> | 3 <path id="path" pathLength="100" d="M-200,0 h400" /> |
| 4 </defs> | 4 </defs> |
| 5 <rect width="100%" height="100%" fill="lime"/> | 5 <rect width="100%" height="100%" fill="lime"/> |
| 6 | 6 |
| 7 <!-- calcMode="linear" --> | 7 <!-- calcMode="linear" --> |
| 8 <rect x="10" y="10" width="100" height="100" fill="red"/> | 8 <rect x="10" y="10" width="100" height="100" fill="red"/> |
| 9 <rect x="10" y="10" width="100" height="100" fill="lime"> | 9 <rect x="10" y="10" width="100" height="100" fill="lime"> |
| 10 <animateMotion dur="1s" keyPoints="0;1" keyTimes="0;1" calcMode="linear"> | 10 <animateMotion dur="1s" keyPoints="0;1" keyTimes="0;1" calcMode="linear"> |
| 11 <mpath xlink:href="#path" /> | 11 <mpath xlink:href="#path" /> |
| 12 </animateMotion> | 12 </animateMotion> |
| 13 </rect> | 13 </rect> |
| 14 | 14 |
| 15 <!-- calcMode="paced" --> | 15 <!-- calcMode="paced" --> |
| 16 <rect x="10" y="110" width="100" height="100" fill="red"/> | 16 <rect x="10" y="110" width="100" height="100" fill="red"/> |
| 17 <rect x="10" y="110" width="100" height="100" fill="lime"> | 17 <rect x="10" y="110" width="100" height="100" fill="lime"> |
| 18 <animateMotion dur="1s"> | 18 <animateMotion dur="1s"> |
| 19 <mpath xlink:href="#path" /> | 19 <mpath xlink:href="#path" /> |
| 20 </animateMotion> | 20 </animateMotion> |
| 21 </rect> | 21 </rect> |
| 22 | 22 |
| 23 <script> | 23 <script> |
| 24 if (window.testRunner) | 24 if (window.testRunner) |
| 25 testRunner.waitUntilDone(); | 25 testRunner.waitUntilDone(); |
| 26 | 26 |
| 27 function loaded() { | 27 function loaded() { |
| 28 document.documentElement.pauseAnimations(); |
| 28 document.documentElement.setCurrentTime(0.5); | 29 document.documentElement.setCurrentTime(0.5); |
| 29 if (window.testRunner) | 30 if (window.testRunner) |
| 30 testRunner.notifyDone(); | 31 testRunner.notifyDone(); |
| 31 } | 32 } |
| 32 </script> | 33 </script> |
| 33 </svg> | 34 </svg> |
| OLD | NEW |