Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/grid-definition/grid-auto-repeat-dynamic-003.html
<!DOCTYPE html> <link rel="help" href="https://drafts.csswg.org/css-grid-1/#auto-repeat"> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <meta name="assert" content="Checks that a dynamic change in containing block height changes the number of auto repeat columns."> <p>Test passes if there is a filled green square.</p> <div id="target" style="width: 100px; height: 0px;"> <div style="display: inline-grid; background: green; min-height: 60%; grid-template-columns: repeat(auto-fill, 50px); grid-template-rows: 100px; aspect-ratio: 1/1;"></div> </div> <script> document.body.offsetTop; document.getElementById('target').style.height = '100px'; </script>
/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>