1 Tests that adding a text track does not make controls visible.
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
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