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