gecko-dev/dom/svg/crashtests/1250725.html

17 lines
386 B
HTML
Raw Normal View History

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<script>
function boom()
{
document.getElementById("u").setAttribute("width", "30");
document.getElementById("p").remove();
}
window.addEventListener("load", boom);
</script>
<symbol id="p" viewBox="0 0 100 20"/>
<use id="u" xlink:href="#p"/>
</svg>