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
Родитель 08c8793dcd
Коммит 07bd900b59
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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;
} }