Test performance impact of not limiting to the first level now that bug 222730

is fixed.  r=dbaron
This commit is contained in:
bzbarsky%mit.edu 2003-10-18 06:08:39 +00:00
Родитель 94ca0412f9
Коммит 3e20badab0
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

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