Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/layout-algorithm/grid-fit-content-width-percent-height-aspect-ratio-001.html
<!DOCTYPE html> <link rel="help" href="https://drafts.csswg.org/css-grid-2/#algo-track-sizing"> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <p>Test passes if there is a filled green square.</p> <div style="width: 400px;"> <div style="display: grid; width: fit-content; background: green; height: 100px; grid-template-rows: 50px;"> <div style="height: 100%;"> <canvas width="20" height="10" style="height: 100%;"></canvas> </div> </div> </div>
/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>