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

Status: FAIL | Duration: 9ms | 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-022.html

<!DOCTYPE html>
<html>
<title>Auto-fit repeat tracks with auto size and auto/explicit spanning item placement</title>
<link rel="help" href="https://drafts.csswg.org/css-grid-3">
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="match" href="row-auto-repeat-auto-022-ref.html">
<style>
.grid-lanes {
    display: grid-lanes;
    flow-tolerance: 0;
    grid-template-rows: repeat(4, 50px) repeat(auto-fit, auto) repeat(4, 50px);
    width: 200px;
    height: 500px;
    gap: 10px;
}

.grid-lanes > div {
    height: 50px;
    width: 100px;
    background-color: orange;
}
</style>
<div class="grid-lanes">
  <div style="grid-row: span 3; height: 150px;"></div>
  <div style="grid-row: -1;"></div>
</div>
</html>

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

<!DOCTYPE html>
<html>
<style>
.grid {
    display: grid;
    grid-template-rows: repeat(8, 50px);
    width: 200px;
    height: 500px;
    gap: 10px;
}

.grid > div {
    height: 50px;
    width: 100px;
    background-color: orange;
}
</style>
<div class="grid">
  <div style="grid-row: span 3; height: 150px;"></div>
  <div style="grid-row: -1;"></div>
</div>
</html>