OLD | NEW |
1 Tests modifying attributes of a TextTrackCue | 1 Tests modifying attributes of a VTTCue |
2 | 2 |
3 ** Test initial values. | 3 ** Test initial values. |
4 RUN(textCue = cues.getCueById('1')) | 4 RUN(textCue = cues.getCueById('1')) |
5 EXPECTED (textCue.startTime == '0') OK | 5 EXPECTED (textCue.startTime == '0') OK |
6 EXPECTED (textCue.endTime == '1') OK | 6 EXPECTED (textCue.endTime == '1') OK |
7 EXPECTED (textCue.pauseOnExit == 'false') OK | 7 EXPECTED (textCue.pauseOnExit == 'false') OK |
8 EXPECTED (textCue.vertical == '') OK | 8 EXPECTED (textCue.vertical == '') OK |
9 EXPECTED (textCue.snapToLines == 'true') OK | 9 EXPECTED (textCue.snapToLines == 'true') OK |
10 EXPECTED (textCue.line == '-1') OK | 10 EXPECTED (textCue.line == '-1') OK |
11 EXPECTED (textCue.position == '50') OK | 11 EXPECTED (textCue.position == '50') OK |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 On setting, the text track cue alignment must be set to the value ... is a case-
sensitive match for the new value, if any. If none of the values match, then the
user agent must instead throw a SyntaxError exception. | 62 On setting, the text track cue alignment must be set to the value ... is a case-
sensitive match for the new value, if any. If none of the values match, then the
user agent must instead throw a SyntaxError exception. |
63 http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.ht
ml#dom-texttrackcue-align | 63 http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.ht
ml#dom-texttrackcue-align |
64 TEST(textCue.align = 'End') THROWS(DOMException.SYNTAX_ERR) OK | 64 TEST(textCue.align = 'End') THROWS(DOMException.SYNTAX_ERR) OK |
65 EXPECTED (textCue.align == 'middle') OK | 65 EXPECTED (textCue.align == 'middle') OK |
66 RUN(textCue.align = 'end') | 66 RUN(textCue.align = 'end') |
67 EXPECTED (textCue.align == 'end') OK | 67 EXPECTED (textCue.align == 'end') OK |
68 | 68 |
69 END OF TEST | 69 END OF TEST |
70 | 70 |
OLD | NEW |