Description[css-grid] Fix alignment with content distribution
We were only subtracting the distribution offset for items spanning
several tracks, but not for items in a single cell.
We should actually subtract the offset in that situation too,
the same that we do for the grid gaps.
Created new test and renamed the old one as it was only testing
items spanning several cells.
BUG=602670
TEST=fast/css-grid-layout/grid-content-alignment-and-self-alignment.html
Committed: https://crrev.com/60d690dfa729305930f3e8a387abb6da6d6146a0
Cr-Commit-Position: refs/heads/master@{#387888}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix typo #
Messages
Total messages: 14 (6 generated)
|