summaryrefslogtreecommitdiff
path: root/layout/base/crashtests/428138-1.html
blob: 470fc63022ce69bc172ad2c98b11990e654a1d5d (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
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">

function boom()
{
  var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
  var fo  = document.createElementNS("http://www.w3.org/2000/svg", "foreignObject");
  fo.style.padding = "10em";
  svg.appendChild(fo);
  document.body.appendChild(svg);
  document.body.offsetHeight;

  var opt = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
  fo.appendChild(opt);
}

</script>
</head>

<body onload="boom();"></body>

</html>