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

31 lines
752 B
HTML

<table border=5>
<tr>
<td width=50%>almaalmaalmaalmaalma</td><td>x</td>
</table>
<BR>
<table border=5>
<tr>
<td>almaalmaalmaalmaalma</td><td width=50%>x</td>
</table>
<BR>
<p>
In this table, the second and the third cell are given 40%<br>
The cells are competing with each other.<br>
</p>
<table border=5>
<tr>
<td>some text</td><td width=40%>x</td><td width=40%>x</td>
</tr>
</table>
<p>
In this table, the second and the third cell are given 50%<br>
The cells are competing again but their percentage can not be satisfied.<br>
The table grows as large as it can and the first cell gets to its minimal width.
</p>
<table border=5>
<tr>
<td>some text</td><td width=50%>x</td><td width=50%>x</td>
</tr>
</table>