6 var d
= document
.createElement("div");
7 d
.textContent
= "Test";
8 d
.style
.top
= d
.style
.left
= 0;
9 d
.style
.position
= "absolute";
10 document
.getElementById("t").appendChild(d
);
14 <body onload=
"doTest()">
16 <tr><td>This is a test
</td></tr>
17 <tr><td>This is a test
</td></tr>
18 <tr><td>This is a test
</td></tr>
19 <tr><td>This is a test
</td></tr>
20 <caption style=
"position: relative; caption-side: bottom" id=
"t"></caption>