Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/percentage-size-quirks-003.html
<html> <head> <link rel="match" href="../reference/ref-filled-green-100px-square-only.html" /> <link rel="help" href="https://drafts.csswg.org/css-flexbox/#definite-sizes"> <link rel="help" href="https://quirks.spec.whatwg.org/#the-percentage-height-calculation-quirk" title="Number 4"> </head> <body> <p style="margin-top: 1em">Test passes if there is a filled green square.</p> <div style="display: flex; width: 100px; height: 100px; flex-direction: column;"> <div style="flex-grow: 1; height: 0;"> <div style="display: flex; flex-direction: column; height: 100%;"> <div style="width: 100px; height: 50px; background-color: green;"></div> <div style="flex: 1;"> <div style="height: 100%; background-color: green;"></div> </div> </div> </div> </div> </body> </html>
/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>