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

32 lines
553 B
HTML

<html>
<HEAD>
<SCRIPT>
function doIt() {
var textarea = document.getElementsByTagName("TEXTAREA")[0];
textarea.value = "bar";
}
</SCRIPT>
<BODY BGCOLOR=#FFFFFF onload="doIt()">
The bug causes the nested table containing the textarea to be positioned away from the left edge of the outer table
<BR>
<TABLE WIDTH=300 BORDER=1 ALIGN=CENTER>
<TR>
<TD WIDTH=150>
<TABLE border=1>
<FORM>
<TR>
<TD>
<TEXTAREA row=2 cols=5>foo</TEXTAREA>
</TD>
</TR>
</FORM>
</TABLE>
</TD>
</TR>
</TABLE>
</body>
</html>