summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/860579-1.html
blob: 3f7ef558b2e216c2570d308b2e294d5d01cc8a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<script>
function addFrame(contents)
{
  var frame = document.createElement("iframe");
  frame.src = "data:text/html," + contents;
  document.body.appendChild(frame);
}
function boom()
{
  addFrame("1");
  document.documentElement.offsetHeight;
  addFrame("2");
  document.body.style.display = "table-caption";
}
</script>
</head>
<body onload="boom();"></body>
</html>