fixes a layout bug where subsequent cells in a column when colspans are involved

could select the wrong starting width for the column, causing it to have the
wrong ending width.
This commit is contained in:
buster@netscape.com
1998-08-19 20:41:06 +00:00
parent ffbbc432aa
commit 2696b43e02
2 changed files with 2 additions and 2 deletions
@@ -375,7 +375,7 @@ PRBool BasicTableLayoutStrategy::AssignPreliminaryColumnWidths()
{
if (maxColWidth < cellDesiredWidth)
maxColWidth = cellDesiredWidth;
if ((1==colSpan) && (effectiveMaxColumnWidth < maxColWidth))
if ((1==colSpan) && (effectiveMaxColumnWidth < cellDesiredWidth))
effectiveMaxColumnWidth = cellDesiredWidth;
if (minColWidth < cellMinWidth)
minColWidth = cellMinWidth;