gecko/layout/html/tests/table/bugs/bug29429.html

28 lines
857 B
HTML
Raw Normal View History

<body onload="doIt()">
<SCRIPT>
function doIt() {
var row = document.getElementById("foo");
row.deleteCell(0);
var cell = document.createElement("TD", null);
var text = document.createTextNode("yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy yyy ");
cell.appendChild(text);
row.appendChild(cell);
}
</SCRIPT>
<TABLE BORDER=1>
<TR>
<TD>
<TABLE BORDER=1 WIDTH="100%">
<TR ID="foo">
<TD>
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
</TD>
</TR>
</TABLE>
</TD>
<TD>
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
</TD>
</TR>
</TABLE>