wpt / css / css-grid / subgrid / grid-gap-011.html

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

/css/css-grid/subgrid/grid-gap-011.html

<!DOCTYPE HTML>
<html><head>
  <meta charset="utf-8">
  <title>CSS Grid Test: Subgrids with column gap larger than the track size</title>
  <link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
  <link rel="help" href="https://drafts.csswg.org/css-grid-2">
  <link rel="match" href="grid-gap-011-ref.html">
</head>
<body>
<div style="display:grid; grid-template-columns: 100px 100px 100px; width: 300px">
    <div style="display:grid; grid-template-columns: subgrid; gap: 150px; grid-column: span 3">
        <div style="width:100px; height: 100px; background-color: blue; grid-column: 2"></div>
        <div style="width:100px; height: 100px; background-color: blue; grid-column: 3"></div>
    </div>
</div>

</body>

/css/css-grid/subgrid/grid-gap-011-ref.html

<!DOCTYPE HTML>
<html><head>
  <meta charset="utf-8">
  <title>CSS Grid Test: Subgrids with empty tracks and column gap</title>
  <link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
  <link rel="help" href="https://drafts.csswg.org/css-grid-2">
</head>
<body>
<div style="width:200px; height: 100px; background-color: blue; position:relative; left:175px;"></div>
</body>
</html>