summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox-definite-sizes-006.html
blob: 4b5aaf8dc443ed986dafc334c79dd3d7627698f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!doctype html>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-stretch">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Item stretches to row flexbox's height when the row flexbox has a definite height but is a child of a column flexbox with an indefinite height." />
<p>Test passes if there is a filled green square.</p>

<div style="display: flex; flex-direction: column;">
  <div style="height: 100px; display: flex;">
    <div style="width: 100px; background: green;"></div>
  </div>
</div>