blob: 27fcd824c233802996fcef9041cee2e4344e570f [file] [edit]
<!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>