wpt / css / css-grid / abspos / positioned-grid-descendant-containing-block-016.html

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

/css/css-grid/abspos/positioned-grid-descendant-containing-block-016.html

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-grid-1/#abspos">
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="position: relative; display: grid; width: 200px; height: 200px; grid-template-columns: 100px 100px; grid-template-rows: 100px 100px;">
  <div style="grid-column: 1/2; grid-row: 1/2;">
    <div style="position: absolute; grid-column: 1/3; grid-row: 1/3; width: 50%; height: 50%; background: green;"></div>
  </div>
</div>

/css/reference/ref-filled-green-100px-square-only.html

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<p>Test passes if there is a filled green square.</p>
<div style="width:100px; height:100px; background:green;"></div>