From 0b57ccb01ff01092e6bc8dc97656ea435853c475 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sat, 18 Oct 2003 06:08:39 +0000 Subject: [PATCH] Test performance impact of not limiting to the first level now that bug 222730 is fixed. r=dbaron git-svn-id: svn://10.0.0.236/trunk@148097 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsHTMLReflowState.cpp | 2 +- mozilla/layout/html/base/src/nsHTMLReflowState.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/generic/nsHTMLReflowState.cpp b/mozilla/layout/generic/nsHTMLReflowState.cpp index 2d81f446d42..5ecc826f122 100644 --- a/mozilla/layout/generic/nsHTMLReflowState.cpp +++ b/mozilla/layout/generic/nsHTMLReflowState.cpp @@ -1577,7 +1577,7 @@ nsHTMLReflowState::ComputeContainingBlockRectangle(nsIPresContext* aPre aPresContext->GetCompatibilityMode(&mode); if (eCompatibility_NavQuirks == mode && mStylePosition->mHeight.GetUnit() == eStyleUnit_Percent) { - aContainingBlockHeight = CalcQuirkContainingBlockHeight(*aContainingBlockRS, PR_TRUE); + aContainingBlockHeight = CalcQuirkContainingBlockHeight(*aContainingBlockRS, PR_FALSE); // NOTE: passing PR_TRUE for the aRestrictToFirstLevel argument, to restrict the search // for the containing block height to only the immediate parent block or area // frame. In the case that we need to go further, we would need to pass PR_TRUE diff --git a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp index 2d81f446d42..5ecc826f122 100644 --- a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp +++ b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp @@ -1577,7 +1577,7 @@ nsHTMLReflowState::ComputeContainingBlockRectangle(nsIPresContext* aPre aPresContext->GetCompatibilityMode(&mode); if (eCompatibility_NavQuirks == mode && mStylePosition->mHeight.GetUnit() == eStyleUnit_Percent) { - aContainingBlockHeight = CalcQuirkContainingBlockHeight(*aContainingBlockRS, PR_TRUE); + aContainingBlockHeight = CalcQuirkContainingBlockHeight(*aContainingBlockRS, PR_FALSE); // NOTE: passing PR_TRUE for the aRestrictToFirstLevel argument, to restrict the search // for the containing block height to only the immediate parent block or area // frame. In the case that we need to go further, we would need to pass PR_TRUE