column-reverse-002-ref.html (638B)
1 <!DOCTYPE html> 2 <html> 3 <style> 4 .grid-lanes { 5 display: grid-lanes; 6 flow-tolerance: 0; 7 grid-template-columns: repeat(3, auto); 8 gap: 10px; 9 grid-lanes-direction: column; 10 } 11 </style> 12 <body> 13 <p>Test that track sizing is performed correctly with auto-sized tracks in the reverse direction.</p> 14 <div class="grid-lanes"> 15 <div style="background: lightgreen; width: min-content;">The cat still cannot be separated from milk</div> 16 <div style="background: lightskyblue;">The cat cannot be separated from milk</div> 17 <div style="background: lavender;">Some larger words in this sentence</div> 18 </div> 19 </body> 20 </html>