diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/bugs/748692-1a.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/bugs/748692-1a.html b/layout/reftests/bugs/748692-1a.html new file mode 100644 index 0000000000..9e07d09c23 --- /dev/null +++ b/layout/reftests/bugs/748692-1a.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<head> + <style> + body { color: red; } + </style> + <script> + document.styleSheets[0].insertRule("body { color: green; }", 1); + document.querySelector("style").className = "foo"; + </script> +</head> +<body> + This text should be green +</body> |