mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Fix for bug 9923.
This commit is contained in:
parent
2e76c0daf4
commit
9cfbacbd6c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user