mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
12 lines
326 B
HTML
12 lines
326 B
HTML
<!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>
|