Fix for bug 9923.

This commit is contained in:
hyatt%netscape.com 1999-08-05 01:43:14 +00:00
parent 2e76c0daf4
commit 9cfbacbd6c

View File

@ -818,6 +818,11 @@ nsTreeRowGroupFrame::GetFirstFrameForReflow(nsIPresContext& aPresContext)
mFrameConstructor->CreateTreeWidgetContent(&aPresContext, this, nsnull, startContent, mFrameConstructor->CreateTreeWidgetContent(&aPresContext, this, nsnull, startContent,
&mTopFrame, isAppend, PR_FALSE); &mTopFrame, isAppend, PR_FALSE);
nsTableFrame* tableFrame;
nsTableFrame::GetTableFrame(this, tableFrame);
//tableFrame->InvalidateCellMap();
tableFrame->InvalidateColumnCache();
//printf("Created a frame\n"); //printf("Created a frame\n");
mBottomFrame = mTopFrame; mBottomFrame = mTopFrame;
const nsStyleDisplay *rowDisplay; const nsStyleDisplay *rowDisplay;
@ -887,6 +892,11 @@ nsTreeRowGroupFrame::GetNextFrameForReflow(nsIPresContext& aPresContext, nsIFram
} }
mFrameConstructor->CreateTreeWidgetContent(&aPresContext, this, prevFrame, nextContent, mFrameConstructor->CreateTreeWidgetContent(&aPresContext, this, prevFrame, nextContent,
aResult, isAppend, PR_FALSE); aResult, isAppend, PR_FALSE);
nsTableFrame* tableFrame;
nsTableFrame::GetTableFrame(this, tableFrame);
//tableFrame->InvalidateCellMap();
tableFrame->InvalidateColumnCache();
//printf("Created a frame\n"); //printf("Created a frame\n");
const nsStyleDisplay *rowDisplay; const nsStyleDisplay *rowDisplay;
(*aResult)->GetStyleData(eStyleStruct_Display, (const nsStyleStruct *&)rowDisplay); (*aResult)->GetStyleData(eStyleStruct_Display, (const nsStyleStruct *&)rowDisplay);