Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/flex-grow-009.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>
/css/reference/ref-filled-green-100px-square-only.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> <p>Test passes if there is a filled green square.</p> <div style="width:100px; height:100px; background:green;"></div>