Files
sousa-gecko/testing/web-platform/tests/css/css-sizing/stretch/indefinite-5.html
T
Ahmad Saleem c5be916703 Bug 2044224 [wpt PR 60334] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=314401, a=testonly
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
2026-06-04 07:41:59 +00:00

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>