RetroZilla/layout/html/tests/table/bugs/bug42043.html
2015-10-20 23:03:22 -04:00

44 lines
1.2 KiB
HTML

<html>
<body>
<p>(1) Table with 2 columns. Relative width value for first column is "1*" and for column 2 is "3*". Table width is 100%. The first column should span 1/4 of the window width and the second column should span 3/4 of the window width. <b>5.0 renders this correctly.</b></p>
<table width="100%" border="1">
<colgroup>
<col width="1*">
<col width="3*">
</colgroup>
<tr>
<td>Test</td>
<td>Test</td>
</tr>
</table>
<br><br>
<p>(2) Table with 1 column. Relative width value for column is "0*" with table width of 100%. The column should span the minimum width necessary to hold the column's contents. <b>Problem.</b></p>
<table width="100%" border="1">
<colgroup>
<col width="0*">
</colgroup>
<tr>
<td>Test</td>
</tr>
</table>
<br><br>
<p>(3) Table with 2 columns. Relative width value for first column is "0*" and for column 2 is "3*". Table width is 100%. The first column should span the minimum width necessary to hold the column's contents. The second column should ????<b>The first column is rendered properly, but there seems to be a problem with the width of the second column.</b></p>
<table width="100%" border="1">
<colgroup>
<col width="0*">
<col width="3*">
</colgroup>
<tr>
<td>Test</td>
<td>Test</td>
</tr>
</table>
</body>
</html>