summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/564968.xhtml
blob: f3c3721029c86e771785abaacb85456c56ab3496 (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;
      column-count: 2;
      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>