Status: PASS | Duration: 6ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-grid/grid-lanes/track-sizing/auto-repeat/row-auto-repeat-025.html
<!DOCTYPE html> <html> <title>Auto repeat tracks with fixed size and replaced items</title> <link rel="help" href="https://drafts.csswg.org/css-grid-3"> <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com"> <link rel="match" href="row-auto-repeat-025-ref.html"> <style> .grid-lanes { display: grid-lanes; flow-tolerance: 0; grid-template-rows: repeat(auto-fill, 100px); height: 400px; width: 200px; gap: 10px; } img { height: 100%; width: auto; display: block; } </style> <div class="grid-lanes"> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> </div> </html>
/css/css-grid/grid-lanes/track-sizing/auto-repeat/row-auto-repeat-025-ref.html
<!DOCTYPE html> <html> <style> .grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 100px); height: 400px; width: 150px; gap: 10px; } img { height: 100%; width: auto; display: block; } </style> <div class="grid"> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> <img src="resources/pink-image.png" width="113" height="120"></img> </div> </html>