Commit 1804f313 authored by Antonio Gomes's avatar Antonio Gomes Committed by Commit Bot

[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/+/2115768Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Cr-Commit-Position: refs/heads/master@{#752785}
parent 5a3e9add
<!DOCTYPE html> <!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="display: flex; flex-direction: column; border: 1px solid purple;">
<div>Header</div> <div>Header</div>
<div style="flex: 1">Flexible content<br> <div style="flex: 1">Flexible content<br>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment