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

Status: FAIL | Duration: 19ms | Subtests: 0/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-003.html

<!DOCTYPE html>
<html>
<title>Auto repeat tracks with auto track sizes and percentage sized spanning children</title>
<link rel="help" href="https://drafts.csswg.org/css-grid-3">
<link rel="match" href="row-auto-repeat-auto-003-ref.html">
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.grid-lanes {
    display: grid-lanes;
    background: gray;
    flow-tolerance: 0;
    grid-template-rows: repeat(auto-fill, auto);
    width: 200px;
    height: 360px;
    font: 15px/1 Ahem;
}

.grid-lanes > div {
    width: min-content;
    height: 75%;
}
</style>
<body>
  <div class="grid-lanes">
    <div style="background: lightskyblue; grid-row: span 2;">
      Number 1
    </div>
    <div style="background: lightcoral; grid-row: span 3;">
      Number 2
    </div>
    <div style="background: lightgreen; grid-row: span 4;">
      Number 3
    </div>
    <div style="background: lightpink; grid-row: span 2;">
      Number 4
    </div>
  </div>
</body>
</html>

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

<!DOCTYPE html>
<html>
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.grid {
    display: grid;
    grid-template-rows: repeat(11, 15px);
    grid-template-columns: min-content;
    background: gray;
    width: 200px;
    height: 360px;
    font: 15px/1 Ahem;
}

.grid > div {
    height: 75%;
    width: min-content;
}
</style>
<body>
  <div class="grid">
    <div style="background: lightskyblue; grid-row: span 2;">
      Number 1
    </div>
    <div style="background: lightcoral; grid-row: span 3;">
      Number 2
    </div>
    <div style="background: lightgreen; grid-row: span 4;">
      Number 3
    </div>
    <div style="background: lightpink; grid-row: span 2;">
      Number 4
    </div>
  </div>
</body>
</html>