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

Side by Side Diff: LayoutTests/media/track/track-cue-mutable-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 modifying attributes of a VTTCue 1 Tests modifying attributes of a VTTCue
2 2
3 ** Test initial values. 3 ** Test initial values.
4 RUN(textCue = cues.getCueById('1')) 4 RUN(textCue = cues.getCueById('1'))
5 EXPECTED (textCue.startTime == '0') OK 5 EXPECTED (textCue.startTime == '0') OK
6 EXPECTED (textCue.endTime == '1') OK 6 EXPECTED (textCue.endTime == '1') OK
7 EXPECTED (textCue.pauseOnExit == 'false') OK 7 EXPECTED (textCue.pauseOnExit == 'false') OK
8 EXPECTED (textCue.vertical == '') OK 8 EXPECTED (textCue.vertical == '') OK
9 EXPECTED (textCue.snapToLines == 'true') OK 9 EXPECTED (textCue.snapToLines == 'true') OK
10 EXPECTED (textCue.line == 'auto') OK 10 EXPECTED (textCue.line == 'auto') OK
11 EXPECTED (textCue.position == '50') OK 11 EXPECTED (textCue.position == 'auto') OK
12 EXPECTED (textCue.size == '100') OK 12 EXPECTED (textCue.size == '100') OK
13 EXPECTED (textCue.align == 'middle') OK 13 EXPECTED (textCue.align == 'middle') OK
14 14
15 ** Modify cue values. 15 ** Modify cue values.
16 RUN(textCue.startTime = 1.1) 16 RUN(textCue.startTime = 1.1)
17 EXPECTED (textCue.startTime == '1.1') OK 17 EXPECTED (textCue.startTime == '1.1') OK
18 18
19 RUN(textCue.endTime = 3.9) 19 RUN(textCue.endTime = 3.9)
20 EXPECTED (textCue.endTime == '3.9') OK 20 EXPECTED (textCue.endTime == '3.9') OK
21 21
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 On setting, the text track cue text alignment must be set to the value given in the first cell of the row in the table above whose second cell is a case-sensiti ve match for the new value. 66 On setting, the text track cue text alignment must be set to the value given in the first cell of the row in the table above whose second cell is a case-sensiti ve match for the new value.
67 http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-align 67 http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-align
68 RUN(textCue.align = 'End') 68 RUN(textCue.align = 'End')
69 EXPECTED (textCue.align == 'middle') OK 69 EXPECTED (textCue.align == 'middle') OK
70 RUN(textCue.align = 'end') 70 RUN(textCue.align = 'end')
71 EXPECTED (textCue.align == 'end') OK 71 EXPECTED (textCue.align == 'end') OK
72 72
73 END OF TEST 73 END OF TEST
74 74
OLDNEW
« no previous file with comments | « LayoutTests/media/track/track-cue-mutable.html ('k') | LayoutTests/media/track/track-cue-rendering-position-auto.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698