layout/reftests/bugs/400171-1a.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/400171-1a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<html class="reftest-wait">
     1.5 +<head>
     1.6 +  <style>
     1.7 +    body   { width:  100px; line-height: 15px; }
     1.8 +    div    { width:  100px; float: left }
     1.9 +    div.a  { height:  30px; background: lightblue;  }
    1.10 +    div.b  { height:  10px; background: lightgreen; }
    1.11 +    div.c  { height:  10px; background: black;      }
    1.12 +  </style>
    1.13 +  <script>
    1.14 +  function tweak() {
    1.15 +    document.getElementById('changeMe').style.height = '100px';
    1.16 +    document.documentElement.className = "";
    1.17 +  }
    1.18 +  </script>
    1.19 +</head>
    1.20 +<body onload="tweak()">
    1.21 +  <div class="a"></div>
    1.22 +  <div class="b" id="changeMe"></div>
    1.23 +  <br/>
    1.24 +  <div class="c"></div>
    1.25 +</body>
    1.26 +</html>

mercurial