forked from mirrors/gecko-dev
Automatic update from web-platform-tests [FlexNG] Implement transferred size suggestion Aspect-ratio items with min-main:auto and a definite cross size use cross size * ratio as an input to the min-main:auto algorithm. FlexNG previously ignored that part of the spec. Bug: 845235,1064283 Change-Id: I22198e1255c70797aed83c045f76b8e23c029b3e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2119174 Commit-Queue: David Grogan <dgrogan@chromium.org> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#754286} -- wpt-commits: cf8a15a334c6eb3b044b3db8a933436c2365819d wpt-pr: 22431
13 lines
661 B
HTML
13 lines
661 B
HTML
<!DOCTYPE html>
|
|
<title>Flex transferred minimum height</title>
|
|
<link rel="author" title="dgrogan@chromium.org" href="mailto:dgrogan@chromium.org" />
|
|
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#transferred-size-suggestion" />
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html" />
|
|
<meta name="assert" content="min-height: auto honors transferred size suggestion">
|
|
|
|
<p>Test passes if there is a filled green square.</p>
|
|
|
|
<div style="width:100px; height: 50px; background: green;"></div>
|
|
<div style="display: flex; flex-direction: column; height: 0px">
|
|
<img src="support/300x150-green.png" style="width: 100px">
|
|
</div>
|