mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +02:00
Automatic update from web-platform-tests [FlexNG] Don't let min size go negative We were subtracting border_padding when it wasn't present if the item had min-size:auto but didn't qualify for the special flex min-size:auto behavior because, for instance, it has overflow: hidden. This fixes the telemetry_perf_unittests failure FlexNG was hitting on the bots, which was caused by a recorded google docs page. Change-Id: Ia6bde490651daf63e4ca77f9525870987bb9fe5c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065626 Commit-Queue: David Grogan <dgrogan@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#744017} -- wpt-commits: 2ee59347f0e4e93b29cecd8e87e8d1d509391774 wpt-pr: 21893
10 lines
539 B
HTML
10 lines
539 B
HTML
<!DOCTYPE html>
|
|
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
|
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#layout-algorithm">
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
|
<meta name="assert" content="Item's size includes padding even when there is overflow:hidden. Chrome crashed on this.">
|
|
<p>Test passes if there is a filled green square only.</p>
|
|
|
|
<div style="display: flex">
|
|
<div style="padding: 50px; background: green; overflow: hidden;"></div>
|
|
</div>
|