Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / intruding-float-add-in-sibling-block-on-static-position.html
blob18950f3b0c3b844093b45c5349d6fd36efa463c0
1 <html>
2 <body>
3 <div style="width: 18px; position: relative">
4 <div id="t1" style="float: right; background-color: silver; width: 10px; height: 100px">
5 </div>
6 <div id="t2">
7 <div>
8 <div style="float: right; background-color: orange; width: 5px; height: 50px"></div>
9 <div style="background-color: blue;">A B C D<div style="float: right; background-color: green; width: 5px; height: 50px"></div></div>
10 </div>
11 </div>
12 </div>
13 <script>
14 document.body.offsetTop;
15 t1.style.position = 'fixed';
16 document.body.offsetTop;
17 t1.style.position = 'static';
18 </script>
19 </body>
20 </html>