fune/testing/web-platform/tests/css/css-flexbox/item-with-max-height-and-scrollbar.html
Christian Biesinger 95038161e1 Bug 1550964 [wpt PR 16651] - [css-flexbox] Add a test for a bug I accidentally fixed, a=testonly
Automatic update from web-platform-tests
[css-flexbox] Add a test for a bug I accidentally fixed

See https://crbug.com/947886#c18. This test was fixed
in https://crrev.com/c/1548326

R=dgrogan@chromium.org

Bug: 947886
Change-Id: I1e4f1ae90ea14daea4af99369c77d73beaa9f1e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1594062
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#656908}

--

wpt-commits: f92548a52284914248b71a0cc19e16fe4b299c6e
wpt-pr: 16651
2019-06-05 10:29:07 +01:00

12 lines
583 B
HTML

<!DOCTYPE html>
<title>css-flexbox: Tests that we correctly size a flex item with a scrollbar and max-height</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#resolve-flexible-lengths">
<link rel="match" href="reference/item-with-max-height-and-scrollbar-ref.html">
<div style="display: flex; width: 100px; flex-direction: column;">
<div style="overflow: scroll; max-height: 100%; min-height: 0; background: green;">
<div style="height: 100px; width: 100px;">
</div>
</div>
</div>