layout/reftests/position-dynamic-changes/min-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/min-width.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +  <body>
     1.7 +    <style>
     1.8 +      #a { border: 1px solid green; width: 150px; height: 200px; }
     1.9 +      #b { border: 1px solid black; min-width: 100px; height: 100px; }
    1.10 +    </style>
    1.11 +    <script>
    1.12 +      document.addEventListener("MozReftestInvalidate", function() {
    1.13 +        var b = document.querySelector("#b");
    1.14 +        b.style.minWidth = "200px";
    1.15 +        document.documentElement.removeAttribute("class");
    1.16 +      }, false);
    1.17 +    </script>
    1.18 +    <div id="a">
    1.19 +      <div id="b">
    1.20 +      </div>
    1.21 +    </div>
    1.22 +  </body>
    1.23 +</html>

mercurial