<!doctype html>
<meta charset="utf8">
<title>CSS contain-intrinsic-size: flex row, flex height based on children</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override">
<link rel="match" href="contain-intrinsic-size-021-ref.html">
<meta name="assert" content="flex container is sized by the largest intrinsic-height of content, even with align-self: stretch">

<style>
#flex {
  display: flex;
 