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/column-auto-repeat-auto-007.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Checks that the min-height is reflected through the aspect-ratio for determining auto repeat tracks.</title>
<link rel="match" href="../../../../../../reference/ref-filled-green-100px-square-only.html">
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<style>
.grid-lanes {
display: inline-grid-lanes;
background: green;
aspect-ratio: 1/1;
grid-template-columns: repeat(auto-fill, auto);
min-height: 60%;
}
</style>
<p>Test passes if there is a filled green square.</p>
<div style="width: min-content; height: 100px; background: green;">
<div style="height: 100%;">
<div class="grid-lanes">
<div style="height: 1px; width: 50px; visibility: hidden;">x</div>
</div>
</div>
</div>