Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / mpath-remove-from-dependents-on-delete-crash.html
blob96ad9db92f0465ed367dcd49a9386296b10b4290
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <body>
3 <svg id="svgRoot" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <path id="path_a" />
5 <circle id="myc">
6 <animateMotion id="A" >
7 <mpath xlink:href="#path_a" />
8 </animateMotion>
9 </circle>
10 </svg>
12 <script type="text/javascript">
13 if (window.testRunner) {
14 testRunner.waitUntilDone();
16 onload = function() {
17 if (location.hash != '#5') {
18 if (window.GCController)
19 window.GCController.collect();
20 else if (window.gc)
21 gc();
22 document.getElementById("A").insertBefore(document.getElementById("path_a"), null);
23 if (location.hash == '')
24 location.hash = '#1';
25 else
26 location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
27 setTimeout(function(){ location.reload() }, 0);
28 } else {
29 document.body.innerText = 'PASS: WebKit did not crash.';
30 if (window.testRunner)
31 testRunner.notifyDone();
34 </script>
36 </body>
37 </html>