blob: 82a8291ae057589fa1384d40fb0c7249ec4cc950 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!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>
|