OLD | NEW |
(Empty) | |
| 1 Test that WebVTT objects are being styled correctly based on settings. |
| 2 EVENT(canplaythrough) |
| 3 EVENT(seeked) |
| 4 EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'cue')).color == 'rgb(
0, 255, 255)') OK |
| 5 EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'cue')).backgroundColo
r == 'rgb(0, 128, 0)') OK |
| 6 EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'display')).background
Color == 'rgb(0, 0, 255)') OK |
| 7 EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'cue')).textShadow ==
'rgb(255, 0, 0) 2px 2px 0px') OK |
| 8 EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'cue')).fontSize == '1
4px') OK |
| 9 EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'cue')).fontFamily ==
'fantasy') OK |
| 10 EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'cue')).fontStyle == '
italic') OK |
| 11 EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'cue')).fontVariant ==
'small-caps') OK |
| 12 END OF TEST |
| 13 |
OLD | NEW |