mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1229165 - [css-grid] Apply min/max-width/height properties to clamp block-size of auto-height grid containers. r=dholbert
This commit is contained in:
parent
2f96a32a2b
commit
c346c4cf63
@ -3007,6 +3007,9 @@ nsGridContainerFrame::Reflow(nsPresContext* aPresContext,
|
||||
bSize += gridReflowState.mRows.mSizes[i].mBase;
|
||||
}
|
||||
bSize += gridReflowState.mRows.SumOfGridGaps();
|
||||
bSize = NS_CSS_MINMAX(bSize,
|
||||
aReflowState.ComputedMinBSize(),
|
||||
aReflowState.ComputedMaxBSize());
|
||||
} else {
|
||||
bSize = computedBSize;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user