Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / float-on-empty-line.html
blobacdfbab95eec0440521192fc52b1a0b6d59493c2
1 <!DOCTYPE html>
2 <style>
3 .float{float:left; width: 200px; height: 20px; background-color: blue;}
4 .container{width: 100px; background-color: green; border: 5px solid black;}
5 b {vertical-align:10%;}
6 div { font: 20px Ahem; }
7 </style>
8 <script src="../../../resources/check-layout.js"></script>
9 <div class="container" data-expected-height=30>
10 <br style="clear: both;"><b><div class="float"></div>
11 </div>
12 <p>crbug.com/477814: A float on an empty line should get positioned and not cause an ASSERT. </p>
13 <p id="test-output"></p>
14 <script>
15 window.checkLayout("div", document.getElementById("test-output"));
16 </script>