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

Side by Side Diff: LayoutTests/media/track/track-webvtt-tc016-align-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 and alignment from settings. 1 Tests cue text position and alignment from settings.
2 2
3 3
4 *** Testing text track 0 4 *** Testing text track 0
5 EXPECTED (cues.length == '3') OK 5 EXPECTED (cues.length == '3') OK
6 EXPECTED (cues[0].position == '10') OK 6 EXPECTED (cues[0].position == '10') OK
7 EXPECTED (cues[0].align == 'start') OK 7 EXPECTED (cues[0].align == 'start') OK
8 EXPECTED (cues[1].position == '20') OK 8 EXPECTED (cues[1].position == '20') OK
9 EXPECTED (cues[1].align == 'middle') OK 9 EXPECTED (cues[1].align == 'middle') OK
10 EXPECTED (cues[2].position == '80') OK 10 EXPECTED (cues[2].position == '80') OK
11 EXPECTED (cues[2].align == 'end') OK 11 EXPECTED (cues[2].align == 'end') OK
12 12
13 *** Testing text track 1 13 *** Testing text track 1
14 EXPECTED (cues.length == '3') OK 14 EXPECTED (cues.length == '3') OK
15 EXPECTED (cues[0].position == '10') OK 15 EXPECTED (cues[0].position == '10') OK
16 EXPECTED (cues[0].align == 'middle') OK 16 EXPECTED (cues[0].align == 'middle') OK
17 EXPECTED (cues[1].position == '50') OK 17 EXPECTED (cues[1].position == 'auto') OK
18 EXPECTED (cues[1].align == 'middle') OK 18 EXPECTED (cues[1].align == 'middle') OK
19 EXPECTED (cues[2].position == '50') OK 19 EXPECTED (cues[2].position == 'auto') OK
20 EXPECTED (cues[2].align == 'middle') OK 20 EXPECTED (cues[2].align == 'middle') OK
21 END OF TEST 21 END OF TEST
22 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698