Bug 1624442 [wpt PR 22404] - [css-flexbox] Migrate auto-height-with-flex.html to WPT, a=testonly
authorAntonio Gomes <tonikitoo@igalia.com>
Fri, 27 Mar 2020 20:42:45 +0000
changeset 521291 2a77fd153a8f0c3a6515d41a37cce7002aaeacf0
parent 521290 b002d477476739696282b6581b08001871e61eb5
child 521292 3259346b3183723e08df97ebe15374f185075347
push id37269
push useraiakab@mozilla.com
push dateTue, 31 Mar 2020 22:58:23 +0000
treeherdermozilla-central@9af589864188 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1624442, 22404, 116107, 150087, 1063749, 2115768, 752785
milestone76.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
testing/web-platform/tests/css/css-flexbox/auto-height-with-flex.html
testing/web-platform/tests/css/css-flexbox/reference/auto-height-with-flex-ref.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/auto-height-with-flex.html
@@ -0,0 +1,9 @@
+<!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>Header</div>
+<div style="flex: 1">Flexible content<br>
+</div>
+</div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/reference/auto-height-with-flex-ref.html
@@ -0,0 +1,5 @@
+<div style="border:1px solid purple;">
+<div>Header</div>
+<div>Flexible content<br>
+</div>
+</div>