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.


git-svn-id: svn://10.0.0.236/trunk@8197 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com
1998-08-19 20:41:06 +00:00
parent 7adfe644b7
commit 214f7beda3
2 changed files with 2 additions and 2 deletions

View File

@@ -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;