Remove text attribute from WebVTT spec's VTTCue, since the parent object TextTrackCue
authorSilvia Pfeiffer
Fri, 09 Aug 2013 22:26:13 +1000
changeset 129 eebd374f2bf5
parent 128 e776aa454b31
child 130 64a941b7e915
Remove text attribute from WebVTT spec's VTTCue, since the parent object TextTrackCue
now has the text attribute. Also make sure to link to the right HTML spec for this.
--- a/webvtt/webvtt.html	Fri Aug 09 21:51:30 2013 +1000
+++ b/webvtt/webvtt.html	Fri Aug 09 22:26:13 2013 +1000
@@ -499,44 +499,82 @@
   HTML standard. <a href="#refsHTML5">[HTML5]</a></p>
   <ul class="brief">
-   <li><a href=""><dfn>HTML elements</dfn></a>
-   <li><a href="'s-document"><dfn>Script's document</dfn></a>
-   <li><a href=""><dfn>Entry script</dfn></a>
-   <li><a href=""><dfn>MIME type</dfn></a>
-   <li><a href=""><dfn>UTF-8 decode</dfn></a>
-   <li><a href=""><dfn>Case-sensitive</dfn></a>
-   <li><a href=""><dfn>Collect a sequence of characters</dfn></a>
-   <li><a href=""><dfn>ASCII digits</dfn></a>
-   <li><a href=""><dfn>Alphanumeric ASCII characters</dfn></a>
-   <li><a href=""><dfn>Space character</dfn></a>
-   <li><a href=""><dfn>Skip whitespace</dfn></a>
-   <li><a href=""><dfn>Supported property indices</dfn></a>
-   <li><a href=""><dfn>Determine the value of an indexed property</dfn></a>
-   <li><a href=""><dfn>Split a string on spaces</dfn></a>
-   <li><a href=""><dfn>HTML namespace</dfn></a>
-   <li><a href=""><dfn>Media element</dfn></a>
-   <li><a href=""><dfn>Current playback position</dfn></a>
-   <li><a href=""><dfn>Expose a user interface to the user</dfn></a>
-   <li><a href=""><dfn>List of text tracks</dfn></a>
-   <li><a href=""><dfn>Text track</dfn></a>
-   <li><a href=""><dfn>Text track kind</dfn></a>
-   <li><a href=""><dfn>Text track mode</dfn></a>
-   <li><a href=""><dfn>Text track disabled</dfn></a>
-   <li><a href=""><dfn>Text track showing</dfn></a>
-   <li><a href=""><dfn>Text track cue</dfn></a>
-   <li><a href=""><dfn>Text track list of cues</dfn></a>
-   <li><a href=""><dfn>Text track cue order</dfn></a>
-   <li><a href=""><dfn>Text track cue identifier</dfn></a>
-   <li><a href=""><dfn>Text track cue start time</dfn></a>
-   <li><a href=""><dfn>Text track cue end time</dfn></a>
-   <li><a href=""><dfn>Text track cue pause-on-exit flag</dfn></a>
-   <li><a href=""><dfn>Text track cue text</dfn></a>
-   <li><a href=""><dfn>Text track cue active flag</dfn></a>
-   <li><a href=""><dfn>Text track cue display state</dfn></a>
-   <li><a href=""><dfn>Rules for updating the text track rendering</dfn></a>
-   <li><a href=""><dfn>Rules for rendering the cue in isolation</dfn></a>
-   <li><a href=""><dfn><code>TextTrackCue</code></dfn></a> interface
-   <li><a href=""><dfn><code>TextTrack</code></dfn></a> interface
+   <li><a href="
+#html-elements"><dfn>HTML elements</dfn></a>
+   <li><a href="
+#script's-document"><dfn>Script's document</dfn></a>
+   <li><a href="
+#entry-script"><dfn>Entry script</dfn></a>
+   <li><a href="
+#mime-type"><dfn>MIME type</dfn></a>
+   <li><a href="
+#utf-8-decode"><dfn>UTF-8 decode</dfn></a>
+   <li><a href="
+   <li><a href="
+#collect-a-sequence-of-characters"><dfn>Collect a sequence of characters</dfn></a>
+   <li><a href="
+#ascii-digits"><dfn>ASCII digits</dfn></a>
+   <li><a href="
+#alphanumeric-ascii-characters"><dfn>Alphanumeric ASCII characters</dfn></a>
+   <li><a href="
+#space-character"><dfn>Space character</dfn></a>
+   <li><a href="
+#skip-whitespace"><dfn>Skip whitespace</dfn></a>
+   <li><a href="
+#supported-property-indices"><dfn>Supported property indices</dfn></a>
+   <li><a href="
+#determine-the-value-of-an-indexed-property"><dfn>Determine the value of an indexed property</dfn></a>
+   <li><a href="
+#split-a-string-on-spaces"><dfn>Split a string on spaces</dfn></a>
+   <li><a href="
+#html-namespace"><dfn>HTML namespace</dfn></a>
+   <li><a href="
+#media-element"><dfn>Media element</dfn></a>
+   <li><a href="
+#current-playback-position"><dfn>Current playback position</dfn></a>
+   <li><a href="
+#expose-a-user-interface-to-the-user"><dfn>Expose a user interface to the user</dfn></a>
+   <li><a href="
+#list-of-text-tracks"><dfn>List of text tracks</dfn></a>
+   <li><a href="
+#text-track"><dfn>Text track</dfn></a>
+   <li><a href="
+#text-track-kind"><dfn>Text track kind</dfn></a>
+   <li><a href="
+#text-track-mode"><dfn>Text track mode</dfn></a>
+   <li><a href="
+#text-track-disabled"><dfn>Text track disabled</dfn></a>
+   <li><a href="
+#text-track-showing"><dfn>Text track showing</dfn></a>
+   <li><a href="
+#text-track-cue"><dfn>Text track cue</dfn></a>
+   <li><a href="
+#text-track-list-of-cues"><dfn>Text track list of cues</dfn></a>
+   <li><a href="
+#text-track-cue-order"><dfn>Text track cue order</dfn></a>
+   <li><a href="
+#text-track-cue-identifier"><dfn>Text track cue identifier</dfn></a>
+   <li><a href="
+#text-track-cue-start-time"><dfn>Text track cue start time</dfn></a>
+   <li><a href="
+#text-track-cue-end-time"><dfn>Text track cue end time</dfn></a>
+   <li><a href="
+#text-track-cue-pause-on-exit-flag"><dfn>Text track cue pause-on-exit flag</dfn></a>
+   <li><a href="
+#text-track-cue-text"><dfn>Text track cue text</dfn></a>
+   <li><a href="
+#text-track-cue-active-flag"><dfn>Text track cue active flag</dfn></a>
+   <li><a href="
+#text-track-cue-display-state"><dfn>Text track cue display state</dfn></a>
+   <li><a href="
+#rules-for-updating-the-text-track-rendering"><dfn>Rules for updating the text track rendering</dfn></a>
+   <li><a href="
+#rules-for-rendering-the-cue-in-isolation"><dfn>Rules for rendering the cue in isolation</dfn></a>
+   <li><a href="
+#texttrackcue"><dfn><code>TextTrackCue</code></dfn></a> interface
+   <li><a href="
+#texttrack"><dfn><code>TextTrack</code></dfn></a> interface
@@ -4914,7 +4952,6 @@
            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>();
@@ -4993,12 +5030,6 @@
     <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>
@@ -5147,11 +5178,6 @@
   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