summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/867487.html
blob: a259690d143283f537817564b7b13a4a1105eb94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="data:text/css,">
<script>

function boom()
{
    var s = document.styleSheets[0];
    var n = s.ownerNode;
    var p = n.parentNode;

    s.insertRule("#a { }", 0);

    for (var i = 0; i < 3; ++i) {
        p.removeChild(n);
        p.appendChild(n);
    }
}

</script>
</head>
<body onload="boom();"></body>
</html>