Bug 1227099 - [css-grid] Grid container block-size should include a grid-row-gap between each row. r=dholbert

This commit is contained in:
Mats Palmgren 2015-11-28 21:37:44 +01:00
parent 08c8793dcd
commit 07bd900b59

View File

@ -2984,6 +2984,7 @@ nsGridContainerFrame::Reflow(nsPresContext* aPresContext,
for (uint32_t i = 0; i < mGridRowEnd; ++i) {
bSize += gridReflowState.mRows.mSizes[i].mBase;
}
bSize += gridReflowState.mRows.SumOfGridGaps();
} else {
bSize = computedBSize;
}