summaryrefslogtreecommitdiff
path: root/layout/base/crashtests/589787.html
blob: 558a14083cfdd284d4631c225ab92c4365edf526 (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
<!DOCTYPE html>
<html>
<head>
<script>
function boom() {
  document.documentElement.offsetHeight;
  document.getElementById('e').setAttribute('style', '');
  document.documentElement.offsetHeight;
}
</script>
<style id="e">
body #a::after { content: "before text"; position: fixed; }
</style>
</head>

<body onload="boom();" style="-moz-column-count: 2; width: 100px;">
<div>m</div>
<div id="a" style="-moz-column-count: 2;">
m
<br style="float: left;">
m
<span style="float: left;">m</span>

<div style="float: left; -moz-column-width: 9999999999px;"></div>
</div>
</body>
</html>