summaryrefslogtreecommitdiffstats
path: root/layout/tables/crashtests/430374.html
blob: de3a4af53b8a515512da501c90f1009385c0fcbe (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
28
29
30
31
<html>
<head>
<script type="text/javascript">

function boom()
{
  var odiv = document.createElement("div");
  odiv.style.height = "30px";
  var idiv = document.createElement("div");
  idiv.style.columnWidth = "1px";
  var table = document.createElement("TABLE");
  var x = document.createTextNode("x");
  table.appendChild(x);
  var tr = document.createElement("TR");
  var td = document.createElement("TD");
  tr.appendChild(td);
  table.appendChild(tr);
  idiv.appendChild(table);
  odiv.appendChild(idiv);
  document.body.appendChild(odiv);
  
  document.body.offsetHeight;
  
  td.style.fontFamily = "X";
}

</script>
</head>

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