| OLD | NEW |
| (Empty) | |
| 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 caus
e an ASSERT. </p> |
| 13 <p id="test-output"></p> |
| 14 <script> |
| 15 window.checkLayout("div", document.getElementById("test-output")); |
| 16 </script> |
| OLD | NEW |