mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
32 lines
677 B
HTML
32 lines
677 B
HTML
<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>
|