Status: FAIL | Duration: 13ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/grid-lanes/track-sizing/auto-repeat/row-auto-repeat-013.html
<!DOCTYPE html> <title>Auto repeat tracks with multiple tracks.</title> <link rel="help" href="https://drafts.csswg.org/css-grid-3"> <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com"> <link rel="match" href="row-auto-repeat-013-ref.html"> <style> .grid-lanes { display: grid-lanes; border: solid thick; grid-template-rows: 10px 20px repeat(auto-fill, 30px 40px) 50px 60px; height: 300px; background: pink; } .grid-lanes > :nth-child(2n) { background: sienna; } .grid-lanes > :nth-child(2n+1) { background: orange; } .grid-lanes > div { width: 25px; height: 100%; } .holder { height: 300px; width: 50px; border-bottom: 2px solid #cfbfcf; } </style> <p>The test passes if it has the same visual effect as reference.</p> <div class="holder"> <div class="grid-lanes"> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </div> </div> <div class="holder"> <div class="grid-lanes"> <div></div> <div></div> <div></div> <div></div> <div></div> <div style="grid-row: 7;"></div> </div> </div> <div class="holder"> <div class="grid-lanes"> <div style="grid-row: 2;"></div> <div></div> <div style="grid-row: 5;"></div> <div></div> <div></div> <div></div> </div> </div>
/css/css-grid/grid-lanes/track-sizing/auto-repeat/row-auto-repeat-013-ref.html
<!DOCTYPE html> <style> .grid { display: grid; border: solid thick; grid-template-rows: 10px 20px repeat(auto-fill, 30px 40px) 50px 60px; height: 300px; background: pink; } .grid > :nth-child(2n) { background: sienna; } .grid > :nth-child(2n+1) { background: orange; } .grid > div { width: 25px; height: 100%; } .holder { height: 300px; width: 50px; border-bottom: 2px solid #cfbfcf; } </style> <p>The test passes if it has the same visual effect as reference.</p> <div class="holder"> <div class="grid"> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </div> </div> <div class="holder"> <div class="grid"> <div></div> <div></div> <div></div> <div></div> <div></div> <div style="grid-row: 7;"></div> </div> </div> <div class="holder"> <div class="grid"> <div style="grid-row: 2;"></div> <div></div> <div style="grid-row: 5;"></div> <div></div> <div></div> <div></div> </div> </div>