Closed Bug 1566939 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 17887 - [css-flexbox] Better handle percentages for min-height:auto

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 17887 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/17887
Details from upstream follow.

Christian Biesinger <cbiesinger@chromium.org> wrote:

[css-flexbox] Better handle percentages for min-height:auto

We only need to ignore percentages when the flex item has a
definite height; if it doesn't, percentages get treated as
height: auto which is the desired behavior. This fixes the two
regressions that were filed because of this.

Bug: 984606, 981481
Change-Id: I008d9ec316e4ff233eac03ead30f09ed85c4c120

Reviewed-on: https://chromium-review.googlesource.com/1705578
WPT-Export-Revision: 6bce9c272e95b3b31c8286918c6b1c2a6355f169

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Type: -- → task
Ran 1 tests
PASS   : 1
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1bd9c4b37d14
[wpt PR 17887] - [css-flexbox] Better handle percentages for min-height:auto, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.