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.
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=22905
--- 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="http://www.w3.org/TR/html51/single-page.html#html-elements"><dfn>HTML elements</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#script's-document"><dfn>Script's document</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#entry-script"><dfn>Entry script</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#mime-type"><dfn>MIME type</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#utf-8-decode"><dfn>UTF-8 decode</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#case-sensitive"><dfn>Case-sensitive</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#collect-a-sequence-of-characters"><dfn>Collect a sequence of characters</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#ascii-digits"><dfn>ASCII digits</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#alphanumeric-ascii-characters"><dfn>Alphanumeric ASCII characters</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#space-character"><dfn>Space character</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#skip-whitespace"><dfn>Skip whitespace</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#supported-property-indices"><dfn>Supported property indices</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#determine-the-value-of-an-indexed-property"><dfn>Determine the value of an indexed property</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#split-a-string-on-spaces"><dfn>Split a string on spaces</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#html-namespace"><dfn>HTML namespace</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#media-element"><dfn>Media element</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#current-playback-position"><dfn>Current playback position</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#expose-a-user-interface-to-the-user"><dfn>Expose a user interface to the user</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#list-of-text-tracks"><dfn>List of text tracks</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track"><dfn>Text track</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-kind"><dfn>Text track kind</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-mode"><dfn>Text track mode</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-disabled"><dfn>Text track disabled</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-showing"><dfn>Text track showing</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-cue"><dfn>Text track cue</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-list-of-cues"><dfn>Text track list of cues</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-cue-order"><dfn>Text track cue order</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-cue-identifier"><dfn>Text track cue identifier</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-cue-start-time"><dfn>Text track cue start time</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-cue-end-time"><dfn>Text track cue end time</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-cue-pause-on-exit-flag"><dfn>Text track cue pause-on-exit flag</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-cue-text"><dfn>Text track cue text</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-cue-active-flag"><dfn>Text track cue active flag</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#text-track-cue-display-state"><dfn>Text track cue display state</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#rules-for-updating-the-text-track-rendering"><dfn>Rules for updating the text track rendering</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#rules-for-rendering-the-cue-in-isolation"><dfn>Rules for rendering the cue in isolation</dfn></a>
- <li><a href="http://www.w3.org/TR/html51/single-page.html#texttrackcue"><dfn><code>TextTrackCue</code></dfn></a> interface
- <li><a href="http://www.w3.org/TR/html51/single-page.html#texttrack"><dfn><code>TextTrack</code></dfn></a> interface
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#html-elements"><dfn>HTML elements</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#script's-document"><dfn>Script's document</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#entry-script"><dfn>Entry script</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#mime-type"><dfn>MIME type</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#utf-8-decode"><dfn>UTF-8 decode</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#case-sensitive"><dfn>Case-sensitive</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#collect-a-sequence-of-characters"><dfn>Collect a sequence of characters</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#ascii-digits"><dfn>ASCII digits</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#alphanumeric-ascii-characters"><dfn>Alphanumeric ASCII characters</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#space-character"><dfn>Space character</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#skip-whitespace"><dfn>Skip whitespace</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#supported-property-indices"><dfn>Supported property indices</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#determine-the-value-of-an-indexed-property"><dfn>Determine the value of an indexed property</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#split-a-string-on-spaces"><dfn>Split a string on spaces</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#html-namespace"><dfn>HTML namespace</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#media-element"><dfn>Media element</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#current-playback-position"><dfn>Current playback position</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#expose-a-user-interface-to-the-user"><dfn>Expose a user interface to the user</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#list-of-text-tracks"><dfn>List of text tracks</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track"><dfn>Text track</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-kind"><dfn>Text track kind</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-mode"><dfn>Text track mode</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-disabled"><dfn>Text track disabled</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-showing"><dfn>Text track showing</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-cue"><dfn>Text track cue</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-list-of-cues"><dfn>Text track list of cues</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-cue-order"><dfn>Text track cue order</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-cue-identifier"><dfn>Text track cue identifier</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-cue-start-time"><dfn>Text track cue start time</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-cue-end-time"><dfn>Text track cue end time</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-cue-pause-on-exit-flag"><dfn>Text track cue pause-on-exit flag</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-cue-text"><dfn>Text track cue text</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-cue-active-flag"><dfn>Text track cue active flag</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#text-track-cue-display-state"><dfn>Text track cue display state</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#rules-for-updating-the-text-track-rendering"><dfn>Rules for updating the text track rendering</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#rules-for-rendering-the-cue-in-isolation"><dfn>Rules for rendering the cue in isolation</dfn></a>
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#texttrackcue"><dfn><code>TextTrackCue</code></dfn></a> interface
+ <li><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html
+#texttrack"><dfn><code>TextTrack</code></dfn></a> interface
</ul>
</section>
</section>
@@ -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>();
};</pre>
@@ -4993,12 +5030,6 @@
<p>Can be set.</p>
</dd>
- <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>
<dd>
<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