OLD | NEW |
1 Tests entities in the cue text. | 1 Tests entities in the cue text. |
2 | 2 |
3 | 3 |
4 *** Testing text track 0 | 4 *** Testing text track 0 |
5 EXPECTED (cues.length == '6') OK | 5 EXPECTED (cues.length == '7') OK |
6 EXPECTED (cues[0].getCueAsHTML().textContent == 'This cue has an amp & character
.') OK | 6 EXPECTED (cues[0].getCueAsHTML().textContent == 'This cue has an ampersand & cha
racter.') OK |
7 EXPECTED (cues[1].getCueAsHTML().textContent == 'This cue has a less than < char
acter.') OK | 7 EXPECTED (cues[1].getCueAsHTML().textContent == 'This cue has a less than < char
acter.') OK |
8 EXPECTED (cues[2].getCueAsHTML().textContent == 'This cue has a greater than > c
haracter.') OK | 8 EXPECTED (cues[2].getCueAsHTML().textContent == 'This cue has a greater than > c
haracter.') OK |
9 EXPECTED (cues[3].getCueAsHTML().textContent == 'This cue has a Left-to-Right Ma
rk .') OK | 9 EXPECTED (cues[3].getCueAsHTML().textContent == 'This cue has a Left-to-Right Ma
rk .') OK |
10 EXPECTED (cues[4].getCueAsHTML().textContent == 'This cue has a Right-to-Left Ma
rk .') OK | 10 EXPECTED (cues[4].getCueAsHTML().textContent == 'This cue has a Right-to-Left Ma
rk .') OK |
11 EXPECTED (cues[5].getCueAsHTML().textContent == 'This cue has a non-breaking spa
ce .') OK | 11 EXPECTED (cues[5].getCueAsHTML().textContent == 'This cue has a non-breaking spa
ce .') OK |
| 12 EXPECTED (cues[6].getCueAsHTML().textContent == 'This & is parsed to the same as
&.') OK |
12 | 13 |
13 *** Testing text track 1 | 14 *** Testing text track 1 |
14 EXPECTED (cues.length == '3') OK | 15 EXPECTED (cues.length == '2') OK |
15 EXPECTED (cues[0].getCueAsHTML().textContent == 'This cue has an amp character.
Ampersand is ignored.') OK | 16 EXPECTED (cues[0].getCueAsHTML().textContent == 'This cue has a less than ') OK |
16 EXPECTED (cues[1].getCueAsHTML().textContent == 'This cue has a less than ') OK | 17 EXPECTED (cues[1].getCueAsHTML().textContent == 'This cue has a greater than > c
haracter. Since it's not related to a < character, it's just interpreted as text
.') OK |
17 EXPECTED (cues[2].getCueAsHTML().textContent == 'This cue has a greater than > c
haracter. Since it's not related to a < character, it's just interpreted as text
.') OK | |
18 END OF TEST | 18 END OF TEST |
19 | 19 |
OLD | NEW |