bug 11944 - row group is properly offset using table border. cleaned up new incremental reflow methods.

This commit is contained in:
karnaze@netscape.com
1999-08-20 23:27:54 +00:00
parent f546a45217
commit 9eb02eeb70
14 changed files with 64 additions and 58 deletions

View File

@@ -184,8 +184,7 @@ PRBool FixedTableLayoutStrategy::AssignPreliminaryColumnWidths(nscoord aComputed
}
PRBool FixedTableLayoutStrategy::ColumnsCanBeInvalidatedBy(nsStyleCoord* aPrevStyleWidth,
const nsTableCellFrame& aCellFrame,
PRBool aConsiderMinWidth) const
const nsTableCellFrame& aCellFrame) const
{
return ColumnsCanBeInvalidatedBy(aCellFrame);
}
@@ -199,9 +198,9 @@ PRBool FixedTableLayoutStrategy::ColumnsCanBeInvalidatedBy(const nsTableCellFram
if (0 == rowIndex) {
// It is not worth the effort to determine if the col or cell determined the col
// width. Since rebalancing the columns is fairly trival in this strategy, just force it.
return PR_FALSE;
return PR_TRUE;
}
return PR_TRUE;
return PR_FALSE;
}
PRBool FixedTableLayoutStrategy::ColumnsAreValidFor(const nsTableCellFrame& aCellFrame,
@@ -209,7 +208,7 @@ PRBool FixedTableLayoutStrategy::ColumnsAreValidFor(const nsTableCellFrame& aCel
nscoord aPrevCellDes) const
{
// take the easy way out, see comments above.
return ColumnsCanBeInvalidatedBy(aCellFrame);
return !ColumnsCanBeInvalidatedBy(aCellFrame);
}