wpt / css / css-grid / grid-lanes / subgrid / grid-subgridded-to-grid-lanes / gap / column-subgrid-grid-gap-014.html

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

/css/css-grid/grid-lanes/subgrid/grid-subgridded-to-grid-lanes/gap/column-subgrid-grid-gap-014.html

<!DOCTYPE HTML>
<html><head>
<meta charset="utf-8">
<title>CSS Grid Lanes Test: nested empty column-direction subgrid propagates parent gutter delta</title>
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="help" href="https://drafts.csswg.org/css-grid-3/#subgrids">
<link rel="match" href="column-subgrid-grid-gap-014-ref.html">
<style>
html,body { color:black; background-color:white; padding:0; margin:0; }

.grid-lanes {
  display:inline-grid-lanes;
  grid-template-columns:auto auto;
  border:1px solid;
  background:yellow;
}

.subgrid {
  display:grid;
  grid-template-columns:subgrid;
  min-height:30px;
}
</style>
</head>
<body>
<div class="grid-lanes">
  <div class="subgrid" style="column-gap:100px; grid-column:span 2; background:cyan;">
    <div class="subgrid" style="grid-column:span 1; background:magenta;"></div>
  </div>
</div>
</body>
</html>

/css/css-grid/grid-lanes/subgrid/grid-subgridded-to-grid-lanes/gap/column-subgrid-grid-gap-014-ref.html

<!DOCTYPE HTML>
<html><head>
<meta charset="utf-8">
<style>
html,body { color:black; background-color:white; padding:0; margin:0; }

.grid {
  display:inline-grid;
  grid-template-columns:50px 50px;
  border:1px solid;
  background:yellow;
}

.subgrid {
  display:grid;
  grid-template-columns:subgrid;
  min-height:30px;
}
</style>
</head>
<body>
<div class="grid">
  <div class="subgrid" style="column-gap:100px; grid-column:span 2; background:cyan;">
    <div class="subgrid" style="grid-column:span 1; background:magenta;"></div>
  </div>
</div>
</body>
</html>