Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / avoid-floats-with-negative-margins.html
blob4fefe467d5b6e5bf607f968ea785f97595ebbc20
1 <!DOCTYPE HTML>
2 <style>
3 body { margin: 0px; }
4 .float { float: left; width:100px; height:100px; background-color: green }
5 .normal { width: 100px; height:100px; background-color: green }
6 #container { width: 200px; height:100px; background-color: red }
7 .negleft { margin-left: -50px; }
8 .block { display: block; overflow:hidden; }
9 </style>
10 <p> There should be no red. </p>
11 <div id="container">
12 <div class="float"></div>
13 <div class="block normal negleft"></div>
14 </div>