wpt / css / css-grid / grid-lanes / track-sizing / auto-repeat / intrinsic-auto-repeat / row-auto-repeat-auto-007.html

Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-grid/grid-lanes/track-sizing/auto-repeat/intrinsic-auto-repeat/row-auto-repeat-auto-007.html

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

/css/reference/ref-filled-green-100px-square-only.html

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<p>Test passes if there is a filled green square.</p>
<div style="width:100px; height:100px; background:green;"></div>