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

28 lines
784 B
HTML

<html><head><title>Testcase for bug 13118</title></head><body bgcolor="white">
<H4>TBODY is not correctly positioned when TFOOT is present but THEAD is not:</H4>
<TABLE BORDER="1">
<TFOOT><TR><TD>TFOOT</TD></TR></TFOOT>
<TBODY><TR><TD>TBODY</TD></TR></TBODY>
</TABLE>
<BR>
<TABLE BORDER="1">
<THEAD><TR><TH>THEAD</TH></TR></THEAD>
<TFOOT><TR><TD>TFOOT</TD></TR></TFOOT>
<TBODY><TR><TD>TBODY</TD></TR></TBODY>
</TABLE>
<P>Same as above but with <code>CELLSPACING="10"</code>:
<TABLE BORDER="1" CELLSPACING="10">
<TFOOT><TR><TD>TFOOT</TD></TR></TFOOT>
<TBODY><TR><TD>TBODY</TD></TR></TBODY>
</TABLE>
<BR>
<TABLE BORDER="1" CELLSPACING="10">
<THEAD><TR><TH>THEAD</TH></TR></THEAD>
<TFOOT><TR><TD>TFOOT</TD></TR></TFOOT>
<TBODY><TR><TD>TBODY</TD></TR></TBODY>
</TABLE>
</body></html>