Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/layout-algorithm/grid-track-ignores-max-size-002.html
<!DOCTYPE html> <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> <link rel="help" href="https://drafts.csswg.org/css-grid-2/#algo-grid-sizing"> <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1990170"> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <meta name="assert" content="This test verifies that when resolving the row sizes, grid container's max-block-size is ignored."> <style> .grid { display: grid; inline-size: 100px; block-size: auto; max-block-size: 10px; } .item { background: green; min-height: 0; line-height: 0; } </style> <p>Test passes if there is a filled green square.</p> <div class="grid"> <div class="item"><canvas width="100" height="100"></canvas></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>