wpt / css / css-grid / grid-lanes / item-placement / dense-packing / column-dense-packing-multi-span-011.html

Status: FAIL | Duration: 29ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-grid/grid-lanes/item-placement/dense-packing/column-dense-packing-multi-span-011.html

<!DOCTYPE html>
<html>
<link rel="help" href="https://drafts.csswg.org/css-grid-3">
<link rel="match" href="column-dense-packing-multi-span-011-ref.html">
<link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com">
<style>
.grid-lanes {
    display: grid-lanes;
    flow-tolerance: 0;
    grid-template-columns: repeat(3, 50px);
    grid-auto-flow: dense;
    grid-lanes-pack: dense;
}
</style>
<body>
  <p>Ensure that open tracks are used when dense-packing a multi-span item.</p>
  <div class="grid-lanes">
    <div style="background: lightskyblue; height: 60px;" >
      1
    </div>
    <div style="background: darkblue; height: 20px; grid-column: 1 / span 2;">
      2
    </div>
    <div style="background: yellow; height: 20px; grid-column: span 2;">
      3
    </div>
    <div style="background: skyblue; height: 10px; grid-column: span 3;">
      4
    </div>
    <div style="background: lightskyblue; height: 70px; grid-column: 3;" >
      5
    </div>
    <div style="background: darkblue; height: 50px; grid-column: 2 / span 2;">
      6
    </div>
    <div style="background: yellow; height: 50px; grid-column: span 2;">
      7
    </div>
  </div>
</body>
</html>

/css/css-grid/grid-lanes/item-placement/dense-packing/column-dense-packing-multi-span-011-ref.html

<!DOCTYPE html>
<html>
<style>
.grid {
    display: grid;
    grid-template-columns: repeat(3, 50px);
    grid-auto-flow: dense;
}
</style>
<body>
  <p>Ensure that open tracks are used when dense-packing a multi-span item.</p>
  <div class="grid">
    <div style="background: lightskyblue; height: 60px;" >
      1
    </div>
    <div style="background: darkblue; height: 20px; grid-column: 1 / span 2;">
      2
    </div>
    <div style="background: yellow; height: 20px; grid-column: span 2;">
      3
    </div>
    <div style="background: skyblue; height: 10px; grid-column: span 3; grid-row: 3;">
      4
    </div>
    <div style="background: lightskyblue; height: 70px; grid-column: 3; grid-row: 4;" >
      5
    </div>
    <div style="background: darkblue; height: 50px; grid-column: 2 / span 2;">
      6
    </div>
    <div style="background: yellow; height: 50px; grid-column: span 2;">
      7
    </div>
  </div>
</body>
</html>