Bug 1667155 [wpt PR 25777] - [AspectRatio] Fix bug in flex-aspect-ratio-024 test...
commit671380ba5b9e03430b9bf5b7d76a27dba1722183
authorChristian Biesinger <cbiesinger@chromium.org>
Sat, 26 Sep 2020 09:29:04 +0000 (26 09:29 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 30 Sep 2020 08:57:25 +0000 (30 08:57 +0000)
tree8560c490f2ebcfb43a53f632482fa807e790d9b2
parent27f936eef3940531a1dc2571191992d483663b8f
Bug 1667155 [wpt PR 25777] - [AspectRatio] Fix bug in flex-aspect-ratio-024 test, a=testonly

Automatic update from web-platform-tests
[AspectRatio] Fix bug in flex-aspect-ratio-024 test

The problem with the test was that due to the way we calculate
the intrinsic sizes of an inline flexbox, we end up sizing the
flexbox to 20px wide and then "stretching" the flex item to that
width.

Instead, use a wrapping flex box where flex line sizing does not
have that issue.

R=ikilpatrick@chromium.org, mstensho@chromium.org

Bug: 1117279
Change-Id: I719814fc5e4c570a100e131f4d903c09d4c05575
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429543
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810284}

--

wpt-commits: f0d83d8c3870e8baba6813d3af4cb7f7eb3ab342
wpt-pr: 25777
testing/web-platform/tests/css/css-sizing/aspect-ratio/flex-aspect-ratio-024.tentative.html