layout/reftests/position-dynamic-changes/max-width.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/position-dynamic-changes/max-width.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +  <body>
     1.7 +    <style>
     1.8 +      #a { border: 1px solid black; max-width: 100px; height: 100px; }
     1.9 +    </style>
    1.10 +    <script>
    1.11 +      document.addEventListener("MozReftestInvalidate", function() {
    1.12 +        var a = document.querySelector("#a");
    1.13 +        a.style.maxWidth = "200px";
    1.14 +        document.documentElement.removeAttribute("class");
    1.15 +      }, false);
    1.16 +    </script>
    1.17 +    <div id="a">
    1.18 +    </div>
    1.19 +  </body>
    1.20 +</html>

mercurial