summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/520421-1.html
blob: 6fa3b12bafa5443409a0cbc6c4ba4703ec4864fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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>