OLD | NEW |
1 Tests WebVTT settings. | 1 Tests WebVTT settings. |
2 | 2 |
3 | 3 |
4 *** Testing text track 0 | 4 *** Testing text track 0 |
5 EXPECTED (cues.length == '4') OK | 5 EXPECTED (cues.length == '4') OK |
6 EXPECTED (cues[0].line == '100') OK | 6 EXPECTED (cues[0].line == '100') OK |
7 EXPECTED (cues[0].position == '50') OK | 7 EXPECTED (cues[0].position == 'auto') OK |
8 EXPECTED (cues[0].align == 'start') OK | 8 EXPECTED (cues[0].align == 'start') OK |
9 EXPECTED (cues[0].vertical == '') OK | 9 EXPECTED (cues[0].vertical == '') OK |
10 EXPECTED (cues[1].line == '15') OK | 10 EXPECTED (cues[1].line == '15') OK |
11 EXPECTED (cues[1].position == '40') OK | 11 EXPECTED (cues[1].position == '40') OK |
12 EXPECTED (cues[1].align == 'middle') OK | 12 EXPECTED (cues[1].align == 'middle') OK |
13 EXPECTED (cues[1].vertical == 'rl') OK | 13 EXPECTED (cues[1].vertical == 'rl') OK |
14 EXPECTED (cues[2].line == 'auto') OK | 14 EXPECTED (cues[2].line == 'auto') OK |
15 EXPECTED (cues[2].position == '10') OK | 15 EXPECTED (cues[2].position == '10') OK |
16 EXPECTED (cues[2].align == 'middle') OK | 16 EXPECTED (cues[2].align == 'middle') OK |
17 EXPECTED (cues[2].vertical == '') OK | 17 EXPECTED (cues[2].vertical == '') OK |
18 EXPECTED (cues[3].line == '95') OK | 18 EXPECTED (cues[3].line == '95') OK |
19 EXPECTED (cues[3].position == '50') OK | 19 EXPECTED (cues[3].position == 'auto') OK |
20 EXPECTED (cues[3].align == 'end') OK | 20 EXPECTED (cues[3].align == 'end') OK |
21 EXPECTED (cues[3].vertical == 'lr') OK | 21 EXPECTED (cues[3].vertical == 'lr') OK |
22 | 22 |
23 *** Testing text track 1 | 23 *** Testing text track 1 |
24 EXPECTED (cues.length == '4') OK | 24 EXPECTED (cues.length == '4') OK |
25 EXPECTED (cues[0].line == '43') OK | 25 EXPECTED (cues[0].line == '43') OK |
26 EXPECTED (cues[0].position == '10') OK | 26 EXPECTED (cues[0].position == '10') OK |
27 EXPECTED (cues[0].align == 'middle') OK | 27 EXPECTED (cues[0].align == 'middle') OK |
28 EXPECTED (cues[0].vertical == '') OK | 28 EXPECTED (cues[0].vertical == '') OK |
29 EXPECTED (cues[1].line == 'auto') OK | 29 EXPECTED (cues[1].line == 'auto') OK |
30 EXPECTED (cues[1].position == '50') OK | 30 EXPECTED (cues[1].position == '50') OK |
31 EXPECTED (cues[1].align == 'end') OK | 31 EXPECTED (cues[1].align == 'end') OK |
32 EXPECTED (cues[1].vertical == '') OK | 32 EXPECTED (cues[1].vertical == '') OK |
33 EXPECTED (cues[2].line == 'auto') OK | 33 EXPECTED (cues[2].line == 'auto') OK |
34 EXPECTED (cues[2].position == '50') OK | 34 EXPECTED (cues[2].position == 'auto') OK |
35 EXPECTED (cues[2].align == 'middle') OK | 35 EXPECTED (cues[2].align == 'middle') OK |
36 EXPECTED (cues[2].vertical == '') OK | 36 EXPECTED (cues[2].vertical == '') OK |
37 EXPECTED (cues[3].line == 'auto') OK | 37 EXPECTED (cues[3].line == 'auto') OK |
38 EXPECTED (cues[3].position == '90') OK | 38 EXPECTED (cues[3].position == '90') OK |
39 EXPECTED (cues[3].align == 'middle') OK | 39 EXPECTED (cues[3].align == 'middle') OK |
40 EXPECTED (cues[3].vertical == 'lr') OK | 40 EXPECTED (cues[3].vertical == 'lr') OK |
41 END OF TEST | 41 END OF TEST |
42 | 42 |
OLD | NEW |