Skip to content

Commit

Permalink
Bug 1534137 [wpt PR 15708] - [css-flexbox] Try changing min-content c…
Browse files Browse the repository at this point in the history
…ontribution for overflow: non-visible, a=testonly

Automatic update from web-platform-tests
[css-flexbox] Try changing min-content contribution for overflow: non-visible

This is an experiment for a spec change the CSSWG is considering:
w3c/csswg-drafts#1865

The plan is to land this shortly after the branch point and see what, if any,
bug reports we get, as it is otherwise difficult to tell if there is any
real-world impact of this change (particular considering that nested
flexboxes would hit this codepath).

We can revert before the stable release if necessary.

Change-Id: I0278653c231be53f3b5123d4915b53c82ee24437
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1377009
Commit-Queue: Christian Biesinger <cbiesingerchromium.org>
Reviewed-by: David Grogan <dgroganchromium.org>
Reviewed-by: Emil A Eklund <eaechromium.org>
Auto-Submit: Christian Biesinger <cbiesingerchromium.org>
Cr-Commit-Position: refs/heads/master{#639345}

--

wpt-commits: dc5ac330e65f29e767d7ce86004be251aad321f6
wpt-pr: 15708

UltraBlame original commit: 87f1dcc64ea807e8788bd92ec60ccd082fb85651
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent 9742dc0 commit f65907b
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<link rel="author" title="Google" href="https://www.google.com/" />
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#intrinsic-sizes" />
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/1865" />

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>

<body onload="checkLayout('.flexbox')">
<div class="flexbox" style="display: flex; width: min-content;" data-expected-width="0">
<div style="overflow: auto;">
<div style="width: 100px; height: 100px;"></div>
</div>
</div>

<div class="flexbox" style="display: flex; width: min-content;" data-expected-width="10">
<div style="overflow: auto; border: 5px solid;">
<div style="width: 100px; height: 100px;"></div>
</div>
</div>

0 comments on commit f65907b

Please sign in to comment.