wpt / css / css-grid / grid-lanes / alignment / column-fill-reverse-align-items-stretch-indefinite-size-001.html

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

/css/css-grid/grid-lanes/alignment/column-fill-reverse-align-items-stretch-indefinite-size-001.html

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>CSS Grid Lanes Test: `align-items: stretch` with `fill-reverse` in column direction and indefinite stacking-axis size</title>
  <link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com">
  <link rel="help" href="https://drafts.csswg.org/css-grid-3/#alignment">
  <link rel="match" href="column-fill-reverse-align-items-stretch-indefinite-size-001-ref.html">
  <style>
    html, body {
      color: black; background-color: white; font: 16px/1 monospace; padding: 0; margin: 0;
    }

    .grid-lanes {
      display: grid-lanes;
      grid-template-columns: repeat(2, 80px);
      grid-lanes-direction: column fill-reverse;
      align-items: stretch;
      padding: 2px;
      margin: 5px 5px 30px 5px;
      border: 1px solid;
    }

    item {
      display: block;
      color: white;
    }
  </style>
</head>
<body>

<div class="grid-lanes">
  <item style="height: 60px; background: #f4a0a0;">1</item>
  <item style="height: 20px; background: #2ca02c; grid-column: 2;">2</item>
  <item style="background: #aad4f5; grid-column: 2;">3</item>
</div>

</body>
</html>

/css/css-grid/grid-lanes/alignment/column-fill-reverse-align-items-stretch-indefinite-size-001-ref.html

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <style>
    html, body {
      color: black; background-color: white; font: 16px/1 monospace; padding: 0; margin: 0;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(2, 80px);
      grid-template-rows: 40px 20px;
      padding: 2px;
      margin: 5px 5px 30px 5px;
      border: 1px solid;
    }

    item {
      display: block;
      color: white;
    }
  </style>
</head>
<body>

<div class="grid">
  <item style="grid-column: 1; grid-row: 1 / span 2; height: 60px; background: #f4a0a0;">1</item>
  <item style="grid-column: 2; grid-row: 2; height: 20px; background: #2ca02c;">2</item>
  <item style="grid-column: 2; grid-row: 1; height: 40px; background: #aad4f5;">3</item>
</div>

</body>
</html>