1<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 2 3<head> 4<script> 5function foo() { 6 var cell2 = document.createElementNS("http://www.w3.org/1999/xhtml", "td"); 7 cell2.appendChild(document.createTextNode('2')); 8 9 document.getElementById("row2").appendChild(cell2); 10 11 document.documentElement.removeAttribute("class"); 12} 13 14</script> 15</head> 16 17<body onload="setTimeout(foo, 30);"> 18 19<table border="1"> 20 <tr> 21 <td>A</td> 22 <td>B</td> 23 </tr> 24 <tr id="row2"> 25 <td colspan="0">1</td> 26 </tr> 27</table> 28 29 30</body> 31</html> 32