Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 CONSOLE ERROR: The provided value 'RL' is not a valid value of type 'DirectionSe tting'. | |
| 2 CONSOLE ERROR: The provided value 'End' is not a valid value of type 'AlignSetti ng'. | |
|
Nils Barth (inactive)
2015/02/26 17:21:54
These two are ok: lines 51/52 and 93/94 explicitly
| |
| 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 == '-1') OK | 12 EXPECTED (textCue.line == '-1') OK |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 61 | 63 |
| 62 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. | 64 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. |
| 63 http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-align | 65 http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-align |
| 64 RUN(textCue.align = 'End') | 66 RUN(textCue.align = 'End') |
| 65 EXPECTED (textCue.align == 'middle') OK | 67 EXPECTED (textCue.align == 'middle') OK |
| 66 RUN(textCue.align = 'end') | 68 RUN(textCue.align = 'end') |
| 67 EXPECTED (textCue.align == 'end') OK | 69 EXPECTED (textCue.align == 'end') OK |
| 68 | 70 |
| 69 END OF TEST | 71 END OF TEST |
| 70 | 72 |
| OLD | NEW |