gecko/layout/html/tests/table/core/conflicts.html

152 lines
3.1 KiB
HTML
Raw Normal View History

fixed table - width on td overriden
<table border=10 cellspacing=3 cellpadding=5 width=400 border>
<tr>
<td width=100%>foo</td>
<td width=100>foo</td></tr>
</table>
<hr align=left style="width:400px; alignx:left">
<BR>
fixed table - percent cell wins over fix cell (and in IE5)
<table width=500 border>
<tr>
<td width=20>20px</td>
<td>auto</td></tr>
<tr>
<td width=50%>50%</td>
<td>auto</td></tr>
</table>
<BR>
fixed table - percent cell wins over fix cell (and in IE5)
<table width=300 border>
<tr>
<td width=100>100</td>
<td>auto</td></tr>
<tr>
<td width=10%>10%</td>
<td>auto</td></tr>
</table>
<BR>
fixed table - percent cell wins over fix cell (and in IE5)
<table width=500 border>
<col width=50%>
<tr>
<td width=20%>50%Col,20%Cell</td>
<td>auto</td></tr>
<tr>
<td>auto</td>
<td>auto</td></tr>
</table>
<BR>
fixed table - percent cell wins over fix cell (and in IE5)
<table width=500 border>
<col width=20%>
<tr>
<td width=50%>20%Col,50%Cell</td>
<td>auto</td></tr>
<tr>
<td>auto</td>
<td>auto</td></tr>
</table>
<BR>
fixed table - percent cell wins over fix cell (and in IE5)
<table width=500 border>
<col width=50%>
<tr>
<td width=100>50PerCol,100Cell</td>
<td>auto</td></tr>
<tr>
<td>auto</td>
<td>auto</td></tr>
</table>
<BR>
fixed table - percent cell wins over fix cell (and in IE5)
<table width=500 border>
<col width=20%>
<tr>
<td width=300>20PerCol,300Cell</td>
<td>auto</td></tr>
<tr>
<td>auto</td>
<td>auto</td></tr>
</table>
<BR>
fixed table - % wins over fixed even on colspan
<table width=300 border>
<tr>
<td width=50 colspan=2>50CS2</td>
<td>auto</td></tr>
<tr>
<td width=50% colspan=2>50%CS2</td>
<td>auto</td></tr>
</table>
<BR>
fixed table - % wins over fixed even on colspan
<table width=300 border>
<tr>
<td width=200 colspan=2>100CS2</td>
<td>bar</td></tr>
<tr>
<td width=30% colspan=2>30%CS2</td>
<td>bar</td></tr>
</table>
<BR>
auto table - percent colspan wins over fixed colspan XXX
<table border>
<tr>
<td width=500 colspan=2>500CS2</td>
<td>atuo</td></tr>
<tr>
<td width=10% colspan=2>10%CS2</td>
<td>auto</td></tr>
</table>
<BR>
auto table - percent colspan wins over fixed colspan
<table border>
<tr>
<td width=500 colspan=2>500CS2</td>
<td>auto</td></tr>
<tr>
<td width=20% colspan=2>20%CS2</td>
<td>auto</td></tr>
<tr>
<td>auto</td>
<td>auto</td>
<td>auto</td></tr>
</table>
<BR>
auto table - percent colspan wins over fixed colspan
<table border>
<tr>
<td width=200 colspan=2>200CS2</td>
<td>auto</td></tr>
<tr>
<td width=20% colspan=2>20%CS2</td>
<td>auto</td></tr>
<tr>
<td>auto</td>
<td>auto</td>
<td>auto</td></tr>
</table>
<BR>
auto table - percent colspan wins over fixed colspan
<table border>
<tr>
<td width=1000 colspan=2>1000CS2</td>
<td>auto</td></tr>
<tr>
<td width=20% colspan=2>20%CS2</td>
<td>auto</td></tr>
<tr>
<td>auto</td>
<td>auto</td>
<td>auto</td></tr>
</table>
<BR>
percent cell/col percentage conflict goes to cell (and in IE5)
<table width=500 border cellspacing=5>
<col width=80%>
<tr>
<td width=30%>30%-80%col</td>
<td>auto</td></tr>
</table>