From 1fa365d87f1ce0525c8badb2613004ded9cf4540 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 --- layout/generic/nsSimplePageSequence.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layout/generic/nsSimplePageSequence.cpp b/layout/generic/nsSimplePageSequence.cpp index 19d5c3e1d6a..fee76256b9d 100644 --- a/layout/generic/nsSimplePageSequence.cpp +++ b/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;