Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/grid-lanes/overflow/grid-lanes-overflow-modes-001.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Grid Lanes Test: overflow modes on row-direction grid-lanes with overflowing items</title> <link rel="author" title="Yanling Wang" href="mailto:yanlingwang@microsoft.com"> <link rel="help" href="https://drafts.csswg.org/css-grid-3"> <link rel="match" href="grid-lanes-overflow-modes-001-ref.html"> <meta name="assert" content="This test checks that overflow visible, hidden, scroll, and auto are handled correctly on a row-direction grid-lanes container whose items overflow in the stacking axis."> <style> .grid-lanes { display: grid-lanes; flow-tolerance: 0; grid-template-rows: auto; background: purple; width: 70px; height: 70px; float: left; margin-right: 40px; } .bigItem { background: blue; width: 50px; height: 200px; } .smallItem { background: teal; width: 50px; height: 50px; } .scroll { overflow: scroll } .auto { overflow: auto } .hidden { overflow: hidden } </style> </head> <body> <div class="grid-lanes"> <div class="bigItem"></div> <div class="smallItem"></div> </div> <div class="grid-lanes hidden"> <div class="bigItem"></div> <div class="smallItem"></div> </div> <div class="grid-lanes scroll"> <div class="bigItem"></div> <div class="smallItem"></div> </div> <div class="grid-lanes auto"> <div class="bigItem"></div> <div class="smallItem"></div> </div> </body> </html>
/css/css-grid/grid-lanes/overflow/grid-lanes-overflow-modes-001-ref.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> .ref { display: grid; grid-auto-flow: column; grid-template-rows: auto; background: purple; width: 70px; height: 70px; float: left; margin-right: 40px; } .bigItem { background: blue; width: 50px; height: 200px; } .smallItem { background: teal; width: 50px; height: 50px; } .scroll { overflow: scroll } .auto { overflow: auto } .hidden { overflow: hidden } </style> </head> <body> <div class="ref"> <div class="bigItem"></div> <div class="smallItem"></div> </div> <div class="ref hidden"> <div class="bigItem"></div> <div class="smallItem"></div> </div> <div class="ref scroll"> <div class="bigItem"></div> <div class="smallItem"></div> </div> <div class="ref auto"> <div class="bigItem"></div> <div class="smallItem"></div> </div> </body> </html>