Status: FAIL | Duration: 23ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/grid-lanes/item-placement/dense-packing/column-dense-packing-002.html
<!DOCTYPE html> <html> <link rel="help" href="https://drafts.csswg.org/css-grid-3"> <link rel="match" href="column-dense-packing-002-ref.html"> <link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com"> <style> .grid-lanes { display: grid-lanes; background: gray; flow-tolerance: 0; grid-template-columns: repeat(3, 50px); padding: 10px; grid-auto-flow: dense; grid-lanes-pack: dense; } </style> <body> <p>Ensure that dense-packing packs items in the start-most track opening. Item 6 should go into the left-most track opening.</p> <div class="grid-lanes"> <div style="background: lightskyblue; height: 20px;" > 1 </div> <div style="background: lightcoral; height: 60px;" > 2 </div> <div style="background: lightgreen; height: 20px;"> 3 </div> <div style="background: brown; height: 10px; grid-column: span 3;"> 4 </div> <div style="background:orchid; height: 10px; grid-column: span 2;"> 5 </div> <div style="background: yellow; height: 40px;"> 6 </div> </div> </body> </html>
/css/css-grid/grid-lanes/item-placement/dense-packing/column-dense-packing-002-ref.html
<!DOCTYPE html> <html> <link rel="help" href="https://drafts.csswg.org/css-grid-3"> <style> .grid { display: grid; background: gray; position: relative; grid-template-columns: repeat(3, 50px); padding: 10px; grid-auto-flow: dense; } </style> <body> <p>Ensure that dense-packing packs items in the start-most track opening. Item 6 should go into the left-most track opening.</p> <div class="grid"> <div> <div style="background: lightskyblue; height: 20px;" > 1 </div> <div style="background: yellow; height: 40px;"> 6 </div> </div> <div style="background: lightcoral; height: 60px;" > 2 </div> <div style="background: lightgreen; height: 20px;"> 3 </div> <div style="background: brown; height: 10px; grid-column: span 3;"> 4 </div> <div style="background:orchid; height: 10px; grid-column: span 2;"> 5 </div> </div> </body> </html>