diff options
Diffstat (limited to 'layout/reftests/bugs/501257-1b.html')
-rw-r--r-- | layout/reftests/bugs/501257-1b.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/bugs/501257-1b.html b/layout/reftests/bugs/501257-1b.html new file mode 100644 index 0000000000..ed83afa377 --- /dev/null +++ b/layout/reftests/bugs/501257-1b.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> + <head> + <style> + body > div { color: green; } + .toremove { color: red; } + </style> + </head> + <body> + <div class="toremove"> + This should be green + </div> + <script> + document.body.firstElementChild.classList.remove("toremove"); + </script> + </body> +</html> |