summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/evil/9_cues_overlapping_completely_all_cues_have_same_timestamp-ref.html
blob: 66140c0154eb9ff1b3c0bc84cab8ed26c7b88f82 (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
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<title>Reference for WebVTT rendering, repositioning of 9 cues that overlap completely and all cues have the same timestamp</title>
<style>
.video {
    display: inline-block;
    width: 720px;
    height: 720px;
    outline: solid;
    position: relative
}
#cue1 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    margin-top: -18px;
    margin-left: -18px;
    color: #000
}
#cue2 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    margin-top: -54px;
    margin-left: -18px;
    color: #222
}
#cue3 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    margin-top: -18px;
    margin-left: -54px;
    color: #444
}
#cue4 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    margin-top: -18px;
    margin-left: 18px;
    color: #666
}
#cue5 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    margin-top: 18px;
    margin-left: -18px;
    color: #888
}
#cue6 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    margin-top: -54px;
    margin-left: -54px;
    color: #aaa
}
#cue7 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    margin-top: -54px;
    margin-left: 18px;
    color: #ccc
}
#cue8 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    margin-top: 18px;
    margin-left: -54px;
    color: #eee
}
#cue9 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    margin-top: 18px;
    margin-left: 18px;
    color: green
}
.cue {
    width: 36px;
    text-align: center
}
.cue > span {
    font-family: Ahem, sans-serif;
    background: rgba(0,0,0,0.8);
    font-size: 36px;
}
</style>
<div class="video">
    <span class="cue" id="cue1"><span>1</span></span>
    <span class="cue" id="cue2"><span>2</span></span>
    <span class="cue" id="cue3"><span>3</span></span>
    <span class="cue" id="cue4"><span>4</span></span>
    <span class="cue" id="cue5"><span>5</span></span>
    <span class="cue" id="cue6"><span>6</span></span>
    <span class="cue" id="cue7"><span>7</span></span>
    <span class="cue" id="cue8"><span>8</span></span>
    <span class="cue" id="cue9"><span>9</span></span>
</div>