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:
dbaron%dbaron.org
2003-12-17 01:33:57 +00:00
parent c8050ae987
commit 8f6d91f175
2 changed files with 4 additions and 2 deletions

View File

@@ -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);
}

View File

@@ -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);
}