run("textCue.pauseOnExit = true");
testExpected("textCue.pauseOnExit", true);
- logSpecURL("http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-texttrackcue-vertical",
- "On setting, the text track cue writing direction 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.");
- testDOMException("textCue.vertical = 'RL'", "DOMException.SYNTAX_ERR");
+ logSpecURL("http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-vertical",
+ "On setting, the text track cue writing direction must be set to the value given in the first cell of the row in the table above whose second cell is a case-sensitive match for the new value.");
+ run("textCue.vertical = 'RL'");
testExpected("textCue.vertical", "");
run("textCue.vertical = 'rl'");
testExpected("textCue.vertical", "rl");
run("textCue.size = 57");
testExpected("textCue.size", 57);
- logSpecURL("http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-texttrackcue-align",
- "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.");
- testDOMException("textCue.align = 'End'", "DOMException.SYNTAX_ERR");
+ logSpecURL("http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-align",
+ "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-sensitive match for the new value.");
+ run("textCue.align = 'End'");
testExpected("textCue.align", "middle");
run("textCue.align = 'end'");
testExpected("textCue.align", "end");