From 8f6d91f1751e7000dd891d293dc443767f84382a Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Wed, 17 Dec 2003 01:33:57 +0000 Subject: [PATCH] Don't mess with overflow area during first pass reflow. b=222336 Patch from Bernd Mielke . r+sr=dbaron a=brendan git-svn-id: svn://10.0.0.236/trunk@150385 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/table/src/nsTableFrame.cpp | 3 ++- mozilla/layout/tables/nsTableFrame.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/html/table/src/nsTableFrame.cpp b/mozilla/layout/html/table/src/nsTableFrame.cpp index 03ca2ebea84..d682f7eed37 100644 --- a/mozilla/layout/html/table/src/nsTableFrame.cpp +++ b/mozilla/layout/html/table/src/nsTableFrame.cpp @@ -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); } diff --git a/mozilla/layout/tables/nsTableFrame.cpp b/mozilla/layout/tables/nsTableFrame.cpp index 03ca2ebea84..d682f7eed37 100644 --- a/mozilla/layout/tables/nsTableFrame.cpp +++ b/mozilla/layout/tables/nsTableFrame.cpp @@ -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); }