summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/621841-1.html
blob: f6c9b6eafc6558b685327e137d6b2604f1607401 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
  var frame = document.getElementById("f");
  var frameDoc = frame.contentDocument;
  frameDoc.getElementById("g").style.background = "yellow";
  frame.style.cssFloat = "right";
  document.documentElement.offsetHeight;
  frameDoc.documentElement.style.color = "green";
}

</script>
</head>

<body onload="boom();"><iframe id="f" src="data:text/html,<!DOCTYPE html><frameset><frame id=g></frameset>"></iframe></body>
</html>