Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/subgrid/overflow-hidden-does-not-prohibit-subgrid.html
<!DOCTYPE html> <html> <head> <link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com"> <link rel="help" href="https://drafts.csswg.org/css-overflow-3/#overflow-control"> <link rel="help" href="https://drafts.csswg.org/css-grid-2/#track-sizing"> <link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html"> <meta name="assert" content="overflow on a grid item does not cause it to establish an independent formatting context, and as a result does not prohibit subgrid"> <style> .grid { display: inline-grid; grid-template: auto auto / auto auto; background-color: green; } .subgrid { grid-row: span 2; grid-column: 2; display: grid; grid-template-rows: subgrid; overflow: hidden; } .item { width: 50px; height: 50px; } </style> </head> <body> <p>Test passes if there is a filled green square.</p> <div class="grid"> <div class="item" style="grid-row: 1;"></div> <div class="subgrid"> <div class="item" style="grid-row: 2;"></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>