summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats/new-fc-relayout.html
blob: 97d8b9a2ff1f3be8aeab2c26817e7542511c59cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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>