Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / text / text-positioning-remove-child-crash.svg
blobbd60ac5aa186a6f55223b45439ed22896a7b3364
1 <svg xmlns="http://www.w3.org/2000/svg">
2 <text y="50">Test passes if it does not crash when run with libgmalloc.</text>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 </script>
7 <text><a id="a"><tspan>FAIL</tspan></a></text>
9 <script><![CDATA[
10 var range = document.createRange();
11 range.selectNode(window.document.documentElement);
12 var selection = window.getSelection();
13 selection.removeAllRanges();
14 selection.addRange(range);
15 document.getElementById("a").textContent = "PASS";
16 ]]></script>
17 </svg>