summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/1035248-1.svg
blob: 125f83ba49a47d67fbc3aef42fd3888ee23b579b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<svg xmlns="http://www.w3.org/2000/svg">
<script>

function boom()
{
    var outer = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
    var inner = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
    inner.setAttributeNS(null, "style", "display: table-row-group;");
    outer.appendChild(inner);

    document.removeChild(document.documentElement);
    document.appendChild(outer);
}

window.addEventListener("load", boom, false);

</script>
</svg>