haikuwebkit/LayoutTests/tables/mozilla/core/col_widths_auto_fix.html

75 lines
1.5 KiB
HTML

<table border bgcolor=lime width=150>
<tr>
<td width=200>200</td>
<td width=100>one_hund</td></tr>
</table>
<BR>
<table width=500 border=1>
<tr>
<td bgcolor=red width=300>fooooooooo
<td bgcolor=green width=300>fooooooooo
<td bgcolor=orange width=300>foo foo foo foo
</table>
<BR>
fixed table - fixed cells are increased based on fixed width
<table width=400 border>
<tr>
<td width=200>foo</td>
<td width=100>foo foo foo foo foo foo foo foo</td></tr>
</table>
<BR>
<BR>
excess above min allocated based on fixed widths (not min)
<table width=100 border>
<tr>
<td width=100>foo foo</td>
<td width=300>foo</td></tr>
</table>
<BR>
excess above min allocated based on fixed widths (not min)
<table width=100 border>
<tr>
<td width=10>foo foo</td>
<td width=300>foo</td></tr>
</table>
<BR>
<table width=600 border>
<tr>
<td width=5>foo</td>
<td>foo</td></tr>
</table>
<BR>
<table width=40 border>
<tr>
<td width=200>foo</td></tr>
</table>
<BR>
auto table - fixed width cell does not exceed viewport
<table border>
<tr>
<td width=1000>foo</td></tr>
</table>
<BR>
auto table - fixed cells cannot exceed viewport
<table border>
<tr>
<td width=200>200px</td>
<td width=200>200px</td>
<td width=200>200px</td>
<td width=200>200px</td>
<td width=200>200px</td>
</tr>
</table>
<BR>
auto table - cell width does not include padding
<table border cellpadding=20>
<tr>
<td width=100>cell=100px</td></tr>
</table>
<BR>
<table border>
<tr>
<td width=100>cell=100px</td></tr>
</table>