Status: PASS | Duration: 11ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/grid-lanes/abspos/column-grid-lanes-out-of-flow-004.html
<!DOCTYPE HTML> <link rel="help" href="https://drafts.csswg.org/css-grid-3/#abspos"> <link rel="match" href="column-grid-lanes-out-of-flow-004-ref.html"> <meta name="assert" content="Checks that scrollbars are included in calculating the grid-area."> <style> #container { display: grid-lanes; grid-template-columns: 1fr; height: 100px; width: 100px; overflow: scroll; border: solid 3px; position: relative; } #container > div { position: absolute; background: green; inset: 0; grid-column-start: 1; } </style> <div id="container"> <div></div> </div>
/css/css-grid/grid-lanes/abspos/column-grid-lanes-out-of-flow-004-ref.html
<!DOCTYPE HTML> <style> #container { height: 100px; width: 100px; overflow: scroll; border: solid 3px; position: relative; } #container > div { position: absolute; background: green; inset: 0; } </style> <div id="container"> <div></div> </div>