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

28 lines
768 B
HTML

<html><head><title>Collapsing Table Bug in Mozilla bug 55694</title></head>
<body bgcolor="#FFFFFF">
<p>The table below is inside a div tag with <b>absolute</b> positioning for top and
left but not for width.
The table should push it out to 100% but it doesn't. Instead the layer collapses </p>
<div style="position:absolute; top: 70; background-color: #CCFFCC;">
<table width="100%" border=1>
<tr>
<td>Table width = 100%</td>
</tr>
</table>
</div>
<P><BR><BR><BR><BR></p>
<p>The next table is inside a div tag set with <b>relative</b> positioning. <br>No width has been set </p>
<div style="position:relative; background-color: #CC0066;">
<table width="100%" border=1>
<tr>
<td>Table width = 100%</td>
</tr>
</table>
</div>
</body></html>