Description[CSS Grid Layout] Ignore positioned block item added after inline
Right now if you add a positioned block item after an inline item, the
positioned block item is inserted inside the anonymous block wrapping
the inline item.
This was causing an assert in RenderGrid::addChildToIndexesMap() while
navigating the sibling boxes, as its previous sibling is an inline.
As the positioned block is now not direct child of the grid, we can
ignore it, as it's not considered a grid item. The grid item would
be the anonymous block. So the proper check is added in
RenderGrid::addChild to do it.
BUG=401463
TEST=fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181633
Patch Set 1 #Patch Set 2 : Changes in the test in order to reproduce the bug in current trunk #
Total comments: 2
Patch Set 3 : Patch for landing #
Messages
Total messages: 12 (1 generated)
|