summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/multicol/layers-in-multicol-expected.html
blob: 97d5761f8c1847e688f914475bc284a6a993a437 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<style>
    .multicol {
        width: 300px;
        height: 100px;
        line-height: 20px;
        border: 5px solid maroon;
    }
    .column {
        width: 100px;
        float: left;
    }
    .multicol[dir="rtl"] > .column {
        float: right;
    }
    .block {
        display: inline-block;
        width: 1em;
        height: 10px;
        background-color: green;
    }
    .opacity {
        opacity: 0.5;
        color: green;
    }
    .relative {
        position: relative;
        top: -4px;
        color: green;
    }
</style>
<p>
    Test layers which are fully contained within a single column.
</p>
LTR:
<div class="multicol">
    <div class="column">
        line1<br>
        line2<br>
        line3<br>
        line4<br>
        line5<br>
    </div>
    <div class="column">
        line6<br>
        <div class="block"></div> line7<br>
        line8<br>
        <span class="relative">relative9</span><br>
        line10<br>
    </div>
    <div class="column">
        line11<br>
        line12<br>
        <!-- The extra inner span below forces the creation of a transparency layer in Skia to work
             around optimizations that would cause blending differences between the test and the
             expectation. -->
        <span class="opacity">opacity<span>13</span></span><br>
        line14
    </div>
</div>

RTL:
<div class="multicol" dir="rtl">
    <div class="column">
        line1<br>
        line2<br>
        line3<br>
        line4<br>
        line5<br>
    </div>
    <div class="column">
        line6<br>
        <div class="block"></div> line7<br>
        line8<br>
        <span class="relative">relative9</span><br>
        line10<br>
    </div>
    <div class="column">
        line11<br>
        line12<br>
        <!-- The extra inner span below forces the creation of a transparency layer in Skia to work
             around optimizations that would cause blending differences between the test and the
             expectation. -->
        <span class="opacity">opacity<span>13</span></span><br>
        line14
    </div>
</div>