From 5be60c13bc5e69544e9a660247f2cc7143fa7118 Mon Sep 17 00:00:00 2001 From: "bmlk%gmx.de" Date: Sat, 16 Oct 2004 18:21:15 +0000 Subject: [PATCH] query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky --- layout/html/table/src/nsTableOuterFrame.cpp | 2 +- layout/tables/nsTableOuterFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/html/table/src/nsTableOuterFrame.cpp b/layout/html/table/src/nsTableOuterFrame.cpp index 9d7ca3576188..b1d8a3958e49 100644 --- a/layout/html/table/src/nsTableOuterFrame.cpp +++ b/layout/html/table/src/nsTableOuterFrame.cpp @@ -1313,7 +1313,7 @@ nsTableOuterFrame::OuterReflowChild(nsPresContext* aPresContext, } // see if we need to reflow the caption in addition if (aNeedToReflowCaption && !*aNeedToReflowCaption && - mInnerTableFrame == aChildFrame) { + mInnerTableFrame == aChildFrame && childRS.reason == eReflowReason_Incremental) { nsHTMLReflowCommand* command = childRS.path->mReflowCommand; if (command) { nsReflowType type; diff --git a/layout/tables/nsTableOuterFrame.cpp b/layout/tables/nsTableOuterFrame.cpp index 9d7ca3576188..b1d8a3958e49 100644 --- a/layout/tables/nsTableOuterFrame.cpp +++ b/layout/tables/nsTableOuterFrame.cpp @@ -1313,7 +1313,7 @@ nsTableOuterFrame::OuterReflowChild(nsPresContext* aPresContext, } // see if we need to reflow the caption in addition if (aNeedToReflowCaption && !*aNeedToReflowCaption && - mInnerTableFrame == aChildFrame) { + mInnerTableFrame == aChildFrame && childRS.reason == eReflowReason_Incremental) { nsHTMLReflowCommand* command = childRS.path->mReflowCommand; if (command) { nsReflowType type;