summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/866588.html
blob: 4e9abfdd52b09e53ea2c2d2e5c1cbfcc1e8f7ff9 (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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>

body { white-space: pre-wrap; width: 1ch; font-family: monospace }
body:first-line { }

</style>

<script>

function boom()
{
  document.body.textContent = "\n\u202AX ";
  document.documentElement.offsetHeight;
  document.body.appendChild(document.createTextNode("Y"));
  document.documentElement.offsetHeight;
}

</script>
</head>
<body onload="boom();"></body>
</html>