| Index: LayoutTests/fast/block/float/float-on-empty-line.html
|
| diff --git a/LayoutTests/fast/block/float/float-on-empty-line.html b/LayoutTests/fast/block/float/float-on-empty-line.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..acdfbab95eec0440521192fc52b1a0b6d59493c2
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/block/float/float-on-empty-line.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +.float{float:left; width: 200px; height: 20px; background-color: blue;}
|
| +.container{width: 100px; background-color: green; border: 5px solid black;}
|
| +b {vertical-align:10%;}
|
| +div { font: 20px Ahem; }
|
| +</style>
|
| +<script src="../../../resources/check-layout.js"></script>
|
| +<div class="container" data-expected-height=30>
|
| + <br style="clear: both;"><b><div class="float"></div>
|
| +</div>
|
| +<p>crbug.com/477814: A float on an empty line should get positioned and not cause an ASSERT. </p>
|
| +<p id="test-output"></p>
|
| +<script>
|
| + window.checkLayout("div", document.getElementById("test-output"));
|
| +</script>
|
|
|