Restore the .text attribute on VTTCue, since the attribute has
authorSilvia Pfeiffer
Thu, 26 Sep 2013 15:30:08 +1000
changeset 137 98e0c5dde523
parent 136 a6f30aecb362
child 138 0ca8d4c7cc00
Restore the .text attribute on VTTCue, since the attribute has
been removed on the parent interface, see

--- a/webvtt/webvtt.html	Mon Sep 16 18:00:05 2013 +1000
+++ b/webvtt/webvtt.html	Thu Sep 26 15:30:08 2013 +1000
@@ -4861,6 +4861,7 @@
            attribute long <a title="dom-VTTCue-position">position</a>;
            attribute long <a title="dom-VTTCue-size">size</a>;
            attribute <a>AlignSetting</a> <a title="dom-VTTCue-align">align</a>;
+					 attribute DOMString <a title="dom-VTTCue-text">text</a>;
   DocumentFragment <a title="dom-VTTCue-getCueAsHTML">getCueAsHTML</a>();
@@ -4939,6 +4940,12 @@
     <p>Can be set.</p>
+	 <dt><var title="">cue</var> . <a title="dom-VTTCue-text">text</a> [ = <var title="">value</var> ]</dt>
+   <dd>
+    <p>Returns the <a>text track cue text</a> in raw unparsed form.</p>
+    <p>Can be set.</p>
+   </dd>
    <dt><var title="">fragment</var> = <var title="">cue</var> . <a title="dom-VTTCue-getCueAsHTML">getCueAsHTML</a>()</dt>
     <p>Returns the <a>text track cue text</a> as a <code>DocumentFragment</code> of <a>HTML elements</a> and other DOM nodes.</p>
@@ -5087,6 +5094,11 @@
   for the new value, if any. If none of the values match, then the user agent must instead throw a
   <code>SyntaxError</code> exception.</p>
+	<p>The <dfn title="dom-VTTCue-text"><code>text</code></dfn> attribute, on getting, must
+  return the raw <a>text track cue text</a> of the <a>text track cue</a> that the
+  <code>VTTCue</code> object represents. On setting, the <a>text track cue text</a> must
+  be set to the new value.</p>
   <p>The <dfn title="dom-VTTCue-getCueAsHTML"><code>getCueAsHTML()</code></dfn> method must
   convert the <a>text track cue text</a> to a <code>DocumentFragment</code> for the
   <a>script's document</a> of the <a>entry script</a> by applying the <a>WebVTT cue