item">
    <float></float>
    <float></float>
    <float></float>
  </div>
</div>

<!-- In testcase, flex item has several inline replaced elements:
     (no spaces, to avoid any text-layout dependency): -->
<div class="container">
  <div class="item">
    <canvas width="15" height="10"></canvas
    ><canvas width="15" height="10"></canvas
    ><canvas width="15" height="10"></canvas>
  </div>
</div>

<!-- In testcase, flex item *is* a replaced element: -->
<div class="container">
  <canvas class="item" wi