Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: LayoutTests/media/track/track-webvtt-tc015-positioning-expected.txt

Issue 851933003: WebVTT: Support 'auto' text position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test nits. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Tests cue text position from settings. 1 Tests cue text position from 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].position == '0') OK 6 EXPECTED (cues[0].position == '0') OK
7 EXPECTED (cues[1].position == '50') OK 7 EXPECTED (cues[1].position == '50') OK
8 EXPECTED (cues[2].position == '50') OK 8 EXPECTED (cues[2].position == 'auto') OK
9 EXPECTED (cues[3].position == '100') OK 9 EXPECTED (cues[3].position == '100') OK
10 10
11 *** Testing text track 1 11 *** Testing text track 1
12 EXPECTED (cues.length == '4') OK 12 EXPECTED (cues.length == '4') OK
13 EXPECTED (cues[0].position == '0') OK 13 EXPECTED (cues[0].position == '0') OK
14 EXPECTED (cues[1].position == '50') OK 14 EXPECTED (cues[1].position == '50') OK
15 EXPECTED (cues[2].position == '50') OK 15 EXPECTED (cues[2].position == 'auto') OK
16 EXPECTED (cues[3].position == '100') OK 16 EXPECTED (cues[3].position == '100') OK
17 17
18 *** Testing text track 2 18 *** Testing text track 2
19 EXPECTED (cues.length == '8') OK 19 EXPECTED (cues.length == '8') OK
20 EXPECTED (cues[0].position == '50') OK 20 EXPECTED (cues[0].position == 'auto') OK
21 EXPECTED (cues[1].position == '50') OK 21 EXPECTED (cues[1].position == 'auto') OK
22 EXPECTED (cues[2].position == '50') OK 22 EXPECTED (cues[2].position == 'auto') OK
23 EXPECTED (cues[3].position == '50') OK 23 EXPECTED (cues[3].position == 'auto') OK
24 EXPECTED (cues[4].position == '50') OK 24 EXPECTED (cues[4].position == 'auto') OK
25 EXPECTED (cues[5].position == '50') OK 25 EXPECTED (cues[5].position == 'auto') OK
26 EXPECTED (cues[6].position == '50') OK 26 EXPECTED (cues[6].position == 'auto') OK
27 EXPECTED (cues[7].position == '50') OK 27 EXPECTED (cues[7].position == 'auto') OK
28 END OF TEST 28 END OF TEST
29 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698