mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
18 lines
513 B
HTML
18 lines
513 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function doTest() {
|
||
|
var d = document.createElement("div");
|
||
|
d.textContent = "Test";
|
||
|
d.style.top = d.style.left = 0;
|
||
|
d.style.position = "absolute";
|
||
|
document.getElementById("t").appendChild(d);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="doTest()">
|
||
|
<div style="position: relative; display: table-row-group;"><div style="display: table-row"><div style="display: table-cell" id="t"></div></div></div>
|
||
|
</body>
|
||
|
</html>
|