Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / float-withdrawal-2.html
blobe23f51751c0827b099819c91e3f9e94d34f3932e
1 <html>
2 <head>
3 <title>Test for rdar://problem/5609337</title>
4 </head>
5 <body>
6 <div style="z-index: -1; position: absolute; top: 58px; left: 8px; background-color: red; width: 100px; height: 50px;"></div>
7 <div style="height: 50px;">
8 <div style="float: left; display: block; width: 100px; height: 150px; background-color: green;" id="target">
9 </div>
10 </div>
11 <div>
12 <div><div style="display: inline-block; width: 100px; height: 50px; background-color: green;"></div></div>
13 </div>
14 <script>
15 document.body.offsetTop;
16 document.getElementById("target").style.height = "50px";
17 </script>
18 </body>
19 </html>