зеркало из https://github.com/mozilla/pjs.git
Test performance impact of not limiting to the first level now that bug 222730
is fixed. r=dbaron
This commit is contained in:
Родитель
94ca0412f9
Коммит
3e20badab0
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче