summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/520421-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/520421-1.html')
-rw-r--r--layout/reftests/bugs/520421-1.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/520421-1.html b/layout/reftests/bugs/520421-1.html
new file mode 100644
index 000000000..6fa3b12ba
--- /dev/null
+++ b/layout/reftests/bugs/520421-1.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <head>
+ <style>
+ div {
+ background-color: red;
+ }
+ div[mixedCase=true] {
+ background-color: green !important;
+ }
+ </style>
+ <script>
+ function f() {
+ document.getElementById("t").setAttribute("mixedCase", "true");
+ document.documentElement.className = "";
+ }
+ window.addEventListener("MozReftestInvalidate", f, false);
+ </script>
+ </head>
+ <body>
+ <div id="t">text</div>
+ </body>
+</html>