Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=314401 (#60334) -- wpt-commits: 075b24fdd60bc89cf24c9e123621b41e4537bd3f wpt-pr: 60334
23 lines
790 B
HTML
23 lines
790 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#stretch-fit-sizing">
|
|
<script src='/resources/testharness.js'></script>
|
|
<script src='/resources/testharnessreport.js'></script>
|
|
<script src="/resources/check-layout-th.js"></script>
|
|
<meta name="assert" content="height:stretch inside a flex item behaves as auto when the flex container cross size is indefinite">
|
|
|
|
<body onload="checkLayout('[data-expected-client-height]')">
|
|
|
|
<div style="display: flex;">
|
|
<div>
|
|
<div style="display: flex; height: stretch;" data-expected-client-height="0"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="display: flex;">
|
|
<div>
|
|
<div style="height: stretch;" data-expected-client-height="20">
|
|
<div style="height: 20px;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|