OLD | NEW |
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k"> | 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k"> |
2 <text x="0" y="10">Test for WK106530: This test passes if it does not crash.</te
xt> | 2 <text x="0" y="10">Test for WK106530: This test passes if it does not crash.</te
xt> |
3 <animateMotion dur="2s" begin="animateMotion1.begin" id="animateMotion2" ><anima
teMotion id="animateMotion1" /> | 3 <animateMotion dur="2s" begin="animateMotion1.begin" id="animateMotion2" ><anima
teMotion id="animateMotion1" /> |
4 <mpath xlink:href="#curve"/> | 4 <mpath xlink:href="#curve"/> |
5 <path id="curve"/> | 5 <path id="curve"/> |
6 </animateMotion> | 6 </animateMotion> |
7 <script type="text/javascript"><![CDATA[ | 7 <script type="text/javascript"><![CDATA[ |
8 if (window.testRunner) | 8 if (window.testRunner) |
9 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
10 | 10 |
11 var animateMotion2El = document.getElementById("animateMotion2"); | 11 var animateMotion2El = document.getElementById("animateMotion2"); |
12 var curveEl = document.getElementById("curve"); | 12 var curveEl = document.getElementById("curve"); |
13 | 13 |
14 setTimeout(function(){ | 14 setTimeout(function(){ |
15 curveEl.appendChild(animateMotion2El.cloneNode(true)); | 15 curveEl.appendChild(animateMotion2El.cloneNode(true)); |
16 animateMotion2El.appendChild(curveEl.cloneNode(true)); | 16 animateMotion2El.appendChild(curveEl.cloneNode(true)); |
17 curveEl.parentNode.removeChild(curveEl); | 17 curveEl.parentNode.removeChild(curveEl); |
18 if (window.testRunner) { | 18 if (window.testRunner) { |
19 testRunner.dumpAsText(); | 19 testRunner.dumpAsText(); |
20 testRunner.notifyDone(); | 20 testRunner.notifyDone(); |
21 } | 21 } |
22 }, 1); | 22 }, 1); |
23 ]]></script> | 23 ]]></script> |
24 </svg> | 24 </svg> |
25 | 25 |
OLD | NEW |