Status: FAIL | Duration: 15ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
<!DOCTYPE html> <html> <title>Auto repeat tracks with auto track sizes and percentage sized spanning children</title> <link rel="help" href="https://drafts.csswg.org/css-grid-3"> <link rel="match" href="column-auto-repeat-auto-003-ref.html"> <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com"> <link rel="stylesheet" href="/fonts/ahem.css"> <style> .grid-lanes { display: grid-lanes; background: gray; flow-tolerance: 0; grid-template-columns: repeat(auto-fill, auto); width: 360px; height: 200px; font: 15px/1 Ahem; } .grid-lanes > div { width: 75%; height: 50px; } </style> <body> <div class="grid-lanes"> <div style="background: lightskyblue; grid-column: span 2;"> Number 1 </div> <div style="background: lightcoral; grid-column: span 3;"> Number 2 </div> <div style="background: lightgreen; grid-column: span 4;"> Number 3 </div> <div style="background: lightpink; grid-column: span 2;"> Number 4 </div> </div> </body> </html>
<!DOCTYPE html> <html> <link rel="stylesheet" href="/fonts/ahem.css"> <style> .grid { display: grid; grid-template-columns: repeat(6, 60px); grid-template-rows: 50px 50px 50px 50px; background: gray; width: 360px; height: 200px; font: 15px/1 Ahem; } .grid > div { width: 75%; } </style> <body> <div class="grid"> <div style="background: lightskyblue; grid-column: span 2;"> Number 1 </div> <div style="background: lightcoral; grid-column: span 3;"> Number 2 </div> <div style="background: lightgreen; grid-column: span 4;"> Number 3 </div> <div style="background: lightpink; grid-column: span 2;"> Number 4 </div> </div> </body> </html>