Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / media-captions-no-controls-expected.txt
blob9afb62ad10455fbed5e232afa13fa16d200175b8
1 Tests that adding a text track does not make controls visible.
3 EVENT(canplaythrough)
5 ** Initial state: no text tracks, controls should not be visible **
6 EXPECTED (video.textTracks.length == '0') OK
7 EXPECTED (video.controls == 'false') OK
9 ** Add a text track, controls should not become visible **
10 RUN(video.addTextTrack('captions'))
11 EXPECTED (video.textTracks.length == '1') OK
12 EXPECTED (video.controls == 'false') OK
14 ** Enable controls **
15 RUN(video.setAttribute('controls','controls'))
16 EXPECTED (video.textTracks.length == '1') OK
17 EXPECTED (video.controls == 'true') OK
18 EXPECTED (internals.shadowRoot(video).firstChild != 'null') OK
19 EXPECTED (panel.style['display'] != 'none') OK
21 END OF TEST