summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/grid-flex-item-004.html
blob: 885fb8c1952cf0767653f646c3e1ea4c92815769 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!doctype html>
<link rel="help" href="https://crbug.com/1077524">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="Grid item in 0-height ortho grid flex-item doesn't get the flexbox's height." />

<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="background: green; display: flex; flex-direction: column; width: 100px; height: 100px;">
  <div style="background: blue; display: grid; grid-template-rows: auto; writing-mode: vertical-lr;">
    <div style="background: red;"></div>
  </div>
</div>