зеркало из https://github.com/mozilla/pjs.git
Fix for bug 205165 (a href link fails to work until window is resized)
Modified PlaceFrameView() to pass in the cached overflow area rect for the frame, if it has one, when calling SyncFrameViewAfterReflow(). r=jkeiser@netscape.com sr=dbaron@dbaron.org
This commit is contained in:
Родитель
16ee75120c
Коммит
aa56ca9650
|
@ -2725,7 +2725,8 @@ PlaceFrameView(nsIPresContext* aPresContext,
|
|||
nsIView* view;
|
||||
aFrame->GetView(aPresContext, &view);
|
||||
if (view)
|
||||
nsContainerFrame::SyncFrameViewAfterReflow(aPresContext, aFrame, view, nsnull);
|
||||
nsContainerFrame::SyncFrameViewAfterReflow(aPresContext, aFrame, view,
|
||||
aFrame->GetOverflowAreaProperty(aPresContext));
|
||||
|
||||
nsContainerFrame::PositionChildViews(aPresContext, aFrame);
|
||||
}
|
||||
|
|
|
@ -2725,7 +2725,8 @@ PlaceFrameView(nsIPresContext* aPresContext,
|
|||
nsIView* view;
|
||||
aFrame->GetView(aPresContext, &view);
|
||||
if (view)
|
||||
nsContainerFrame::SyncFrameViewAfterReflow(aPresContext, aFrame, view, nsnull);
|
||||
nsContainerFrame::SyncFrameViewAfterReflow(aPresContext, aFrame, view,
|
||||
aFrame->GetOverflowAreaProperty(aPresContext));
|
||||
|
||||
nsContainerFrame::PositionChildViews(aPresContext, aFrame);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче