wpt / css / css-grid / grid-lanes / tentative / item-placement / column-reverse-002.html

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

/css/css-grid/grid-lanes/tentative/item-placement/column-reverse-002.html

<!DOCTYPE html>
<html>
<link rel="help" href="https://drafts.csswg.org/css-grid-3">
<link rel="match" href="column-reverse-002-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, auto);
    gap: 10px;
    grid-lanes-direction: column track-reverse;
}
</style>
<body>
  <p>Test that track sizing is performed correctly with auto-sized tracks in the reverse direction.</p>
  <div class="grid-lanes">
    <div style="background: lavender;">Some larger words in this sentence</div>
    <div style="background: lightskyblue;">The cat cannot be separated from milk</div>
    <div style="background: lightgreen; width: min-content;">The cat still cannot be separated from milk</div>
  </div>
</body>
</html>

/css/css-grid/grid-lanes/tentative/item-placement/column-reverse-002-ref.html

<!DOCTYPE html>
<html>
<style>
.grid-lanes {
    display: grid-lanes;
    flow-tolerance: 0;
    grid-template-columns: repeat(3, auto);
    gap: 10px;
    grid-lanes-direction: column;
}
</style>
<body>
  <p>Test that track sizing is performed correctly with auto-sized tracks in the reverse direction.</p>
  <div class="grid-lanes">
    <div style="background: lightgreen; width: min-content;">The cat still cannot be separated from milk</div>
    <div style="background: lightskyblue;">The cat cannot be separated from milk</div>
    <div style="background: lavender;">Some larger words in this sentence</div>
  </div>
</body>
</html>