Status: FAIL | Duration: 18ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/grid-model/grid-max-content-size-with-max-content-item.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-grid-2/#intrinsic-sizes"> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <meta name="assert" content="Grid item's min content contribution should be its max-content size"> <style> .grid-box { display: grid; width: max-content; grid-template-columns: min-content; font: 20px/1 Ahem; background-color: green; } .grid-item { width: max-content; color: green; } </style> </head> <body> <p>Test passes if there is a filled green square.</p> <div class="grid-box"> <div class="grid-item">x x x</div> <div style="height: 80px;"></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>