blob: b67bd5aee2880f85aea3e4bd440ab6d8ba61d823 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
<g>
<use id="use" xlink:href="#rect" />
</g>
<defs>
<rect id="rect" x="0" y="0" width="100" height="60" />
</defs>
<text x="10" y= "30">PASS without crash in debug mode.</text>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
document.getElementById("use").setAttribute("xlink:href", "");
}
</script>
</svg>