<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<symbol id="a"/> | |
<use id="b" xlink:href="#a"/> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
b = document.getElementById('b'); | |
b.href.baseVal = "#a"; | |
onload = function() { | |
document.getElementById("a").remove(); | |
b.setAttribute("width", 100); | |
}; | |
</script> | |
<text y="20">PASS: The text is displayed and the file did not trigger a crash.</text> | |
</svg> |