Index: LayoutTests/media/track/track-cue-mutable-expected.txt |
diff --git a/LayoutTests/media/track/track-cue-mutable-expected.txt b/LayoutTests/media/track/track-cue-mutable-expected.txt |
index f8e71c36746bf0531d3421569b10ddd7f32d8056..aacffdfc089a4d440c955f3e1eb09518be4960d0 100644 |
--- a/LayoutTests/media/track/track-cue-mutable-expected.txt |
+++ b/LayoutTests/media/track/track-cue-mutable-expected.txt |
@@ -22,9 +22,9 @@ EXPECTED (textCue.endTime == '3.9') OK |
RUN(textCue.pauseOnExit = true) |
EXPECTED (textCue.pauseOnExit == 'true') OK |
-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. |
-http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-texttrackcue-vertical |
-TEST(textCue.vertical = 'RL') THROWS(DOMException.SYNTAX_ERR: Failed to set the 'vertical' property on 'VTTCue': The value provided ('RL') is invalid. Only 'rl', 'lr', and the empty string are accepted.) OK |
+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. |
+http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-vertical |
+RUN(textCue.vertical = 'RL') |
EXPECTED (textCue.vertical == '') OK |
RUN(textCue.vertical = 'rl') |
EXPECTED (textCue.vertical == 'rl') OK |
@@ -59,9 +59,9 @@ TEST(textCue.size = 110) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the ' |
RUN(textCue.size = 57) |
EXPECTED (textCue.size == '57') OK |
-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. |
-http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-texttrackcue-align |
-TEST(textCue.align = 'End') THROWS(DOMException.SYNTAX_ERR: Failed to set the 'align' property on 'VTTCue': The value provided ('End') is invalid. Only 'start', 'middle', 'end', 'left', and 'right' are accepted.) OK |
+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. |
+http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-align |
+RUN(textCue.align = 'End') |
EXPECTED (textCue.align == 'middle') OK |
RUN(textCue.align = 'end') |
EXPECTED (textCue.align == 'end') OK |