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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user