OLD | NEW |
(Empty) | |
| 1 Test that WebVTT objects are being styled correctly based on user settings that
should override default settings. |
| 2 EVENT(canplaythrough) |
| 3 |
| 4 EXPECTED (getComputedStyle(cue).color == 'rgb(255, 255, 255)') OK |
| 5 EXPECTED (getComputedStyle(cue).backgroundColor == 'rgba(0, 0, 0, 0.8)') OK |
| 6 EXPECTED (getComputedStyle(cue).fontFamily == 'sans-serif') OK |
| 7 RUN(video.currentTime = 0.3) |
| 8 |
| 9 EXPECTED (getComputedStyle(cue).color == 'rgb(128, 0, 128)') OK |
| 10 EXPECTED (getComputedStyle(cue).fontSize == '14px') OK |
| 11 EXPECTED (getComputedStyle(cue).backgroundColor == 'rgba(0, 0, 0, 0.8)') OK |
| 12 EXPECTED (getComputedStyle(cue).fontFamily == 'sans-serif') OK |
| 13 END OF TEST |
| 14 |
OLD | NEW |