summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/520421-1.html
blob: 399a89e50e5b7c8e6713eabf362ab8af40e93e52 (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);
    </script>
  </head>
  <body>
    <div id="t">text</div>
  </body>
</html>