Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-grid/grid-lanes/tentative/track-sizing/auto-repeat/intrinsic-auto-repeat/row-auto-repeat-auto-011.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Auto repeat tracks with multiple tracks and gutters.</title>
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="match" href="row-auto-repeat-auto-011-ref.html">
<style>
.grid-lanes {
display: grid-lanes;
border: solid thick;
margin: 10px;
masonry-direction: row;
grid-template-rows: repeat(auto-fill, auto auto);
grid-row-gap: 100px;
height: 300px;
width: min-content;
background: pink;
}
.grid-lanes > div {
background: lime;
width: 50px;
height: 50px;
}
</style>
<p>The test passes if it has the same visual effect as reference.</p>
<div class="grid-lanes">
<div></div>
<div></div>
<div></div>
<div></div>
</div>