Bug 1151316 part 1 - [css-grid] Implement relative positioning for grid items. r=roc

This commit is contained in:
Mats Palmgren 2015-05-05 21:53:22 +00:00
parent 2a23d84c6b
commit 115ff147de

View File

@ -1234,6 +1234,7 @@ nsGridContainerFrame::ReflowChildren(GridItemCSSOrderIterator& aIter,
nsReflowStatus childStatus;
ReflowChild(child, pc, childSize, childRS, wm, childPos,
containerWidth, 0, childStatus);
childRS.ApplyRelativePositioning(&childPos, containerWidth);
FinishReflowChild(child, pc, childSize, &childRS, wm, childPos,
containerWidth, 0);
ConsiderChildOverflow(aDesiredSize.mOverflowAreas, child);