summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/multicol/float-paginate-empty-lines.html
blob: 20d4c7a089362583c20a5b20642adee4e260df29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<style>
    .columns {
        -webkit-column-count: 2;
        -webkit-column-gap: 0px;
        column-fill: auto;
        height: 300px;
        border: 2px solid black;
        line-height: 20px;
    }
    .dashed {
        border: 10px dashed maroon;
    }
    img {
        float: right;
        width: 100px;
        height: 200px;
        background-color: #cccccc;
    }
</style>
<p>This test is ensuring we don't grow the height of a block improperly when a float has no line association (e.g., when it's at the end of a
block). The complete dashed border should be in the first column, with none of it appearing in the second column.</p>
<div class="columns">
    <div class="dashed">
        This is some text.<br>This is some text.<br>This is some text.<br>
        This is some text.<br>This is some text.<br>This is some text.<br>
        This is some text.<br>This is some text.<br>This is some text.<br>
        This is some text.<br>This is some text.<br>This is some text.<br>
        <img>
    </div>
</div>