| OLD | NEW |
| (Empty) |
| 1 Test that style to all cues is applied correctly. | |
| 2 EVENT(canplaythrough) | |
| 3 | |
| 4 ** Check initial in-band track states | |
| 5 RUN(inbandTrack1 = video.textTracks[0]) | |
| 6 EXPECTED (video.textTracks.length == '1') OK | |
| 7 EXPECTED (inbandTrack1.language == 'en') OK | |
| 8 EXPECTED (inbandTrack1.kind == 'captions') OK | |
| 9 RUN(video.play()) | |
| 10 EVENT(seeked) | |
| 11 | |
| 12 ** Test current cue colors | |
| 13 EXPECTED (getComputedStyle(cueDisplayElement).color == 'rgb(255, 255, 255)') OK | |
| 14 EXPECTED (getComputedStyle(cueNode).backgroundColor == 'rgb(0, 0, 0)') OK | |
| 15 END OF TEST | |
| 16 | |
| OLD | NEW |