layout/generic/crashtests/564968.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/generic/crashtests/564968.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +<head>
     1.6 +<style>
     1.7 +    .container {
     1.8 +      height: 1em;
     1.9 +    }
    1.10 +    .overflow {
    1.11 +      height: 8em;
    1.12 +    }
    1.13 +    body {
    1.14 +      font-family: monospace;
    1.15 +      height: 8em;
    1.16 +      line-height: 1em;
    1.17 +      -moz-column-count: 2;
    1.18 +      -moz-column-gap: 0;
    1.19 +    }
    1.20 +</style>
    1.21 +<script>
    1.22 +    function boom()
    1.23 +    {
    1.24 +      document.documentElement.offsetHeight;
    1.25 +      document.getElementById('x').style.display = 'none';
    1.26 +      document.documentElement.offsetHeight;
    1.27 +      document.getElementById('y').style.display = 'none';
    1.28 +    }
    1.29 +</script>
    1.30 +</head>
    1.31 +
    1.32 +<body style="width: 17ch;" onload="boom();"><div id="x" class="container"></div>This paragraph must be in the first column.<div class="container" id="y"><div class="overflow"></div></div></body>
    1.33 +</html>

mercurial