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
This commit is contained in:
parent
9998455a57
commit
0b57ccb01f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user