Description[css-grid] Avoid computing available space if gap is not a percentage
This patch modifies LayoutGrid::gridGapForDirection() because
we only need to calculate the available space if the grid gap
is a percentage. Otherwise we can skip this operation.
BUG=615248
Committed: https://crrev.com/b72a2612ebdee71a9114d184d970a5844c6e7c38
Cr-Commit-Position: refs/heads/master@{#417568}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|