Bug 1541689 [wpt PR 16156] - [css-flexbox] Correctly calculate min-height with justif...
commitffecd1d28792bb444cc70ccb715579b26b489071
authorChristian Biesinger <cbiesinger@chromium.org>
Mon, 29 Apr 2019 12:04:35 +0000 (29 12:04 +0000)
committerJames Graham <james@hoppipolla.co.uk>
Fri, 3 May 2019 17:30:29 +0000 (3 18:30 +0100)
treed207f89f5c145065cd0c6abd07c3f824d5cae2a0
parent91b1e7ab05d1f797fb38c9a78ae4b38d97388595
Bug 1541689 [wpt PR 16156] - [css-flexbox] Correctly calculate min-height with justify-content, a=testonly

Automatic update from web-platform-tests
[css-flexbox] Correctly calculate min-height with justify-content

Spacing added by justification is not meaninfully part of the
intrinsic block size of an item; remove it.

This is especially problematic with percentage sizes, because
with height: 100% and justify-content: flex-end we would
position any flex items at the end and calculate a minimum
size based on the 100%, even though we ought to ignore percentages.

R=dgrogan@chromium.org, eae@chromium.org

Bug: 945214
Change-Id: If4e271df5e550807632d30e5dd1c2b3068d45313
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1546002
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#646178}

--

wpt-commits: f326d29cb1469bf9b61d816a4752d02df706d129
wpt-pr: 16156
testing/web-platform/tests/css/css-flexbox/flex-minimum-height-flex-items-014.html [new file with mode: 0644]