layout/generic/crashtests/404215-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/generic/crashtests/404215-2.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +<html>
     1.5 +<head><style>
     1.6 +/* Sets of heights that trigger crash:
     1.7 +    100px/50px/51+px
     1.8 +    100px/30px/74+px
     1.9 +   Get only an assert unless you set ".d { position: absolute; }".
    1.10 +   
    1.11 +   Trigger hang (separate issue, absolute not needed):
    1.12 +    10px/10px/9999px
    1.13 +    10px/10px/999999px --> "bad height" notreached
    1.14 +*/
    1.15 +#colset { width: 200px;
    1.16 +          -moz-column-count: 3; }
    1.17 +#a      { height: 100px;        }
    1.18 +#b      { height:  50px;        }
    1.19 +#c      { height:  51px;        }
    1.20 +#d      { position: absolute;   }
    1.21 +</style>
    1.22 +<script>
    1.23 +  function boom() {
    1.24 +    document.getElementById('a').style.height = 'auto';
    1.25 +  }
    1.26 +</script>
    1.27 +</head>
    1.28 +<!-- Removing whitespace in body for simpler frame trees -->
    1.29 +<body onload="setTimeout('boom()', 1000)"
    1.30 + ><div id="colset"
    1.31 +   ><div
    1.32 +     ><div id="a"></div
    1.33 +     ><div id="b"
    1.34 +       ><div id="c"></div
    1.35 +       ><div id="d"></div
    1.36 +     ></div
    1.37 +   ></div
    1.38 + ></div
    1.39 +></body>
    1.40 +</html>

mercurial