Bug 1623005 [wpt PR 22290] - [FlexNG] Subtract inline margins from available size...
commite1663ab0062e24fe39cec1bed6db3370bb52bf95
authorDavid Grogan <dgrogan@chromium.org>
Wed, 18 Mar 2020 11:27:49 +0000 (18 11:27 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 19 Mar 2020 17:33:14 +0000 (19 17:33 +0000)
tree02cc44bfc39312ccf86d61016d82145ebfb2c338
parent6e9a12c71edd2b54ab87af8b5cb5e08a82938c1f
Bug 1623005 [wpt PR 22290] - [FlexNG] Subtract inline margins from available size, a=testonly

Automatic update from web-platform-tests
[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}

--

wpt-commits: 175d84395119622e71bb8d4fcfc4b919c3e26089
wpt-pr: 22290
testing/web-platform/tests/css/css-flexbox/flex-basis-item-margins-001.html [new file with mode: 0644]