Status: FAIL | Duration: 26ms | 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-006.html
<!DOCTYPE html> <html> <link rel="help" href="https://drafts.csswg.org/css-grid-3"> <link rel="match" href="column-dense-packing-006-ref.html"> <link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com"> <style> .grid-lanes { display: grid-lanes; flow-tolerance: 0; grid-template-columns: repeat(4, 50px); grid-auto-flow: dense; grid-lanes-pack: dense; } </style> <body> <p>Ensure that dense-packing in grid-lanes only places items with a specified track into track openings in that same specified track.</p> <div class="grid-lanes"> <div style="background: brown; height: 20px;"></div> <div style="background: brown; height: 40px;"></div> <div style="background: brown; height: 60px; grid-column-start: 4;"></div> <div style="background: brown; height: 20px; grid-column: span 2;"></div> <div style="background: brown; height: 20px; grid-column: span 4;"></div> <div style="background: brown; height: 20px; grid-column: span 3;"></div> <div style="background: brown; height: 20px; grid-column: span 4;"></div> <div style="background: yellow; height: 20px; grid-column-start: 4;"></div> <div style="background: pink; height: 20px;"></div> </div> </body> </html>
/css/css-grid/grid-lanes/item-placement/dense-packing/column-dense-packing-006-ref.html
<!DOCTYPE html> <html> <style> .grid { display: grid; grid-template-columns: repeat(4, 50px); } .upwards { transform: translateY(-20px); } </style> <body> <p>Ensure that dense-packing in grid-lanes only places items with a specified track into track openings in that same specified track.</p> <div class="grid"> <div style="background: brown; height: 20px;"></div> <div style="background: brown; height: 40px; grid-column: 2;"></div> <div style="background: pink; height: 20px; grid-column-start: 3;"></div> <div style="background: brown; height: 60px; grid-column-start: 4;"></div> <div class="upwards" style="background: brown; height: 20px; grid-column: span 2;"></div> <div class="upwards" style="background: brown; height: 20px; grid-column: span 4;"></div> <div class="upwards" style="background: brown; height: 20px; grid-column: span 3;"></div> <div class="upwards" style="background: yellow; height: 20px; grid-column-start: 4;"></div> <div class="upwards" style="background: brown; height: 20px; grid-column: span 4;"></div> </div> </body> </html>