summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/1250725.html
blob: 68052f344f365ec4ee5731b0c81904531d85a934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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, false);
    </script>

    <symbol id="p" viewBox="0 0 100 20"/>

    <use id="u" xlink:href="#p"/>

</svg>