summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/564968.xhtml
blob: 4a81a451eabe472d083b9f2379f0ac7e1e697a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
    .container {
      height: 1em;
    }
    .overflow {
      height: 8em;
    }
    body {
      font-family: monospace;
      height: 8em;
      line-height: 1em;
      -moz-column-count: 2;
      -moz-column-gap: 0;
    }
</style>
<script>
    function boom()
    {
      document.documentElement.offsetHeight;
      document.getElementById('x').style.display = 'none';
      document.documentElement.offsetHeight;
      document.getElementById('y').style.display = 'none';
    }
</script>
</head>

<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>
</html>