; height: 100px; }

  #contain {
    contain: inline-size;
    display: flow-root;
    width: fit-content;
  }
  #orange {
    display: inline-block;
    width: 300px;
    height: 20px;
    background: orange;
    vertical-align: top;
  }
</style>
<p>You should see a wide orange rectangle to the left of the first float, overlapping the float.</p>
<div id="outer">
  <div id="float1" class="float right"></div>
  <div id="float2" class="float left"></div>
  <div id="float3" class="float right"></div>
  <div id