mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 1158549 - Properly apply min/max constraints to block-size in vertical writing modes. r=smontagu
This commit is contained in:
parent
b52d9eb75f
commit
3381e78769
@ -1557,9 +1557,9 @@ nsBlockFrame::ComputeFinalSize(const nsHTMLReflowState& aReflowState,
|
||||
}
|
||||
else if (NS_FRAME_IS_COMPLETE(aState.mReflowStatus)) {
|
||||
nscoord contentBSize = blockEndEdgeOfChildren - borderPadding.BStart(wm);
|
||||
nscoord autoBSize = aReflowState.ApplyMinMaxHeight(contentBSize);
|
||||
nscoord autoBSize = aReflowState.ApplyMinMaxBSize(contentBSize);
|
||||
if (autoBSize != contentBSize) {
|
||||
// Our min-height or max-height made our height change. Don't carry out
|
||||
// Our min- or max-bsize value made our bsize change. Don't carry out
|
||||
// our kids' block-end margins.
|
||||
aMetrics.mCarriedOutBEndMargin.Zero();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user