1 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <caption id=
"c1">PASS: Text in caption
1</caption>
5 <caption id=
"c2" style=
"opacity: 0.5">PASS: Text in caption
2</caption>
6 <caption id=
"c3" style=
"opacity: 0.2">PASS: Text in caption
3</caption>
7 <caption id=
"c4" style=
"opacity: 0">PASS: Text in caption
4</caption>
10 var caption
= document
.createElement('caption');
11 caption
.appendChild(document
.createTextNode('PASS: Dynamically added caption'));
13 var table
= document
.getElementById('table');
14 var c1
= document
.getElementById('c1');
15 table
.insertBefore(caption
, c1
);
16 document
.body
.offsetTop
;