mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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>
|