347725-1.xhtml (751B)
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 2 <head> 3 <script> 4 5 function foo() 6 { 7 var e = document.createElement("td"); 8 document.getElementById("h").appendChild(e); 9 10 e.setAttribute("rowspan", 2); 11 e.setAttribute("colspan", 3); 12 13 var tbody = document.getElementById("tbody"); 14 tbody.parentNode.removeChild(tbody); 15 16 document.documentElement.removeAttribute("class"); 17 } 18 19 </script> 20 21 </head> 22 23 <body onload="setTimeout(foo, 30)"> 24 25 <table id="table1"> 26 <thead style="visibility: collapse"> 27 <tr id="h"><td rowspan="2">A</td></tr> 28 </thead> 29 <tfoot> 30 <tr><td rowspan="2" colspan="0">B</td></tr> 31 <tr><td>C</td></tr> 32 </tfoot> 33 <tbody id="tbody"> 34 <tr><td>D</td></tr> 35 </tbody> 36 </table> 37 38 </body> 39 </html>