blob: d5ec8101a1f6e24a245a87bce7fe85aca00b008c (
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.MozColumnWidth = "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>
|