author Antonio Gomes <tonikitoo@igalia.com>
Fri, 27 Mar 2020 20:42:45 +0000
changeset 521308 2a77fd153a8f0c3a6515d41a37cce7002aaeacf0
permissions -rw-r--r--
Bug 1624442 [wpt PR 22404] - [css-flexbox] Migrate auto-height-with-flex.html to WPT, a=testonly Automatic update from web-platform-tests [css-flexbox] Migrate auto-height-with-flex.html to WPT Relevant links: - original WK patch and fix: [1] and [2]. - W3 discussion that led to both WK and Blink to diverge from the spec temporarily (until it got fixed) and match other engine's behaviors (eg, Opera, Firefox): [3] [1] https://bugs.webkit.org/show_bug.cgi?id=116107 [2] http://trac.webkit.org/changeset/150087 [3] https://lists.w3.org/Archives/Public/www-style/2013May/0350.html BUG=1063749 R=dgrogan@chromium.org, robertma@chromium.org Change-Id: I3d2a087875402954b5b96ff011208bb869ed3664 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2115768 Reviewed-by: Robert Ma <robertma@chromium.org> Reviewed-by: David Grogan <dgrogan@chromium.org> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#752785} -- wpt-commits: 2982ebc2c04ca53b8b86c9ce77c4a8343a1876de wpt-pr: 22404

<!DOCTYPE html>
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#flex-basis-property">
<link rel="match" href="reference/auto-height-with-flex-ref.html">
<meta name="assert" content="This test ensures that a vertical flexbox (with auto height) and a flexitem with flex: 1; will not have 0 set to the flex basis, but to auto instead."/>
<div style="display: flex; flex-direction: column; border: 1px solid purple;">
<div style="flex: 1">Flexible content<br>