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

Side by Side Diff: LayoutTests/media/media-captions-no-controls-expected.txt

Issue 561273005: Auto-rebaseline for r182077 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 that adding a text track does not make controls visible. 1 Tests that adding a text track does not make controls visible.
2 2
3 EVENT(canplaythrough) 3 EVENT(canplaythrough)
4 4
5 ** Initial state: no text tracks, controls should not be visible ** 5 ** Initial state: no text tracks, controls should not be visible **
6 EXPECTED (video.textTracks.length == '0') OK 6 EXPECTED (video.textTracks.length == '0') OK
7 EXPECTED (video.controls == 'false') OK 7 EXPECTED (video.controls == 'false') OK
8 EXPECTED (internals.shadowRoot(video).firstChild == 'null') OK
9 8
10 ** Add a text track, controls should not become visible ** 9 ** Add a text track, controls should not become visible **
11 RUN(video.addTextTrack('captions')) 10 RUN(video.addTextTrack('captions'))
12 EXPECTED (video.textTracks.length == '1') OK 11 EXPECTED (video.textTracks.length == '1') OK
13 EXPECTED (video.controls == 'false') OK 12 EXPECTED (video.controls == 'false') OK
14 EXPECTED (internals.shadowRoot(video).firstChild == 'null') OK
15 13
16 ** Enable controls ** 14 ** Enable controls **
17 RUN(video.setAttribute('controls','controls')) 15 RUN(video.setAttribute('controls','controls'))
18 EXPECTED (video.textTracks.length == '1') OK 16 EXPECTED (video.textTracks.length == '1') OK
19 EXPECTED (video.controls == 'true') OK 17 EXPECTED (video.controls == 'true') OK
20 EXPECTED (internals.shadowRoot(video).firstChild != 'null') OK 18 EXPECTED (internals.shadowRoot(video).firstChild != 'null') OK
21 EXPECTED (panel.style['display'] != 'none') OK 19 EXPECTED (panel.style['display'] != 'none') OK
22 20
23 END OF TEST 21 END OF TEST
24 22
OLDNEW
« no previous file with comments | « LayoutTests/compositing/video/video-poster-expected.txt ('k') | LayoutTests/media/video-aspect-ratio-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698