OLD | NEW |
1 <html xmlns="http://www.w3.org/1999/xhtml"> | 1 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <body> | 2 <body> |
3 <svg id="svgRoot" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xli
nk="http://www.w3.org/1999/xlink"> | 3 <svg id="svgRoot" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xli
nk="http://www.w3.org/1999/xlink"> |
4 <path id="path_a" /> | 4 <path id="path_a" /> |
5 <circle id="myc"> | 5 <circle id="myc"> |
6 <animateMotion id="A" > | 6 <animateMotion id="A" > |
7 <mpath xlink:href="#path_a" /> | 7 <mpath xlink:href="#path_a" /> |
8 </animateMotion> | 8 </animateMotion> |
9 </circle> | 9 </circle> |
10 </svg> | 10 </svg> |
11 | 11 |
12 <script type="text/javascript"> | 12 <script type="text/javascript"> |
13 if (window.testRunner) { | 13 if (window.testRunner) { |
14 testRunner.waitUntilDone(); | 14 testRunner.waitUntilDone(); |
15 } | 15 } |
16 onload = function() { | 16 onload = function() { |
17 if (location.hash != '#5') { | 17 if (location.hash != '#5') { |
18 if (window.GCController) | 18 if (window.GCController) |
19 window.GCController.collect(); | 19 window.GCController.collect(); |
20 else if (window.gc) | 20 else if (window.gc) |
21 gc(); | 21 gc(); |
22 document.getElementById("A").insertBefore(document.getElementById("pat
h_a")); | 22 document.getElementById("A").insertBefore(document.getElementById("pat
h_a"), null); |
23 if (location.hash == '') | 23 if (location.hash == '') |
24 location.hash = '#1'; | 24 location.hash = '#1'; |
25 else | 25 else |
26 location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toStrin
g(); | 26 location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toStrin
g(); |
27 setTimeout(function(){ location.reload() }, 0); | 27 setTimeout(function(){ location.reload() }, 0); |
28 } else { | 28 } else { |
29 document.body.innerText = 'PASS: WebKit did not crash.'; | 29 document.body.innerText = 'PASS: WebKit did not crash.'; |
30 if (window.testRunner) | 30 if (window.testRunner) |
31 testRunner.notifyDone(); | 31 testRunner.notifyDone(); |
32 } | 32 } |
33 } | 33 } |
34 </script> | 34 </script> |
35 | 35 |
36 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |