From 7c3bc64dafd6c8f9967106218fbce1e511e06ff2 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Thu, 26 Apr 2007 05:33:34 +0000 Subject: [PATCH] Don't do incremental reflow for now, because tables can't deal. Followup for bug 378480, r+sr=roc git-svn-id: svn://10.0.0.236/trunk@225073 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsSimplePageSequence.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/layout/generic/nsSimplePageSequence.cpp b/mozilla/layout/generic/nsSimplePageSequence.cpp index 19d5c3e1d6a..fee76256b9d 100644 --- a/mozilla/layout/generic/nsSimplePageSequence.cpp +++ b/mozilla/layout/generic/nsSimplePageSequence.cpp @@ -203,7 +203,9 @@ nsSimplePageSequenceFrame::Reflow(nsPresContext* aPresContext, aStatus = NS_FRAME_COMPLETE; // we're always complete - if (!(GetStateBits() & (NS_FRAME_IS_DIRTY | NS_FRAME_HAS_DIRTY_CHILDREN))) { + // Don't do incremental reflow until we've taught tables how to do + // it right in paginated mode. + if (!(GetStateBits() & NS_FRAME_FIRST_REFLOW)) { // Return our desired size aDesiredSize.height = mSize.height; aDesiredSize.width = mSize.width;