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

Side by Side Diff: LayoutTests/platform/win/media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt

Issue 22645014: Merge WebKit r153448 (Optimizes the number of updateTextTrackDisplay calls) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated tests Created 7 years, 2 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 Test that TextTrack's cues are rendered correctly when the snap to lines flag is not set. 1 Test that TextTrack's cues are rendered correctly when the snap to lines flag is not set.
2 EVENT(canplaythrough) 2 EVENT(canplaythrough)
3 3
4 The track container and the media controls should completely cover the video ele ment 4 The track container and the media controls should completely cover the video ele ment
5 EXPECTED (cueDisplayContainer.offsetHeight + controlsPanelElement.offsetHeight = = video.videoHeight == 'true'), OBSERVED 'false' FAIL 5 EXPECTED (cueDisplayContainer.offsetHeight + controlsPanelElement.offsetHeight = = video.videoHeight == 'true') OK
6 EXPECTED (cueDisplayContainer.offsetWidth == video.videoWidth == 'true') OK 6 EXPECTED (cueDisplayContainer.offsetWidth == video.videoWidth == 'true') OK
7 7
8 ** Default ** 8 ** Default **
9 EVENT(seeked) 9 EVENT(seeked)
10 Active cues: 1 10 Active cues: 1
11 11
12 * Cue 0 * 12 * Cue 0 *
13 EXPECTED (cueDisplayElement.innerText == 'This is a demo track to illustrate pos itioning features of cues.') OK 13 EXPECTED (cueDisplayElement.innerText == 'This is a demo track to illustrate pos itioning features of cues.') OK
14 Cue left position (percentage): 0 14 Cue left position (percentage): 0
15 Cue top position (percentage): 81 15 Cue top position (percentage): 81
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 EXPECTED (cueDisplayElement.innerText == 'Random cue 2.') OK 101 EXPECTED (cueDisplayElement.innerText == 'Random cue 2.') OK
102 Cue left position (percentage): 44 102 Cue left position (percentage): 44
103 Cue top position (percentage): 33 103 Cue top position (percentage): 33
104 104
105 * Cue 6 * 105 * Cue 6 *
106 EXPECTED (cueDisplayElement.innerText == 'Random cue 3.') OK 106 EXPECTED (cueDisplayElement.innerText == 'Random cue 3.') OK
107 Cue left position (percentage): 23 107 Cue left position (percentage): 23
108 Cue top position (percentage): 55 108 Cue top position (percentage): 55
109 END OF TEST 109 END OF TEST
110 110
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698