bug 60749 - on a table cell frame style change reflow, reinitialize the table's strategy.

This commit is contained in:
karnaze@netscape.com
2001-03-26 06:13:56 +00:00
parent 72bdfd3db9
commit 81155abb2a
2 changed files with 4 additions and 0 deletions

View File

@@ -659,6 +659,8 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext* aPresContext,
if (isStyleChanged) {
kidReflowState.reason = eReflowReason_StyleChange;
kidReflowState.reflowCommand = nsnull;
// the following could be optimized with a fair amount of effort
tableFrame->SetNeedStrategyInit(PR_TRUE);
}
// Assume the inner child will stay positioned exactly where it is. Later in