<!DOCTYPE html>
<title>New formatting context relayout</title>
<link rel="author" title="Ian Kilpatrick" href="ikilpatrick@chromium.org">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2452">
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="width: 100px; line-height: 0;">
  <div style="float: right; width: 50px; height: 50px; background: green;"></div>
  <div style="float: right; width: 75px; height: 50px; background: green;"></div>
  <div style="overflow: hidden;">
    <div style="display: inline-block; width: 25px; height: 75px; background: green;"></div>
    <div style="display: inline-block; width: 25px; height: 25px; background: green;"></div>
  </div>
  <div style="position: relative; width: 25px; height: 50px; background: green; top: -100px; left: 25px;"></div>
</div>
