summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-overflow/aligned-baseline-ref.html
blob: 458731f88d78d48e09bb39d1cd1092e1e1ad3d62 (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
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
    <head>
        <title>Testcase for bug 668919</title>

<style>
.tab-title {
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 5em;
  height:25px;
}

.c1 { font-size: 14px; }
.c2 { font-size: 15px; }
.c3 { font-size: 16px; }
.c4 { font-size: 17px; }
.c5 { font-size: 18px; }
.c6 { font-size: 19px; }
.c7 { font-size: 20px; }
.c8 { font-size: 24px; }
.c9 { font-size: 28px; }
.c10 { font-size: 32px; }
.c11 { font-size: 36px; }

.p0  { padding-top:0; }
.p1  { padding-top:0px; }
.p2  { padding-top:0px; }

.col2 .tab-title { text-shadow: 1px 1px 1px blue; }
</style>
    </head>
<body>

<div style="position:absolute; top: 0px;">
<div class="tab-title c1 p0">CSS is awesome</div>
<div class="tab-title c1 p2">CSS is awesome</div>
<div class="tab-title c1 p3">CSS is awesome</div>
</div>

<div style="position:absolute; top: 100px;">
<div class="tab-title c2 p0">CSS is awesome</div>
<div class="tab-title c2 p2">CSS is awesome</div>
<div class="tab-title c2 p3">CSS is awesome</div>
</div>

<div style="position:absolute; top: 200px;">
<div class="tab-title c3 p0">CSS is awesome</div>
<div class="tab-title c3 p2">CSS is awesome</div>
<div class="tab-title c3 p3">CSS is awesome</div>
</div>

<div style="position:absolute; top: 300px;">
<div class="tab-title c4 p0">CSS is awesome</div>
<div class="tab-title c4 p2">CSS is awesome</div>
<div class="tab-title c4 p3">CSS is awesome</div>
</div>

<div style="position:absolute; top: 400px;">
<div class="tab-title c5 p0">CSS is awesome</div>
<div class="tab-title c5 p2">CSS is awesome</div>
<div class="tab-title c5 p3">CSS is awesome</div>
</div>

<div class="col2" style="position:absolute; top: 0px; left:8em;">
<div style="position:absolute; top: 0px;">
<div class="tab-title c1 p0">CSS is awesome</div>
<div class="tab-title c1 p2">CSS is awesome</div>
<div class="tab-title c1 p3">CSS is awesome</div>
</div>

<div style="position:absolute; top: 100px;">
<div class="tab-title c2 p0">CSS is awesome</div>
<div class="tab-title c2 p2">CSS is awesome</div>
<div class="tab-title c2 p3">CSS is awesome</div>
</div>

<div style="position:absolute; top: 200px;">
<div class="tab-title c3 p0">CSS is awesome</div>
<div class="tab-title c3 p2">CSS is awesome</div>
<div class="tab-title c3 p3">CSS is awesome</div>
</div>

<div style="position:absolute; top: 300px;">
<div class="tab-title c4 p0">CSS is awesome</div>
<div class="tab-title c4 p2">CSS is awesome</div>
<div class="tab-title c4 p3">CSS is awesome</div>
</div>

<div style="position:absolute; top: 400px;">
<div class="tab-title c5 p0">CSS is awesome</div>
<div class="tab-title c5 p2">CSS is awesome</div>
<div class="tab-title c5 p3">CSS is awesome</div>
</div>
</div>


</body>
</html>