Don't mess with overflow area during first pass reflow. b=222336 Patch from Bernd Mielke <bernd_mozilla@gmx.de>. r+sr=dbaron a=brendan
git-svn-id: svn://10.0.0.236/trunk@150385 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1945,9 +1945,10 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext* aPresContext,
|
||||
NS_UNCONSTRAINEDSIZE);
|
||||
// reflow the children
|
||||
nsIFrame *lastReflowed;
|
||||
nsRect overflowArea;
|
||||
ReflowChildren(aPresContext, reflowState, !HaveReflowedColGroups(),
|
||||
PR_FALSE, aStatus, lastReflowed,
|
||||
aDesiredSize.mOverflowArea);
|
||||
overflowArea);
|
||||
}
|
||||
mTableLayoutStrategy->Initialize(aPresContext, aReflowState);
|
||||
}
|
||||
|
||||
@@ -1945,9 +1945,10 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext* aPresContext,
|
||||
NS_UNCONSTRAINEDSIZE);
|
||||
// reflow the children
|
||||
nsIFrame *lastReflowed;
|
||||
nsRect overflowArea;
|
||||
ReflowChildren(aPresContext, reflowState, !HaveReflowedColGroups(),
|
||||
PR_FALSE, aStatus, lastReflowed,
|
||||
aDesiredSize.mOverflowArea);
|
||||
overflowArea);
|
||||
}
|
||||
mTableLayoutStrategy->Initialize(aPresContext, aReflowState);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user