Description[CSS Grid Layout] Grid items must set a new formatting context.
According to the spec, "A grid item establishes a new formatting context
for its contents." Hence, margins should not collapse even when they may
be adjoining to its content's margins. It also prevents any 'float' protruding
content on the adjoining grid items.
BUG=430100
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185214
Patch Set 1 #
Total comments: 10
Patch Set 2 : Applied suggested changes. #
Total comments: 4
Patch Set 3 : Applied additional suggested changes. #Messages
Total messages: 14 (4 generated)
|