OLD | NEW |
1 Tests default rendering for TextTrackCues that belong to a TextTrackRegion. | 1 Tests default rendering for TextTrackCues that belong to a VTTRegion. |
2 | 2 |
3 EVENT(canplaythrough) | 3 EVENT(canplaythrough) |
4 ** The text track has only one region ** | 4 ** The text track has only one region ** |
5 EXPECTED (testTrack.regions.length == '1') OK | 5 EXPECTED (testTrack.regions.length == '1') OK |
6 | 6 |
7 ** Inspecting cues displayed within region** | 7 ** Inspecting cues displayed within region** |
8 | 8 |
9 RUN(video.currentTime = 0.2) | 9 RUN(video.currentTime = 0.2) |
10 EVENT(seeked) | 10 EVENT(seeked) |
11 Total cues in region: 1 | 11 Total cues in region: 1 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 EXPECTED (totalVisibleLines <= testTrack.regions[0].height == 'true') OK | 43 EXPECTED (totalVisibleLines <= testTrack.regions[0].height == 'true') OK |
44 | 44 |
45 RUN(video.currentTime = 3) | 45 RUN(video.currentTime = 3) |
46 EVENT(seeked) | 46 EVENT(seeked) |
47 Total cues in region: 1 | 47 Total cues in region: 1 |
48 Cue content is: Fourth cue! | 48 Cue content is: Fourth cue! |
49 Cue lines visible from this cue: 1 | 49 Cue lines visible from this cue: 1 |
50 EXPECTED (totalVisibleLines <= testTrack.regions[0].height == 'true') OK | 50 EXPECTED (totalVisibleLines <= testTrack.regions[0].height == 'true') OK |
51 END OF TEST | 51 END OF TEST |
52 | 52 |
OLD | NEW |