column-reverse-dense-packing-multi-span-005.html (1042B)
1 <!DOCTYPE html> 2 <html> 3 <link rel="help" href="https://drafts.csswg.org/css-grid-3"> 4 <link rel="match" href="column-reverse-dense-packing-multi-span-005-ref.html"> 5 <link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com"> 6 <style> 7 .grid-lanes { 8 display: grid-lanes; 9 flow-tolerance: 0; 10 grid-auto-flow: dense; 11 grid-lanes-direction: column-reverse; 12 grid-template-columns: repeat(5, 50px); 13 } 14 </style> 15 <body> 16 <p>Ensure that dense-packing in grid-lanes properly handles "split" track openings.</p> 17 <div class="grid-lanes"> 18 <div style="background: brown; height: 80px;"></div> 19 <div style="background: brown; height: 20px; grid-column: span 2"></div> 20 <div style="background: brown; height: 40px;"></div> 21 <div style="background: brown; height: 100px;"></div> 22 <div style="background: brown; height: 10px; grid-column: span 5;"></div> 23 <div style="background: pink; height: 10px; grid-column: span 4;"></div> 24 <div style="background: lightgreen; height: 10px; grid-column: span 2;"></div> 25 </div> 26 </body> 27 </html>