wpt / css / css-flexbox / grid-flex-item-005.html

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

/css/css-flexbox/grid-flex-item-005.html

<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1108928">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div id="target">
  <div style="display: flex; flex-direction: column">
    <div style="display: grid; height: 0; flex: 1; grid-template-rows: minmax(100px, 200%);">
      <div style="background: green;"></div>
    </div>
  </div>
</div>
<script>
document.body.offsetTop;
document.getElementById('target').style.width = '100px';
</script>

/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>