chromium/third_party/blink/web_tests/external/wpt/css/css-sizing/contain-intrinsic-size/contain-intrinsic-size-016-ref.html

<!doctype html>
<meta charset="utf8">
<title>CSS contain-intrinsic-size: flex row, items with size containment (ref)</title>
<link rel="author" title="Vladimir Levin" href="mailto:[email protected]">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override">

<style>
#flex {
  display: flex;
  flex-direction: row;
  width: 500px;
  height: 100px;
}
.item {
  border: 1px solid black;
  box-sizing: content-box;
}
#one {
  background: lightblue;
  width: 55px;
  flex-grow: 3;
}
#two {
  background: lightgreen;
  width: 66px;
  flex-grow: 2;
}
#three {
  background: lightgrey;
  width: 77px;
  flex-grow: 1;
}
</style>

<div id=flex>
  <div class=item id=one></div>
  <div class=item id=two></div>
  <div class=item id=three></div>
</div>