Description[CSS Grid Layout] Combining Content and Self Alignment with span items
Using the Content Alignment CSS properties we can add offsets to the
grid tracks so they are not adjacent anymore. This requires to handle
Self Alignment of items spanning more than one track in a special way,
because grid item's area breadth is bigger than the tracks base size it
occupies.
In order to properly adjust the Self Alignment values we need to consider
the offset between tracks.
BUG=249451, 376823
Committed: https://crrev.com/42162f3d51bc0472475314a04661dfcc57096778
Cr-Commit-Position: refs/heads/master@{#352096}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Applied suggersted changes. #Patch Set 3 : Applied suggested changes. #Patch Set 4 : Added comment. #
Messages
Total messages: 9 (3 generated)
|