mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
24 lines
622 B
HTML
24 lines
622 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()">
|
|
<table>
|
|
<tr><td>This is a test</td></tr>
|
|
<tr><td>This is a test</td></tr>
|
|
<tr><td>This is a test</td></tr>
|
|
<tr><td>This is a test</td></tr>
|
|
<caption style="position: relative; caption-side: bottom" id="t"></caption>
|
|
</table>
|
|
</body>
|
|
</html>
|