summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/grid-flex-item-002.html
blob: 41396992057e146cd48dd9a885e65b67ee60d01e (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1074593">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="A grid flex-item should have a definite grid." />
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; width: 100px; height: 200px;">
  <div style="display: grid; grid: 1fr 1fr / auto; flex: 1;">
    <div style="background: green;"></div>
  </div>
</div>