summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/501257-1b.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/501257-1b.html')
-rw-r--r--layout/reftests/bugs/501257-1b.html17
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 000000000..ed83afa37
--- /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>