summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-dynamic-changes/max-width.html
blob: e9ae39b5c367b470bef31aaaf35e4caa130e7a07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html class="reftest-wait">
  <body>
    <style>
      #a { border: 1px solid black; max-width: 100px; height: 100px; }
    </style>
    <script>
      document.addEventListener("MozReftestInvalidate", function() {
        var a = document.querySelector("#a");
        a.style.maxWidth = "200px";
        document.documentElement.removeAttribute("class");
      }, false);
    </script>
    <div id="a">
    </div>
  </body>
</html>