query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky

This commit is contained in:
bmlk%gmx.de 2004-10-16 18:21:15 +00:00
parent b84daa8a30
commit 5be60c13bc
2 changed files with 2 additions and 2 deletions

View File

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

View File

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