Changed to table incremental reflow

This commit is contained in:
troy@netscape.com
1999-08-19 03:51:25 +00:00
parent bfa7cec85d
commit 454b06e71e
42 changed files with 1394 additions and 1584 deletions

View File

@@ -722,21 +722,6 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext& aPresContext,
aDesiredSize.ascent=aDesiredSize.height;
aDesiredSize.descent=0;
// if we got this far with an incremental reflow, the reflow was targeted
// at the cell's content. We should only have to redo pass1 for this cell
// then rebalance columns. The pass1 is handled by the cell's parent row.
// So here all we have to do is tell the table to rebalance.
if (eReflowReason_Incremental == aReflowState.reason)
{
nsTableFrame* tableFrame=nsnull;
rv = nsTableFrame::GetTableFrame(this, tableFrame);
if ((NS_SUCCEEDED(rv)) && (nsnull!=tableFrame))
{
tableFrame->InvalidateColumnWidths();
}
}
#ifdef NS_DEBUG
//PostReflowCheck(result);
#endif