Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / use-target-removed.svg
blob07c7d4a37ab83934d85ca6615f2986823dd9d700
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <symbol id="a"/>
3 <use id="b" xlink:href="#a"/>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 b = document.getElementById('b');
8 b.href.baseVal = "#a";
9 onload = function() {
10 document.getElementById("a").remove();
11 b.setAttribute("width", 100);
13 </script>
14 <text y="20">PASS: The text is displayed and the file did not trigger a crash.</text>
15 </svg>