blob: 1866f51bac2f6fdea37d58b993ed378210153609 [file] [log] [blame]
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<text id="foreign"/>
<use y="50" id="test" xlink:href="#foreign" />
<use xlink:href="#test" />
<text x="10" y= "30">PASS without crash in debug mode.</text>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var elem = document.getElementById("test");
elem.removeAttribute("xlink:href");
elem.setAttribute("x", 1);
</script>
</svg>