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-006.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Checks that the min-height is reflected through the aspect-ratio for determining auto repeat tracks with auto size.</title>
<link rel="help" href="https://drafts.csswg.org/css-grid-3">
<link rel="match" href="../row-auto-repeat-003-ref.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-lanes-direction: row;
grid-template-rows: repeat(auto-fill, auto);
min-height: 60px;
}
</style>
<p>Test passes if there is a filled green square.</p>
<div class="grid-lanes">
<div style="width: 1px; height: 50px;"></div>
</div>