summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/645951-1.html
blob: a977e1ed4e03c6df6217870313cdebac923f1265 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML>
<title>Test, bug 645951</title>
<link rel=stylesheet href="645951-1.css">
<link id="two" rel=stylesheet href="645951-1.css">
<body onload="run()">
<script>
function run() {
  document.getElementById("two").sheet.insertRule("p { color: green}", 1);
}
</script>
<p>Should not crash, and should be green too.</p>