diff options
Diffstat (limited to 'layout/style/crashtests/645951-1.html')
-rw-r--r-- | layout/style/crashtests/645951-1.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/style/crashtests/645951-1.html b/layout/style/crashtests/645951-1.html new file mode 100644 index 000000000..a977e1ed4 --- /dev/null +++ b/layout/style/crashtests/645951-1.html @@ -0,0 +1,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> |