[FlexNG] Subtract inline margins from available size
When laying out items in a column container for flex basis calculation, we have to subtract inline margins from the container width to get the right available width for the items. This also fixes the browser test PrintPreviewPagesSettingsTest.InvalidPageRanges which used to crash. Bug: 845235 Change-Id: Ie9382c0e6cfa89333fc92c2bc4eb8e95c592c923 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106821 Commit-Queue: David Grogan <dgrogan@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#751205}
Showing
Please register or sign in to comment