зеркало из https://github.com/mozilla/pjs.git
Fix elements with max-width overlapping floats due to initial incorrect position by reflow state. b=52916 Patch by Chris Waterson. r=dbaron sr=bzbarsky
This commit is contained in:
Родитель
58d5428446
Коммит
38f954b2d2
|
@ -1972,6 +1972,7 @@ nsHTMLReflowState::ComputeBlockBoxData(nsIPresContext* aPresContext,
|
|||
}
|
||||
|
||||
AdjustComputedWidth(PR_FALSE);
|
||||
CalculateBlockSideMargins(cbrs->mComputedWidth, mComputedWidth);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -1972,6 +1972,7 @@ nsHTMLReflowState::ComputeBlockBoxData(nsIPresContext* aPresContext,
|
|||
}
|
||||
|
||||
AdjustComputedWidth(PR_FALSE);
|
||||
CalculateBlockSideMargins(cbrs->mComputedWidth, mComputedWidth);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче