summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/multicol/positioned-split.html
blob: 561555815ffa6830337556be6dd70f8d9290a7fc (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
32
33
<!DOCTYPE html>
<style>
    .columns {
        -webkit-column-count: 2;
        -webkit-column-gap: 0;
        column-fill: auto;
        border: 2px solid black;
        height: 300px;
        line-height: 20px;
    }
    .relative {
        height: 250px;
        position: relative;
    }
    .absolute {
        position: absolute;
        width: 300px;
        background-color: lightgray;
    }
</style>
<div class="columns">
    <div style="height: 250px"></div>
    <div class="relative">
        <div class="absolute">
            This text should be in the first column.<br>
            This text should be in the first column.<br>
            This text should be in the second column.<br>
            This text should be in the second column.<br>
            This text should be in the second column.<br>
            This text should be in the second column.<br>
        </div>
    </div>
</div>