| OLD | NEW |
| 1 CONSOLE WARNING: The provided value 'RL' is not a valid value of type 'Direction
Setting'. |
| 2 CONSOLE WARNING: The provided value 'End' is not a valid value of type 'AlignSet
ting'. |
| 1 Tests modifying attributes of a VTTCue | 3 Tests modifying attributes of a VTTCue |
| 2 | 4 |
| 3 ** Test initial values. | 5 ** Test initial values. |
| 4 RUN(textCue = cues.getCueById('1')) | 6 RUN(textCue = cues.getCueById('1')) |
| 5 EXPECTED (textCue.startTime == '0') OK | 7 EXPECTED (textCue.startTime == '0') OK |
| 6 EXPECTED (textCue.endTime == '1') OK | 8 EXPECTED (textCue.endTime == '1') OK |
| 7 EXPECTED (textCue.pauseOnExit == 'false') OK | 9 EXPECTED (textCue.pauseOnExit == 'false') OK |
| 8 EXPECTED (textCue.vertical == '') OK | 10 EXPECTED (textCue.vertical == '') OK |
| 9 EXPECTED (textCue.snapToLines == 'true') OK | 11 EXPECTED (textCue.snapToLines == 'true') OK |
| 10 EXPECTED (textCue.line == 'auto') OK | 12 EXPECTED (textCue.line == 'auto') OK |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 67 |
| 66 On setting, the text track cue text alignment must be set to the value given in
the first cell of the row in the table above whose second cell is a case-sensiti
ve match for the new value. | 68 On setting, the text track cue text alignment must be set to the value given in
the first cell of the row in the table above whose second cell is a case-sensiti
ve match for the new value. |
| 67 http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-align | 69 http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-align |
| 68 RUN(textCue.align = 'End') | 70 RUN(textCue.align = 'End') |
| 69 EXPECTED (textCue.align == 'middle') OK | 71 EXPECTED (textCue.align == 'middle') OK |
| 70 RUN(textCue.align = 'end') | 72 RUN(textCue.align = 'end') |
| 71 EXPECTED (textCue.align == 'end') OK | 73 EXPECTED (textCue.align == 'end') OK |
| 72 | 74 |
| 73 END OF TEST | 75 END OF TEST |
| 74 | 76 |
| OLD | NEW |