зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1227099 - [css-grid] Grid container block-size should include a grid-row-gap between each row. r=dholbert
This commit is contained in:
Родитель
08c8793dcd
Коммит
07bd900b59
|
@ -2984,6 +2984,7 @@ nsGridContainerFrame::Reflow(nsPresContext* aPresContext,
|
||||||
for (uint32_t i = 0; i < mGridRowEnd; ++i) {
|
for (uint32_t i = 0; i < mGridRowEnd; ++i) {
|
||||||
bSize += gridReflowState.mRows.mSizes[i].mBase;
|
bSize += gridReflowState.mRows.mSizes[i].mBase;
|
||||||
}
|
}
|
||||||
|
bSize += gridReflowState.mRows.SumOfGridGaps();
|
||||||
} else {
|
} else {
|
||||||
bSize = computedBSize;
|
bSize = computedBSize;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче