media/track/track-in-band-style.html is flaky
[WebKit-https.git] / LayoutTests / media / track / track-in-band-style-expected.txt
1
2 Test that style to all cues is applied correctly.
3 EVENT(canplaythrough)
4
5 ** Check initial in-band track states
6 RUN(inbandTrack1 = video.textTracks[0])
7 EXPECTED (video.textTracks.length == '1') OK
8 EXPECTED (inbandTrack1.language == 'en') OK
9 EXPECTED (inbandTrack1.kind == 'captions') OK
10 RUN(inbandTrack1.mode = 'showing')
11 EVENT(change)
12 RUN(video.play())
13 EVENT(cuechange)
14
15 ** Test current cue colors
16 EXPECTED (cueNode.style.color == 'rgb(255, 255, 255)') OK
17 EXPECTED (cueNode.style.backgroundColor == 'rgb(0, 0, 0)') OK
18 END OF TEST
19