layout/base/crashtests/306940-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/306940-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,50 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +
     1.7 +<script>
     1.8 +
     1.9 +function init()
    1.10 +{
    1.11 +  var c1 = document.getElementById("c1"); 
    1.12 +  var f1 = document.getElementById("f1"); 
    1.13 +  var a1 = document.getElementById("a1"); 
    1.14 +  
    1.15 +  function first()
    1.16 +  {
    1.17 +    f1.style.display = "-moz-popup";
    1.18 +    c1.style.height = "2em";
    1.19 +    window.status = "A";
    1.20 +  }
    1.21 +  
    1.22 +  function second()
    1.23 +  {
    1.24 +    c1.style.position = "absolute";
    1.25 +    c1.style.overflow = "auto";
    1.26 +    a1.style.position = "absolute";
    1.27 +    window.status = "B";
    1.28 +  }
    1.29 +
    1.30 +  first();
    1.31 +  document.documentElement.offsetHeight;
    1.32 +  second();
    1.33 +}
    1.34 +
    1.35 +</script>
    1.36 +</head>
    1.37 +
    1.38 +<body onload="init();">
    1.39 +  <div id="c1">
    1.40 +    <div id="f1">
    1.41 +      <table>
    1.42 +        <tr>
    1.43 +          <td>
    1.44 +
    1.45 +            <span id="a1">Foo</span>
    1.46 +          </td>
    1.47 +        </tr>
    1.48 +      </table>
    1.49 +    </div>
    1.50 +  </div>
    1.51 +</body>
    1.52 +
    1.53 +</html>

mercurial