summaryrefslogtreecommitdiffstats
path: root/layout/reftests/stylesheet-cloning/insert-after-clone.html
blob: e47a389f7d62b9f090214b2a4ae51409a5204da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML>
<title>Test insert rule after clone</title>
<link rel=stylesheet href="importrule.css">
<link id="two" rel=stylesheet href="importrule.css">
<body onload="run()">
<script>
function run() {
  document.getElementById("two").sheet.insertRule("div { color: green}", 1);
}
</script>
<div>This should be green</div>