Files
sousa-gecko/testing/web-platform/tests/css/css-flexbox/flex-grow-009.html
T
Sammy Gill 2ad17e75b4 Bug 2040862 [wpt PR 59547] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=312477, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=312477 (#59547)
--

wpt-commits: f49a26c7177ed9acadfbd6c0514f4101a0739aa8
wpt-pr: 59547
2026-05-22 14:16:36 +00:00

29 lines
708 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="Sammy Gill" href="https://webkit.org">
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#resolve-flexible-lengths">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<style>
.container {
background-color: red;
display: flex;
height: 100px;
width: 100px;
}
.infinite-grow {
flex: calc(infinity) 0 0px;
background: green;
}
.normal-grow {
flex: 1 0 0px;
background: red;
}
</style>
<body>
<p>Test passes if there is a filled green square.</p>
<div class="container">
<div class="infinite-grow"></div>
<div class="normal-grow"></div>
</div>
</body>