[html5] r5722 - [acgiowt] (0) Rename SRT to VTT.
whatwg at whatwg.org
whatwg at whatwg.org
Fri Dec 24 22:42:54 PST 2010
Author: ianh
Date: 2010-12-24 22:42:53 -0800 (Fri, 24 Dec 2010)
New Revision: 5722
Modified:
complete.html
index
source
Log:
[acgiowt] (0) Rename SRT to VTT.
Modified: complete.html
===================================================================
--- complete.html 2010-12-25 06:28:38 UTC (rev 5721)
+++ complete.html 2010-12-25 06:42:53 UTC (rev 5722)
@@ -577,12 +577,12 @@
timed track cues</a></li>
<li><a href=#timed-track-api><span class=secno>4.8.10.10.5 </span>Timed track API</a></li>
<li><a href=#cue-events><span class=secno>4.8.10.10.6 </span>Event definitions</a></ol></li>
- <li><a href=#websrt-0><span class=secno>4.8.10.11 </span>WebSRT</a>
+ <li><a href=#webvtt-0><span class=secno>4.8.10.11 </span>WebVTT</a>
<ol>
<li><a href=#syntax-0><span class=secno>4.8.10.11.1 </span>Syntax</a></li>
<li><a href=#parsing-0><span class=secno>4.8.10.11.2 </span>Parsing</a></li>
- <li><a href=#websrt-cue-text-parsing-rules><span class=secno>4.8.10.11.3 </span>WebSRT cue text parsing rules</a></li>
- <li><a href=#websrt-cue-text-dom-construction-rules><span class=secno>4.8.10.11.4 </span>WebSRT cue text DOM construction rules</a></ol></li>
+ <li><a href=#webvtt-cue-text-parsing-rules><span class=secno>4.8.10.11.3 </span>WebVTT cue text parsing rules</a></li>
+ <li><a href=#webvtt-cue-text-dom-construction-rules><span class=secno>4.8.10.11.4 </span>WebVTT cue text DOM construction rules</a></ol></li>
<li><a href=#user-interface><span class=secno>4.8.10.12 </span>User interface</a></li>
<li><a href=#time-ranges><span class=secno>4.8.10.13 </span>Time ranges</a></li>
<li><a href=#mediaevents><span class=secno>4.8.10.14 </span>Event summary</a></li>
@@ -1261,8 +1261,8 @@
<li><a href=#embedded-content-2><span class=secno>14.3.1 </span>Embedded content</a></li>
<li><a href=#timed-tracks><span class=secno>14.3.2 </span>Timed tracks</a>
<ol>
- <li><a href=#websrt-cue-text-rendering-rules><span class=secno>14.3.2.1 </span>WebSRT cue text rendering rules</a></li>
- <li><a href=#applying-css-properties-to-websrt-node-objects><span class=secno>14.3.2.2 </span>Applying CSS properties to WebSRT Node Objects</a></li>
+ <li><a href=#webvtt-cue-text-rendering-rules><span class=secno>14.3.2.1 </span>WebVTT cue text rendering rules</a></li>
+ <li><a href=#applying-css-properties-to-webvtt-node-objects><span class=secno>14.3.2.2 </span>Applying CSS properties to WebVTT Node Objects</a></li>
<li><a href=#css-extensions><span class=secno>14.3.2.3 </span>CSS extensions</a>
<ol>
<li><a href="#the-'::cue'-pseudo-element"><span class=secno>14.3.2.3.1 </span>The '::cue' pseudo-element</a></li>
@@ -1317,7 +1317,7 @@
<li><a href=#application/xhtml+xml><span class=secno>16.3 </span><code>application/xhtml+xml</code></a></li>
<li><a href=#text/cache-manifest><span class=secno>16.4 </span><code>text/cache-manifest</code></a></li>
<li><a href=#text/ping><span class=secno>16.5 </span><code>text/ping</code></a></li>
- <li><a href=#text/srt><span class=secno>16.6 </span><code>text/srt</code></a></li>
+ <li><a href=#text/vtt><span class=secno>16.6 </span><code>text/vtt</code></a></li>
<li><a href=#application/microdata+json><span class=secno>16.7 </span><code>application/microdata+json</code></a></li>
<li><a href=#ping-from><span class=secno>16.8 </span><code>Ping-From</code></a></li>
<li><a href=#ping-to><span class=secno>16.9 </span><code>Ping-To</code></a></ol></li>
@@ -25005,12 +25005,12 @@
</div>
-<!--TTSRT-->
+<!--TTVTT-->
<p>If the elements's <a href=#track-url>track URL</a> identifies a
- <a href=#websrt>WebSRT</a> resource, and the element's <code title=attr-track-kind><a href=#attr-track-kind>kind</a></code> attribute is not in the <a href=#attr-track-kind-metadata title=attr-track-kind-metadata>metadata</a> state, then the
- <a href=#websrt>WebSRT</a> file must be a <a href=#websrt-file-using-cue-text>WebSRT file using cue
+ <a href=#webvtt>WebVTT</a> resource, and the element's <code title=attr-track-kind><a href=#attr-track-kind>kind</a></code> attribute is not in the <a href=#attr-track-kind-metadata title=attr-track-kind-metadata>metadata</a> state, then the
+ <a href=#webvtt>WebVTT</a> file must be a <a href=#webvtt-file-using-cue-text>WebVTT file using cue
text</a>.</p>
-<!--TTSRT-->
+<!--TTVTT-->
<p>The <dfn id=attr-track-srclang title=attr-track-srclang><code>srclang</code></dfn>
attribute gives the language of the timed track data. The value must
@@ -25087,10 +25087,10 @@
<p>This video has subtitles in several languages:</p>
<pre><video src="brave.webm">
- <track kind=subtitles src=brave.en.srt srclang=en label="English">
- <track kind=captions src=brave.en.srt srclang=en label="English for the Hard of Hearing">
- <track kind=subtitles src=brave.fr.srt srclang=fr label="Français">
- <track kind=subtitles src=brave.de.srt srclang=de label="Deutsch">
+ <track kind=subtitles src=brave.en.vtt srclang=en label="English">
+ <track kind=captions src=brave.en.vtt srclang=en label="English for the Hard of Hearing">
+ <track kind=subtitles src=brave.fr.vtt srclang=fr label="Français">
+ <track kind=subtitles src=brave.de.vtt srclang=de label="Deutsch">
</video></pre>
</div>
@@ -27294,11 +27294,11 @@
rendering</a> of each of the <a href=#timed-track title="timed track">timed
tracks</a> in <var title="">affected tracks</var> that are <a href=#timed-track-showing title="timed track showing">showing</a> or <a href=#timed-track-showing-by-default title="timed
track showing by default">showing by default</a>.
-<!--TTSRT-->
+<!--TTVTT-->
For example, for <a href=#timed-track title="timed track">timed tracks</a>
- based on <a href=#websrt>WebSRT</a>, the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the
- display of WebSRT timed tracks</a>.
-<!--TTSRT-->
+ based on <a href=#webvtt>WebVTT</a>, the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the
+ display of WebVTT timed tracks</a>.
+<!--TTVTT-->
</li>
<!--KEEP-START w3c-html--><!--TT-->
@@ -27660,10 +27660,10 @@
<p>A list of <a href=#timed-track-cue title="timed track cue">timed track
cues</a>, along with <dfn id=rules-for-updating-the-timed-track-rendering>rules for updating the timed track
rendering</dfn>.
-<!--TTSRT-->
- For example, for <a href=#websrt>WebSRT</a>, the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating
- the display of WebSRT timed tracks</a>.
-<!--TTSRT-->
+<!--TTVTT-->
+ For example, for <a href=#webvtt>WebVTT</a>, the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating
+ the display of WebVTT timed tracks</a>.
+<!--TTVTT-->
</p>
<p>The <a href=#timed-track-list-of-cues title="timed track list of cues">list of cues of a
@@ -27735,7 +27735,7 @@
consecutive lines displayed to the right of each other<!-- used for
mongolian -->).</p>
-<!--TTSRT-->
+<!--TTVTT-->
<p>If the <a href=#timed-track-cue-writing-direction title="timed track cue writing direction">writing
direction</a> is <a href=#timed-track-cue-horizontal-writing-direction title="timed track cue horizontal
writing direction">horizontal</a>, then <a href=#timed-track-cue-line-position title="timed
@@ -27750,11 +27750,11 @@
video, and <a href=#timed-track-cue-text-position title="timed track cue text position">text
position</a> and <a href=#timed-track-cue-size title="timed track cue size">size</a>
percentages are relative to the height of the video.</p>
-<!--TTSRT-->
+<!--TTVTT-->
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><dfn id=timed-track-cue-snap-to-lines-flag title="timed track cue snap-to-lines flag">A snap-to-lines flag</dfn>
<dd>
<p>A boolean indicating whether the <a href=#timed-track-cue-line-position title="timed track cue
@@ -27782,7 +27782,7 @@
by the <a href=#timed-track-cue-writing-direction title="timed track cue writing direction">writing
direction</a>.</p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><dfn id=timed-track-cue-size title="timed track cue size">A size</dfn>
<dd>
@@ -27792,7 +27792,7 @@
track cue writing direction">writing direction</a>.</p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><dfn id=timed-track-cue-alignment title="timed track cue alignment">An alignment</dfn>
<dd>
<p>An alignment for the text of each line of the cue, either <dfn id=timed-track-cue-start-alignment title="timed track cue start alignment">start alignment</dfn> (the
@@ -27804,7 +27804,7 @@
depends on the Unicode bidirectional algorithm and the <a href=#timed-track-cue-writing-direction title="timed track cue writing direction">writing
direction</a>. <a href=#refsBIDI>[BIDI]</a></p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><dfn id=timed-track-cue-text title="timed track cue text">The text of the cue</dfn>
<dd>
@@ -27845,11 +27845,11 @@
flag for all the affected cues, apply the <a href=#rules-for-updating-the-timed-track-rendering>rules for updating
the timed track rendering</a> of those <a href=#timed-track title="timed
track">timed tracks</a>.
-<!--TTSRT-->
+<!--TTVTT-->
For example, for <a href=#timed-track title="timed track">timed tracks</a>
- based on <a href=#websrt>WebSRT</a>, the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the
- display of WebSRT timed tracks</a>.</p>
-<!--TTSRT-->
+ based on <a href=#webvtt>WebVTT</a>, the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the
+ display of WebVTT timed tracks</a>.</p>
+<!--TTVTT-->
</dd>
<dt>The <dfn id=timed-track-cue-display-state title="timed track cue display state">display state</dfn>
@@ -27878,7 +27878,7 @@
first; and finally, any <a href=#timed-track-cue title="timed track cue">cues</a>
with identical <a href=#timed-track-cue-end-time title="timed track cue end time">end
times</a> must be sorted in the order they were created (so
- e.g. for cues from a <a href=#websrt>WebSRT</a> file, that would be the
+ e.g. for cues from a <a href=#webvtt>WebVTT</a> file, that would be the
order in which the cues were listed in the file).</p>
@@ -28002,8 +28002,8 @@
is dynamically modified when the referenced file is parsed.
Associated with the list are the <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed
track rendering</a> appropriate for the format in question; for
- <a href=#websrt>WebSRT</a>, this is the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the
- display of WebSRT timed tracks</a>.</p>
+ <a href=#webvtt>WebVTT</a>, this is the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the
+ display of WebVTT timed tracks</a>.</p>
<p>When a <code><a href=#the-track-element>track</a></code> element's parent element changes and
the new parent is a <a href=#media-element>media element</a>, then the user agent
@@ -28135,10 +28135,10 @@
unsupported (this causes the load to fail, as described below). If
a type is obtained, and represents a supported timed track format,
then the resource's data must be passed to the appropriate parser
-<!--TTSRT-->
- (e.g. the <a href=#websrt-parser>WebSRT parser</a> if the <a href=#content-type title=Content-Type>Content Type metadata</a> is
- <code><a href=#text/srt>text/srt</a></code>)
-<!--TTSRT-->
+<!--TTVTT-->
+ (e.g. the <a href=#webvtt-parser>WebVTT parser</a> if the <a href=#content-type title=Content-Type>Content Type metadata</a> is
+ <code><a href=#text/vtt>text/vtt</a></code>)
+<!--TTVTT-->
as it is received, with the <a href=#timed-track-list-of-cues>timed
track list of cues</a> being used for that parser's output.</p>
@@ -28228,7 +28228,7 @@
</ol></div>
-<!--TTSRT-->
+<!--TTVTT-->
<div class=impl>
<h6 id=guidelines-for-exposing-cues-in-various-formats-as-timed-track-cues><span class=secno>4.8.10.10.4 </span><dfn>Guidelines for exposing cues</dfn> in various formats as
@@ -28271,7 +28271,7 @@
<dd>
<p>Should be set to false unless the format uses a rendering and
positioning model for cues that is largely consistent with the
- <a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering rules</a>.</p>
+ <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text rendering rules</a>.</p>
</dd>
<dt>The <a href=#timed-track-cue-line-position>timed track cue line position</a>
@@ -28280,14 +28280,14 @@
<dt>The <a href=#timed-track-cue-alignment>timed track cue alignment</a>
</dt></dt></dt><dd>
<p>If the format uses a rendering and positioning model for
- cues that can be largely simulated using the <a href=#websrt-cue-text-rendering-rules>WebSRT cue text
+ cues that can be largely simulated using the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text
rendering rules</a>, then these should be set to the values
- that would give the same effect for <a href=#websrt>WebSRT</a>
+ that would give the same effect for <a href=#webvtt>WebVTT</a>
cues. Otherwise, they should be set to zero.</p>
</dd>
</dl></div>
-<!--TTSRT-->
+<!--TTVTT-->
<h6 id=timed-track-api><span class=secno>4.8.10.10.5 </span>Timed track API</h6>
@@ -28598,11 +28598,11 @@
loaded</a> state, its <a href=#timed-track-mode>timed track mode</a> to the
<a href=#timed-track-hidden>timed track hidden</a> mode, and its <a href=#timed-track-list-of-cues>timed track
list of cues</a> to an empty list.
-<!--TTSRT-->
+<!--TTVTT-->
Associate the <a href=#timed-track-list-of-cues>timed track list of cues</a> with the
- <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of WebSRT timed tracks</a>
+ <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of WebVTT timed tracks</a>
as its <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track rendering</a>.
-<!--TTSRT-->
+<!--TTVTT-->
</p>
</li>
@@ -28752,9 +28752,9 @@
</div>
<hr><pre class=idl>
-<!--TTSRT-->
+<!--TTVTT-->
[<a href=#dom-timedtrackcue title=dom-TimedTrackCue>Constructor</a>(in DOMString id, in double startTime, in double endTime, in DOMString text, in optional DOMString settings, in optional boolean pauseOnExit)]
-<!--TTSRT-->
+<!--TTVTT-->
interface <dfn id=timedtrackcue>TimedTrackCue</dfn> {
readonly attribute <a href=#timedtrack>TimedTrack</a> <a href=#dom-timedtrackcue-track title=dom-TimedTrackCue-track>track</a>;
readonly attribute DOMString <a href=#dom-timedtrackcue-id title=dom-TimedTrackCue-id>id</a>;
@@ -28763,14 +28763,14 @@
readonly attribute double <a href=#dom-timedtrackcue-endtime title=dom-TimedTrackCue-endTime>endTime</a>;
readonly attribute boolean <a href=#dom-timedtrackcue-pauseonexit title=dom-TimedTrackCue-pauseOnExit>pauseOnExit</a>;
-<!--TTSRT-->
+<!--TTVTT-->
readonly attribute DOMString <a href=#dom-timedtrackcue-direction title=dom-TimedTrackCue-direction>direction</a>;
readonly attribute boolean <a href=#dom-timedtrackcue-snaptolines title=dom-TimedTrackCue-snapToLines>snapToLines</a>;
readonly attribute long <a href=#dom-timedtrackcue-lineposition title=dom-TimedTrackCue-linePosition>linePosition</a>;
readonly attribute long <a href=#dom-timedtrackcue-textposition title=dom-TimedTrackCue-textPosition>textPosition</a>;
readonly attribute long <a href=#dom-timedtrackcue-size title=dom-TimedTrackCue-size>size</a>;
readonly attribute DOMString <a href=#dom-timedtrackcue-alignment title=dom-TimedTrackCue-alignment>alignment</a>;
-<!--TTSRT-->
+<!--TTVTT-->
DOMString <a href=#dom-timedtrackcue-getcueassource() title=dom-TimedTrackCue-getCueAsSource()>getCueAsSource</a>();
<a href=#documentfragment>DocumentFragment</a> <a href=#dom-timedtrackcue-getcueashtml() title=dom-TimedTrackCue-getCueAsHTML()>getCueAsHTML</a>();
@@ -28779,17 +28779,17 @@
readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrackcue-onexit title=handler-TimedTrackCue-onexit>onexit</a>;
};</pre>
- <dl class=domintro><!--TTSRT--><dt><var title="">cue</var> = new <code title=dom-TimedTrackCue><a href=#dom-timedtrackcue>TimedTrackCue</a></code>( <var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var> [, <var title="">settings</var> [, <var title="">pauseOnExit</var> ] ] )</dt>
+ <dl class=domintro><!--TTVTT--><dt><var title="">cue</var> = new <code title=dom-TimedTrackCue><a href=#dom-timedtrackcue>TimedTrackCue</a></code>( <var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var> [, <var title="">settings</var> [, <var title="">pauseOnExit</var> ] ] )</dt>
<dd>
<p>Returns a new <code><a href=#timedtrackcue>TimedTrackCue</a></code> object, for use with the <code title=dom-MutableTimedTrack-addCue><a href=#dom-mutabletimedtrack-addcue>addCue()</a></code> method.</p>
<p>The <var title="">id</var> argument sets the <a href=#timed-track-cue-identifier>timed track cue identifier</a>.</p>
<p>The <var title="">startTime</var> argument sets the <a href=#timed-track-cue-start-time>timed track cue start time</a>.</p>
<p>The <var title="">endTime</var> argument sets the <a href=#timed-track-cue-end-time>timed track cue end time</a>.</p>
<p>The <var title="">text</var> argument sets the <a href=#timed-track-cue-text>timed track cue text</a>.</p>
- <p>The <var title="">settings</var> argument is a string in the format of <a href=#websrt-cue-settings>WebSRT cue settings</a>. If omitted, the empty string is assumed.</p>
+ <p>The <var title="">settings</var> argument is a string in the format of <a href=#webvtt-cue-settings>WebVTT cue settings</a>. If omitted, the empty string is assumed.</p>
<p>The <var title="">pauseOnExit</var> argument sets the <a href=#timed-track-cue-pause-on-exit-flag>timed track cue pause-on-exit flag</a>. If omitted, false is assumed.</p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><var title="">cue</var> . <a href=#dom-timedtrackcue-track title=dom-TimedTrackCue-track>track</a></dt>
<dd>
@@ -28818,7 +28818,7 @@
<p>Returns true if the <a href=#timed-track-cue-pause-on-exit-flag>timed track cue pause-on-exit flag</a> is set, false otherwise.</p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><var title="">cue</var> . <a href=#dom-timedtrackcue-direction title=dom-TimedTrackCue-direction>direction</a></dt>
<dd>
<p>Returns a string representing the <a href=#timed-track-cue-writing-direction>timed track cue writing direction</a>, as follows:</p>
@@ -28862,7 +28862,7 @@
<dt>If it is <a href=#timed-track-cue-end-alignment title="timed track cue end alignment">end alignment</a></dt>
<dd><p>The string "<code title="">end</code>".</dd>
</dl></dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><var title="">source</var> = <var title="">cue</var> . <span title=dom-TimedTrackCue-getCueAsSource>getCueAsSource</span>()</dt>
<dd>
@@ -28876,7 +28876,7 @@
</dl><div class=impl>
-<!--TTSRT-->
+<!--TTVTT-->
<p>The <dfn id=dom-timedtrackcue title=dom-TimedTrackCue><code>TimedTrackCue(<var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var>, <var title="">settings</var>, <var title="">pauseOnExit</var>)</code></dfn> constructor, when invoked,
must run the following steps:</p>
@@ -28901,9 +28901,9 @@
<li><p>Let <var title="">cue</var>'s <a href=#timed-track-cue-text>timed track cue
text</a> be the value of the <var title="">text</var> argument,
- and let the rules for its interpretation be the <a href=#websrt-cue-text-parsing-rules>WebSRT cue
- text parsing rules</a>, the <a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering
- rules</a>, and the <a href=#websrt-cue-text-dom-construction-rules>WebSRT cue text DOM construction
+ and let the rules for its interpretation be the <a href=#webvtt-cue-text-parsing-rules>WebVTT cue
+ text parsing rules</a>, the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text rendering
+ rules</a>, and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue text DOM construction
rules</a>.</li>
<!-- default settings -->
@@ -28935,12 +28935,12 @@
<li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the
string.</li>
- <li><p><a href=#parse-the-websrt-settings>Parse the WebSRT settings</a> for <var title="">cue</var>.</li>
+ <li><p><a href=#parse-the-webvtt-settings>Parse the WebVTT settings</a> for <var title="">cue</var>.</li>
<li><p>Return the <code><a href=#timedtrackcue>TimedTrackCue</a></code> object representing
<var title="">cue</var>.</li>
- </ol><!--TTSRT--><p>The <dfn id=dom-timedtrackcue-track title=dom-TimedTrackCue-track><code>track</code></dfn>
+ </ol><!--TTVTT--><p>The <dfn id=dom-timedtrackcue-track title=dom-TimedTrackCue-track><code>track</code></dfn>
attribute must return the <code><a href=#timedtrack>TimedTrack</a></code> object of the
<a href=#timed-track>timed track</a> with which the <a href=#timed-track-cue>timed track cue</a>
that the <code><a href=#timedtrackcue>TimedTrackCue</a></code> object represents is associated,
@@ -28972,7 +28972,7 @@
direction</a> of the <a href=#timed-track-cue>timed track cue</a> that the
<code><a href=#timedtrackcue>TimedTrackCue</a></code> object represents.</p>
-<!--TTSRT-->
+<!--TTVTT-->
<p>The <dfn id=dom-timedtrackcue-snaptolines title=dom-TimedTrackCue-snapToLines><code>snapToLines</code></dfn>
attribute must return true if the <a href=#timed-track-cue-snap-to-lines-flag>timed track cue
snap-to-lines flag</a> of the <a href=#timed-track-cue>timed track cue</a> that
@@ -29024,7 +29024,7 @@
attribute must return the <a href=#timed-track-cue-alignment>timed track cue alignment</a> of
the <a href=#timed-track-cue>timed track cue</a> that the <code><a href=#timedtrackcue>TimedTrackCue</a></code>
object represents.</p>
-<!--TTSRT-->
+<!--TTVTT-->
<p>The <dfn id=dom-timedtrackcue-getcueassource() title=dom-TimedTrackCue-getCueAsSource()><code>getCueAsSource()</code></dfn>
method must return the raw <a href=#timed-track-cue-text>timed track cue text</a>.</p>
@@ -29034,11 +29034,11 @@
<code><a href=#documentfragment>DocumentFragment</a></code> for the <a href=#media-element>media element</a>'s
<code><a href=#document>Document</a></code>, using the appropriate rules for doing
so.
-<!--TTSRT-->
- For example, for <a href=#websrt>WebSRT</a>, those rules are the
- <a href=#websrt-cue-text-parsing-rules>WebSRT cue text parsing rules</a> and the <a href=#websrt-cue-text-dom-construction-rules>WebSRT cue
+<!--TTVTT-->
+ For example, for <a href=#webvtt>WebVTT</a>, those rules are the
+ <a href=#webvtt-cue-text-parsing-rules>WebVTT cue text parsing rules</a> and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue
text DOM construction rules</a>.
-<!--TTSRT-->
+<!--TTVTT-->
</p>
</div>
@@ -29068,24 +29068,24 @@
<!--TT-->
- <h5 id=websrt-0><span class=secno>4.8.10.11 </span>WebSRT</h5>
+ <h5 id=webvtt-0><span class=secno>4.8.10.11 </span>WebVTT</h5>
- <p>The <dfn id=websrt>WebSRT</dfn> format (Web Subtitle Resource Tracks) is a
+ <p>The <dfn id=webvtt>WebVTT</dfn> format (Web Subtitle Resource Tracks) is a
format intended for marking up external timed track resources.</p>
<h6 id=syntax-0><span class=secno>4.8.10.11.1 </span>Syntax</h6>
- <p>A <dfn id=websrt-file>WebSRT file</dfn> must consist of a <a href=#websrt-file-body>WebSRT file
+ <p>A <dfn id=webvtt-file>WebVTT file</dfn> must consist of a <a href=#webvtt-file-body>WebVTT file
body</a> encoded as UTF-8 and labeled with the <a href=#mime-type>MIME
- type</a> <code><a href=#text/srt>text/srt</a></code>. <a href=#refsRFC3629>[RFC3629]</a></p>
+ type</a> <code><a href=#text/vtt>text/vtt</a></code>. <a href=#refsRFC3629>[RFC3629]</a></p>
- <p>A <dfn id=websrt-file-body>WebSRT file body</dfn> consists of the following
+ <p>A <dfn id=webvtt-file-body>WebVTT file body</dfn> consists of the following
components, in the following order:</p>
<ol><li>An optional U+FEFF BYTE ORDER MARK (BOM) character.</li>
- <li>The string "<code title="">WEBSRT</code>", a single U+0020
+ <li>The string "<code title="">WEBVTT</code>", a single U+0020
SPACE character, and the string "<code title="">FILE</code>".</li>
<li>Optionally, either a U+0020 SPACE character or a U+0009
@@ -29093,58 +29093,58 @@
characters that are not U+000A LINE FEED (LF) or U+000D CARRIAGE
RETURN (CR) characters.</li> <!-- allows for Emacs line -->
- <li>Two or more <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line
+ <li>Two or more <a href=#webvtt-line-terminator title="WebVTT line terminator">WebVTT line
terminators</a>.</li> <!-- the first one to terminate the magic
line, the second one to terminate the header block: in the future,
we can add a metadata block before the first blank line -->
- <li>Zero or more <a href=#websrt-cue title="WebSRT cue">WebSRT cues</a>
- separated from each other by two or more <a href=#websrt-line-terminator title="WebSRT line
- terminator">WebSRT line terminators</a>.</li>
+ <li>Zero or more <a href=#webvtt-cue title="WebVTT cue">WebVTT cues</a>
+ separated from each other by two or more <a href=#webvtt-line-terminator title="WebVTT line
+ terminator">WebVTT line terminators</a>.</li>
- <li>Zero or more <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line
+ <li>Zero or more <a href=#webvtt-line-terminator title="WebVTT line terminator">WebVTT line
terminators</a>.</li>
- </ol><p>A <dfn id=websrt-cue>WebSRT cue</dfn> consists of the following components, in
+ </ol><p>A <dfn id=webvtt-cue>WebVTT cue</dfn> consists of the following components, in
the given order:</p>
- <ol><li>Optionally, a <a href=#websrt-cue-identifier>WebSRT cue identifier</a> followed by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
- <li><a href=#websrt-cue-timings>WebSRT cue timings</a>.</li>
- <li>Optionally, one or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters followed by <a href=#websrt-cue-settings>WebSRT cue settings</a>.</li>
- <li>A <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
- <li>The <dfn id=cue-payload>cue payload</dfn>: either <a href=#websrt-cue-text>WebSRT cue text</a> or <a href=#websrt-metadata-text>WebSRT metadata text</a>.</li>
- </ol><p><a href=#websrt-cue-text>WebSRT cue text</a> is syntactically a subset of
- <a href=#websrt-metadata-text>WebSRT metadata text</a>. Conformance checkers, when
- validating <a href=#websrt>WebSRT</a> files, may offer to restrict all cues
- to only having <a href=#websrt-cue-text>WebSRT cue text</a> as their <a href=#cue-payload>cue
- payload</a>; <a href=#websrt-metadata-text>WebSRT metadata text</a> cues are only
+ <ol><li>Optionally, a <a href=#webvtt-cue-identifier>WebVTT cue identifier</a> followed by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</li>
+ <li><a href=#webvtt-cue-timings>WebVTT cue timings</a>.</li>
+ <li>Optionally, one or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters followed by <a href=#webvtt-cue-settings>WebVTT cue settings</a>.</li>
+ <li>A <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</li>
+ <li>The <dfn id=cue-payload>cue payload</dfn>: either <a href=#webvtt-cue-text>WebVTT cue text</a> or <a href=#webvtt-metadata-text>WebVTT metadata text</a>.</li>
+ </ol><p><a href=#webvtt-cue-text>WebVTT cue text</a> is syntactically a subset of
+ <a href=#webvtt-metadata-text>WebVTT metadata text</a>. Conformance checkers, when
+ validating <a href=#webvtt>WebVTT</a> files, may offer to restrict all cues
+ to only having <a href=#webvtt-cue-text>WebVTT cue text</a> as their <a href=#cue-payload>cue
+ payload</a>; <a href=#webvtt-metadata-text>WebVTT metadata text</a> cues are only
useful for scripted applications (using the <code title=dom-timedtrack-kind-metadata><a href=#dom-timedtrack-kind-metadata>metadata</a></code> <a href=#timed-track-kind>timed
track kind</a>).</p>
- <p>A <a href=#websrt-file>WebSRT file</a> whose cues all have a <a href=#cue-payload>cue
- payload</a> that is <a href=#websrt-cue-text>WebSRT cue text</a> is said to be a
- <dfn id=websrt-file-using-cue-text>WebSRT file using cue text</dfn>.</p>
+ <p>A <a href=#webvtt-file>WebVTT file</a> whose cues all have a <a href=#cue-payload>cue
+ payload</a> that is <a href=#webvtt-cue-text>WebVTT cue text</a> is said to be a
+ <dfn id=webvtt-file-using-cue-text>WebVTT file using cue text</dfn>.</p>
- <p>A <dfn id=websrt-line-terminator>WebSRT line terminator</dfn> consists of one of the
+ <p>A <dfn id=webvtt-line-terminator>WebVTT line terminator</dfn> consists of one of the
following:</p>
<ul class=brief><li>A U+000D CARRIAGE RETURN U+000A LINE FEED (CRLF) character pair.</li>
<li>A single U+000A LINE FEED (LF) character.</li>
<li>A single U+000D CARRIAGE RETURN (CR) character.</li>
- </ul><p>A <dfn id=websrt-cue-identifier>WebSRT cue identifier</dfn> is any sequence of one or more
+ </ul><p>A <dfn id=webvtt-cue-identifier>WebVTT cue identifier</dfn> is any sequence of one or more
characters not containing the substring "<code title="">--></code>"
(U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS, U+003E GREATER-THAN
SIGN), nor containing any U+000A LINE FEED (LF) characters or U+000D
CARRIAGE RETURN (CR) characters.</p>
- <p>The <dfn id=websrt-cue-timings>WebSRT cue timings</dfn> part of a <a href=#websrt-cue>WebSRT
+ <p>The <dfn id=webvtt-cue-timings>WebVTT cue timings</dfn> part of a <a href=#webvtt-cue>WebVTT
cue</a> consists of the following components, in the given
order:</p>
<ol><!-- we could allow leading and trailing spaces and tabs, and make
the space between the arrow either optional or allow multiple
- spaces or tabs --><li>A <a href=#websrt-timestamp>WebSRT timestamp</a> representing the start time
- offset of the cue. The time represented by this <a href=#websrt-timestamp>WebSRT
+ spaces or tabs --><li>A <a href=#webvtt-timestamp>WebVTT timestamp</a> representing the start time
+ offset of the cue. The time represented by this <a href=#webvtt-timestamp>WebVTT
timestamp</a> must be greater than or equal to the start time
offsets of all previous cues in the file.</li>
@@ -29155,13 +29155,13 @@
<li>A U+0020 SPACE character.</li>
- <li>A <a href=#websrt-timestamp>WebSRT timestamp</a> representing the end time
- offset of the cue. The time represented by this <a href=#websrt-timestamp>WebSRT
+ <li>A <a href=#webvtt-timestamp>WebVTT timestamp</a> representing the end time
+ offset of the cue. The time represented by this <a href=#webvtt-timestamp>WebVTT
timestamp</a> must be greater than the start time offset of the
cue.</li>
- </ol><p>A <dfn id=websrt-timestamp>WebSRT timestamp</dfn> representing a time in seconds and
- fractions of a second is a <a href=#websrt-timestamp>WebSRT timestamp</a>
+ </ol><p>A <dfn id=webvtt-timestamp>WebVTT timestamp</dfn> representing a time in seconds and
+ fractions of a second is a <a href=#webvtt-timestamp>WebVTT timestamp</a>
representing hours <var title="">hours</var>, minutes <var title="">minutes</var>, seconds
<var title="">seconds</var>, and thousandths of a second <var title="">seconds-frac</var>, calculated as follows:</p>
@@ -29178,7 +29178,7 @@
<li><p>If <var title="">minutes</var> is greater than 59, then let
<var title="">hours</var> be the integer component of <var title="">minutes</var> divided by sixty, and then let <var title="">minutes</var> be the remainder of dividing <var title="">minutes</var> divided by sixty. Otherwise, let <var title="">hours</var> be zero.</li>
- </ol><p>A <a href=#websrt-timestamp>WebSRT timestamp</a> representing hours <var title="">hours</var>, minutes <var title="">minutes</var>, seconds
+ </ol><p>A <a href=#webvtt-timestamp>WebVTT timestamp</a> representing hours <var title="">hours</var>, minutes <var title="">minutes</var>, seconds
<var title="">seconds</var>, and thousandths of a second <var title="">seconds-frac</var>, consists of the following components,
in the given order:</p>
@@ -29207,25 +29207,25 @@
<li>Three characters in the range U+0030 DIGIT ZERO (0) to U+0039
DIGIT NINE (9), representing the thousandths of a second <var title="">seconds-frac</var> as a base ten integer.</li>
- </ol><p>The <dfn id=websrt-cue-settings>WebSRT cue settings</dfn> part of a <a href=#websrt-cue>WebSRT
+ </ol><p>The <dfn id=webvtt-cue-settings>WebVTT cue settings</dfn> part of a <a href=#webvtt-cue>WebVTT
cue</a> consists of zero or more of the following components, in
any order, separated from each other by one or more U+0020 SPACE
characters or U+0009 CHARACTER TABULATION (tab) characters. Each
- component must not be included more than once per <a href=#websrt-cue-settings>WebSRT cue
+ component must not be included more than once per <a href=#webvtt-cue-settings>WebVTT cue
settings</a> string.</p>
- <ul class=brief><li>A <a href=#websrt-vertical-text-cue-setting>WebSRT vertical text cue setting</a>.</li> <!-- D:vertical/vertical-lr -->
- <li>A <a href=#websrt-line-position-cue-setting>WebSRT line position cue setting</a>.</li> <!-- L:100% L:1 L:-1 -->
- <li>A <a href=#websrt-text-position-cue-setting>WebSRT text position cue setting</a>.</li> <!-- T:100% -->
- <li>A <a href=#websrt-size-cue-setting>WebSRT size cue setting</a>.</li> <!-- S:100% -->
- <li>A <a href=#websrt-alignment-cue-setting>WebSRT alignment cue setting</a>.</li> <!-- A:start/middle/end -->
- </ul><p>A <dfn id=websrt-vertical-text-cue-setting>WebSRT vertical text cue setting</dfn> consists of the
+ <ul class=brief><li>A <a href=#webvtt-vertical-text-cue-setting>WebVTT vertical text cue setting</a>.</li> <!-- D:vertical/vertical-lr -->
+ <li>A <a href=#webvtt-line-position-cue-setting>WebVTT line position cue setting</a>.</li> <!-- L:100% L:1 L:-1 -->
+ <li>A <a href=#webvtt-text-position-cue-setting>WebVTT text position cue setting</a>.</li> <!-- T:100% -->
+ <li>A <a href=#webvtt-size-cue-setting>WebVTT size cue setting</a>.</li> <!-- S:100% -->
+ <li>A <a href=#webvtt-alignment-cue-setting>WebVTT alignment cue setting</a>.</li> <!-- A:start/middle/end -->
+ </ul><p>A <dfn id=webvtt-vertical-text-cue-setting>WebVTT vertical text cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li>A U+0044 LATIN CAPITAL LETTER D character.</li>
<li>A U+003A COLON character (:).</li>
<li>One of the following strings: "<code title="">vertical</code>", "<code title="">vertical-lr</code>".</li>
- </ol><p>A <dfn id=websrt-line-position-cue-setting>WebSRT line position cue setting</dfn> consists of the
+ </ol><p>A <dfn id=webvtt-line-position-cue-setting>WebVTT line position cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li><p>A U+004C LATIN CAPITAL LETTER L character.</li>
@@ -29242,100 +29242,100 @@
<li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li>
</ol></dd>
</dl></li>
- </ol><p>A <dfn id=websrt-text-position-cue-setting>WebSRT text position cue setting</dfn> consists of the
+ </ol><p>A <dfn id=webvtt-text-position-cue-setting>WebVTT text position cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li>A U+0054 LATIN CAPITAL LETTER T character.</li>
<li>A U+003A COLON character (:).</li>
<li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li>
<li>A U+0025 PERCENT SIGN character (%).</li>
- </ol><p>A <dfn id=websrt-size-cue-setting>WebSRT size cue setting</dfn> consists of the
+ </ol><p>A <dfn id=webvtt-size-cue-setting>WebVTT size cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li>A U+0053 LATIN CAPITAL LETTER S character.</li>
<li>A U+003A COLON character (:).</li>
<li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li>
<li>A U+0025 PERCENT SIGN character (%).</li>
- </ol><p>A <dfn id=websrt-alignment-cue-setting>WebSRT alignment cue setting</dfn> consists of the
+ </ol><p>A <dfn id=webvtt-alignment-cue-setting>WebVTT alignment cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li>A U+0041 LATIN CAPITAL LETTER A character.</li>
<li>A U+003A COLON character (:).</li>
<li>One of the following strings: "<code title="">start</code>", "<code title="">middle</code>", "<code title="">end</code>"</li>
- </ol><p><dfn id=websrt-metadata-text>WebSRT metadata text</dfn> consists of any sequence of one
+ </ol><p><dfn id=webvtt-metadata-text>WebVTT metadata text</dfn> consists of any sequence of one
or more characters other than U+000A LINE FEED (LF) characters and
U+000D CARRIAGE RETURN (CR) characters, each optionally separated
- from the next by a <a href=#websrt-line-terminator>WebSRT line terminator</a>. (In other
- words, any text that does not have two consecutive <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line terminators</a> and
- does not start or end with a <a href=#websrt-line-terminator>WebSRT line
+ from the next by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>. (In other
+ words, any text that does not have two consecutive <a href=#webvtt-line-terminator title="WebVTT line terminator">WebVTT line terminators</a> and
+ does not start or end with a <a href=#webvtt-line-terminator>WebVTT line
terminator</a>.)</p>
- <p><dfn id=websrt-cue-text>WebSRT cue text</dfn> consists of zero or more <a href=#websrt-cue-components>WebSRT
+ <p><dfn id=webvtt-cue-text>WebVTT cue text</dfn> consists of zero or more <a href=#webvtt-cue-components>WebVTT
cue components</a>, in any order, each optionally separated from
- the next by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</p>
+ the next by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</p>
- <p>The <dfn id=websrt-cue-components>WebSRT cue components</dfn> are:</p>
+ <p>The <dfn id=webvtt-cue-components>WebVTT cue components</dfn> are:</p>
- <ul><li>A <a href=#websrt-cue-class-span>WebSRT cue class span</a>.</li>
- <li>A <a href=#websrt-cue-italics-span>WebSRT cue italics span</a>.</li>
- <li>A <a href=#websrt-cue-bold-span>WebSRT cue bold span</a>.</li>
- <li>A <a href=#websrt-cue-ruby-span>WebSRT cue ruby span</a>.</li>
- <li>A <a href=#websrt-cue-voice-span>WebSRT cue voice span</a>.</li>
+ <ul><li>A <a href=#webvtt-cue-class-span>WebVTT cue class span</a>.</li>
+ <li>A <a href=#webvtt-cue-italics-span>WebVTT cue italics span</a>.</li>
+ <li>A <a href=#webvtt-cue-bold-span>WebVTT cue bold span</a>.</li>
+ <li>A <a href=#webvtt-cue-ruby-span>WebVTT cue ruby span</a>.</li>
+ <li>A <a href=#webvtt-cue-voice-span>WebVTT cue voice span</a>.</li>
- <li>A <a href=#websrt-cue-timestamp>WebSRT cue timestamp</a>.</li>
+ <li>A <a href=#webvtt-cue-timestamp>WebVTT cue timestamp</a>.</li>
- <li>A <a href=#websrt-cue-text-span>WebSRT cue text span</a>, representing the text of the cue.</li>
+ <li>A <a href=#webvtt-cue-text-span>WebVTT cue text span</a>, representing the text of the cue.</li>
- <li>A <a href=#websrt-cue-amp-escape>WebSRT cue amp escape</a>, representing a "&" character in the text of the cue.</li>
- <li>A <a href=#websrt-cue-lt-escape>WebSRT cue lt escape</a>, representing a "<" character in the text of the cue.</li>
- <li>A <a href=#websrt-cue-gt-escape>WebSRT cue gt escape</a>, representing a ">" character in the text of the cue.</li>
+ <li>A <a href=#webvtt-cue-amp-escape>WebVTT cue amp escape</a>, representing a "&" character in the text of the cue.</li>
+ <li>A <a href=#webvtt-cue-lt-escape>WebVTT cue lt escape</a>, representing a "<" character in the text of the cue.</li>
+ <li>A <a href=#webvtt-cue-gt-escape>WebVTT cue gt escape</a>, representing a ">" character in the text of the cue.</li>
- </ul><p><dfn id=websrt-cue-internal-text>WebSRT cue internal text</dfn> consists of an optional
- <a href=#websrt-line-terminator>WebSRT line terminator</a>, followed by zero or more
- <a href=#websrt-cue-components>WebSRT cue components</a>, in any order, each optionally
- followed by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</p>
+ </ul><p><dfn id=webvtt-cue-internal-text>WebVTT cue internal text</dfn> consists of an optional
+ <a href=#webvtt-line-terminator>WebVTT line terminator</a>, followed by zero or more
+ <a href=#webvtt-cue-components>WebVTT cue components</a>, in any order, each optionally
+ followed by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</p>
- <p>A <dfn id=websrt-cue-class-span>WebSRT cue class span</dfn> consists of a <a href=#websrt-cue-span-start-tag>WebSRT cue
+ <p>A <dfn id=webvtt-cue-class-span>WebVTT cue class span</dfn> consists of a <a href=#webvtt-cue-span-start-tag>WebVTT cue
span start tag</a> "<code title="">c</code>" that disallows an
- annotation, <a href=#websrt-cue-internal-text>WebSRT cue internal text</a> representing cue
- text, and a <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">c</code>".</p>
+ annotation, <a href=#webvtt-cue-internal-text>WebVTT cue internal text</a> representing cue
+ text, and a <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">c</code>".</p>
- <p>A <dfn id=websrt-cue-italics-span>WebSRT cue italics span</dfn> consists of a <a href=#websrt-cue-span-start-tag>WebSRT
+ <p>A <dfn id=webvtt-cue-italics-span>WebVTT cue italics span</dfn> consists of a <a href=#webvtt-cue-span-start-tag>WebVTT
cue span start tag</a> "<code title="">i</code>" that disallows
- an annotation, <a href=#websrt-cue-internal-text>WebSRT cue internal text</a> representing
- the italicized text, and a <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a>
+ an annotation, <a href=#webvtt-cue-internal-text>WebVTT cue internal text</a> representing
+ the italicized text, and a <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a>
"<code title="">i</code>".</p>
- <p>A <dfn id=websrt-cue-bold-span>WebSRT cue bold span</dfn> consists of a <a href=#websrt-cue-span-start-tag>WebSRT cue
+ <p>A <dfn id=webvtt-cue-bold-span>WebVTT cue bold span</dfn> consists of a <a href=#webvtt-cue-span-start-tag>WebVTT cue
span start tag</a> "<code title="">b</code>" that disallows an
- annotation, <a href=#websrt-cue-internal-text>WebSRT cue internal text</a> representing the
- boldened text, and a <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">b</code>".</p>
+ annotation, <a href=#webvtt-cue-internal-text>WebVTT cue internal text</a> representing the
+ boldened text, and a <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">b</code>".</p>
- <p>A <dfn id=websrt-cue-ruby-span>WebSRT cue ruby span</dfn> consists of the following
+ <p>A <dfn id=webvtt-cue-ruby-span>WebVTT cue ruby span</dfn> consists of the following
components, in the order given:</p>
- <ol><li>A <a href=#websrt-cue-span-start-tag>WebSRT cue span start tag</a> "<code title="">i</code>" that disallows an annotation.</li>
+ <ol><li>A <a href=#webvtt-cue-span-start-tag>WebVTT cue span start tag</a> "<code title="">i</code>" that disallows an annotation.</li>
<li>One or more occurrences of the following group of components, in the order given:
- <ol><li><a href=#websrt-cue-internal-text>WebSRT cue internal text</a>, representing the ruby base.</li>
- <li>A <a href=#websrt-cue-span-start-tag>WebSRT cue span start tag</a> "<code title="">rt</code>" that disallows an annotation.</li>
- <li>A <dfn id=websrt-cue-ruby-text-span>WebSRT cue ruby text span</dfn>: <a href=#websrt-cue-internal-text>WebSRT cue internal text</a>, representing the ruby text component of the ruby annotation.</li>
- <li>A <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">rt</code>".
+ <ol><li><a href=#webvtt-cue-internal-text>WebVTT cue internal text</a>, representing the ruby base.</li>
+ <li>A <a href=#webvtt-cue-span-start-tag>WebVTT cue span start tag</a> "<code title="">rt</code>" that disallows an annotation.</li>
+ <li>A <dfn id=webvtt-cue-ruby-text-span>WebVTT cue ruby text span</dfn>: <a href=#webvtt-cue-internal-text>WebVTT cue internal text</a>, representing the ruby text component of the ruby annotation.</li>
+ <li>A <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">rt</code>".
If this is the last occurance of this group of components in the
- <a href=#websrt-cue-ruby-span>WebSRT cue ruby span</a>, then this last end tag string
+ <a href=#webvtt-cue-ruby-span>WebVTT cue ruby span</a>, then this last end tag string
may be omitted.</li>
</ol></li>
- <li>If the last end tag string was not omitted: Optionally, a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
- <li>If the last end tag string was not omitted: Zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters, each optionally followed by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
- <li>A <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">ruby</code>".</li>
- </ol><p>A <dfn id=websrt-cue-voice-span>WebSRT cue voice span</dfn> consists of the following
+ <li>If the last end tag string was not omitted: Optionally, a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</li>
+ <li>If the last end tag string was not omitted: Zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters, each optionally followed by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</li>
+ <li>A <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">ruby</code>".</li>
+ </ol><p>A <dfn id=webvtt-cue-voice-span>WebVTT cue voice span</dfn> consists of the following
components, in the order given:</p>
- <ol><li>A <a href=#websrt-cue-span-start-tag>WebSRT cue span start tag</a> "<code title="">v</code>" that requires an annotation; the annotation represents the name of the voice.</li>
- <li><a href=#websrt-cue-internal-text>WebSRT cue internal text</a>.</li>
- <li>A <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">v</code>". If this <a href=#websrt-cue-voice-span>WebSRT cue voice span</a> is the only <a href=#websrt-cue-components title="WebSRT cue components">component</a> of its <a href=#websrt-cue-text>WebSRT cue text</a> sequence, then the end tag may be omitted for brevity.</li>
- </ol><p>A <dfn id=websrt-cue-span-start-tag>WebSRT cue span start tag</dfn> has a <var title="">tag
+ <ol><li>A <a href=#webvtt-cue-span-start-tag>WebVTT cue span start tag</a> "<code title="">v</code>" that requires an annotation; the annotation represents the name of the voice.</li>
+ <li><a href=#webvtt-cue-internal-text>WebVTT cue internal text</a>.</li>
+ <li>A <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">v</code>". If this <a href=#webvtt-cue-voice-span>WebVTT cue voice span</a> is the only <a href=#webvtt-cue-components title="WebVTT cue components">component</a> of its <a href=#webvtt-cue-text>WebVTT cue text</a> sequence, then the end tag may be omitted for brevity.</li>
+ </ol><p>A <dfn id=webvtt-cue-span-start-tag>WebVTT cue span start tag</dfn> has a <var title="">tag
name</var> and either allows, requires, and disallows an annotation,
and consists of the following components, in the order given:</p>
@@ -29363,30 +29363,30 @@
<dt>If the start tag allows an annotation:</dt>
- <dd>Optionally, a <span>WebSRT cue span start tag annotation</span>.</dd>
+ <dd>Optionally, a <span>WebVTT cue span start tag annotation</span>.</dd>
<dt>-->If the start tag requires an annotation:<!--</dt>
- <dd>A <span>WebSRT cue span start tag annotation</span>.</dd>
+ <dd>A <span>WebVTT cue span start tag annotation</span>.</dd>
</dl>
- <p>A <dfn>WebSRT cue span start tag annotation</dfn> consists of-->
+ <p>A <dfn>WebVTT cue span start tag annotation</dfn> consists of-->
one or more of the following components, the concatenation of
their representations having a value that contains at least one
character other than U+0020 SPACE and U+0009 CHARACTER TABULATION
(tab) characters:<!--</p>-->
- <ul><li><a href=#websrt-cue-span-start-tag-annotation-text>WebSRT cue span start tag annotation text</a>, representing the text of the annotation.</li>
- <li>A <a href=#websrt-cue-amp-escape>WebSRT cue amp escape</a>, representing a "&" character in the text of the annotation.</li>
- <li>A <a href=#websrt-cue-lt-escape>WebSRT cue lt escape</a>, representing a "<" character in the text of the annotation.</li>
- <li>A <a href=#websrt-cue-gt-escape>WebSRT cue gt escape</a>, representing a ">" character in the text of the annotation.</li>
+ <ul><li><a href=#webvtt-cue-span-start-tag-annotation-text>WebVTT cue span start tag annotation text</a>, representing the text of the annotation.</li>
+ <li>A <a href=#webvtt-cue-amp-escape>WebVTT cue amp escape</a>, representing a "&" character in the text of the annotation.</li>
+ <li>A <a href=#webvtt-cue-lt-escape>WebVTT cue lt escape</a>, representing a "<" character in the text of the annotation.</li>
+ <li>A <a href=#webvtt-cue-gt-escape>WebVTT cue gt escape</a>, representing a ">" character in the text of the annotation.</li>
</ul></li>
<li>A U+003E GREATER-THAN SIGN character (>).</li>
- </ol><p>A <dfn id=websrt-cue-span-end-tag>WebSRT cue span end tag</dfn> has a <var title="">tag
+ </ol><p>A <dfn id=webvtt-cue-span-end-tag>WebVTT cue span end tag</dfn> has a <var title="">tag
name</var> and consists of the following components, in the order
given:</p>
@@ -29394,32 +29394,32 @@
<li>U+002F SOLIDUS character (/).</li>
<li>The <var title="">tag name</var>.</li>
<li>A U+003E GREATER-THAN SIGN character (>).</li>
- </ol><p>A <dfn id=websrt-cue-timestamp>WebSRT cue timestamp</dfn> consists of a U+003C LESS-THAN
- SIGN character (<), followed by a <a href=#websrt-timestamp>WebSRT timestamp</a>
+ </ol><p>A <dfn id=webvtt-cue-timestamp>WebVTT cue timestamp</dfn> consists of a U+003C LESS-THAN
+ SIGN character (<), followed by a <a href=#webvtt-timestamp>WebVTT timestamp</a>
representing the time that the given point in the cue becomes
active, followed by a U+003E GREATER-THAN SIGN character (>). The
- time represented by the <a href=#websrt-timestamp>WebSRT timestamp</a> must be
- greater than the times represented by any previous <a href=#websrt-cue-timestamp title="WebSRT cue timestamp">WebSRT cue timestamps</a> in the
+ time represented by the <a href=#webvtt-timestamp>WebVTT timestamp</a> must be
+ greater than the times represented by any previous <a href=#webvtt-cue-timestamp title="WebVTT cue timestamp">WebVTT cue timestamps</a> in the
cue, as well as greater than the cue's start time offset, and less
than the cue's end time offset.</p>
- <p>A <dfn id=websrt-cue-text-span>WebSRT cue text span</dfn> consists of one or more
+ <p>A <dfn id=webvtt-cue-text-span>WebVTT cue text span</dfn> consists of one or more
characters other than U+000A LINE FEED (LF) characters, U+000D
CARRIAGE RETURN (CR) characters, U+0026 AMPERSAND characters (&),
and U+003C LESS-THAN SIGN characters (<).</p>
- <p><dfn id=websrt-cue-span-start-tag-annotation-text>WebSRT cue span start tag annotation text</dfn> consists of
+ <p><dfn id=webvtt-cue-span-start-tag-annotation-text>WebVTT cue span start tag annotation text</dfn> consists of
one or more characters other than U+000A LINE FEED (LF) characters,
U+000D CARRIAGE RETURN (CR) characters, U+0026 AMPERSAND characters
(&), and U+003E GREATER-THAN SIGN characters (>).</p>
- <p>A <dfn id=websrt-cue-amp-escape>WebSRT cue amp escape</dfn> is the five character string
+ <p>A <dfn id=webvtt-cue-amp-escape>WebVTT cue amp escape</dfn> is the five character string
"<code title="">&</code>".</p>
- <p>A <dfn id=websrt-cue-lt-escape>WebSRT cue lt escape</dfn> is the five character string
+ <p>A <dfn id=webvtt-cue-lt-escape>WebVTT cue lt escape</dfn> is the five character string
"<code title=""><</code>".</p>
- <p>A <dfn id=websrt-cue-gt-escape>WebSRT cue gt escape</dfn> is the five character string
+ <p>A <dfn id=webvtt-cue-gt-escape>WebVTT cue gt escape</dfn> is the five character string
"<code title="">></code>".</p>
@@ -29428,21 +29428,21 @@
<h6 id=parsing-0><span class=secno>4.8.10.11.2 </span>Parsing</h6>
- <p>A <dfn id=websrt-parser>WebSRT parser</dfn>, given an input byte stream and a
+ <p>A <dfn id=webvtt-parser>WebVTT parser</dfn>, given an input byte stream and a
<a href=#timed-track-list-of-cues>timed track list of cues</a> <var title="">output</var>,
must <a href=#decoded-as-utf-8,-with-error-handling title="decoded as UTF-8, with error handling">decode the
byte stream as UTF-8, with error handling</a>, and then must
- parse the resulting string according to the <a href=#websrt-parser-algorithm>WebSRT parser
+ parse the resulting string according to the <a href=#webvtt-parser-algorithm>WebVTT parser
algorithm</a> below. This results in <a href=#timed-track-cue title="timed track
cue">timed track cues</a> being added to <var title="">output</var>. <a href=#refsRFC3629>[RFC3629]</a></p>
- <p>A <a href=#websrt-parser>WebSRT parser</a>, specifically its conversion and
+ <p>A <a href=#webvtt-parser>WebVTT parser</a>, specifically its conversion and
parsing steps, is typically run asynchronously, with the input byte
stream being updated incrementally as the resource is downloaded;
- this is called an <dfn id=incremental-websrt-parser>incremental WebSRT parser</dfn>.</p>
+ this is called an <dfn id=incremental-webvtt-parser>incremental WebVTT parser</dfn>.</p>
- <p>A <a href=#websrt-parser>WebSRT parser</a> verifies a file signature before
- parsing the provided byte stream. If the stream lacks this WebSRT
+ <p>A <a href=#webvtt-parser>WebVTT parser</a> verifies a file signature before
+ parsing the provided byte stream. If the stream lacks this WebVTT
file signature, then the parser aborts.</p>
<p>When converting the bytes into Unicode characters, if the
@@ -29451,14 +29451,14 @@
defined in this specification, and all U+0000 NULL characters must
be replaced by U+FFFD REPLACEMENT CHARACTERs.</p>
- <p>The <dfn id=websrt-parser-algorithm>WebSRT parser algorithm</dfn> is as follows:</p>
+ <p>The <dfn id=webvtt-parser-algorithm>WebVTT parser algorithm</dfn> is as follows:</p>
<ol><li><p>Let <var title="">input</var> be the string being parsed,
after conversion to Unicode and after the replacement of U+0000
NULL characters described above.</li>
<li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the
- string. In an <a href=#incremental-websrt-parser>incremental WebSRT parser</a>, when this
+ string. In an <a href=#incremental-webvtt-parser>incremental WebVTT parser</a>, when this
algorithm (or further algorithms that it uses) moves the <var title="">position</var> pointer, the user agent must wait until
appropriate further characters from the byte stream have been added
to <var title="">input</var> before moving the pointer, so that the
@@ -29477,19 +29477,19 @@
any.</li>
<li><p>If <var title="">line</var> is less than eleven characters
- long, then abort these steps. The file is not a <a href=#websrt-file>WebSRT
+ long, then abort these steps. The file is not a <a href=#webvtt-file>WebVTT
file</a>.</li>
<li><p>If <var title="">line</var> is exactly eleven characters
- long but does not exactly equal "<code title="">WEBSRT FILE</code>", then abort these steps. The file
- is not a <a href=#websrt-file>WebSRT file</a>.</li>
+ long but does not exactly equal "<code title="">WEBVTT FILE</code>", then abort these steps. The file
+ is not a <a href=#webvtt-file>WebVTT file</a>.</li>
<li><p>If <var title="">line</var> is more than eleven characters
long but does the first elevent characters do not exactly equal
- "<code title="">WEBSRT FILE</code>", or the twelfth character
+ "<code title="">WEBVTT FILE</code>", or the twelfth character
is neither a U+0020 SPACE character nor a U+0009 CHARACTER
TABULATION (tab) character, then abort these steps. The file is not
- a <a href=#websrt-file>WebSRT file</a>.</li>
+ a <a href=#webvtt-file>WebVTT file</a>.</li>
<li><p>If <var title="">position</var> is past the end of <var title="">input</var>, then jump to the step labeled
<i>end</i>.</li>
@@ -29603,7 +29603,7 @@
discard <var title="">cue</var> and jump to the step labeled <i>cue
loop</i>.</li>
- <li><p><i>Timings</i>: <a href=#collect-websrt-cue-timings-and-settings>Collect WebSRT cue timings and
+ <li><p><i>Timings</i>: <a href=#collect-webvtt-cue-timings-and-settings>Collect WebVTT cue timings and
settings</a> from <var title="">line</var>, using <var title="">cue</var> for the results. If that fails, jump to the step
labeled <i>bad cue</i>.</li>
@@ -29643,8 +29643,8 @@
<li><p><i>Cue text processing</i>: Let the <a href=#timed-track-cue-text>timed track cue
text</a> of <var title="">cue</var> be <var title="">cue
text</var>, and let the rules for its interpretation be the
- <a href=#websrt-cue-text-parsing-rules>WebSRT cue text parsing rules</a>, the <a href=#websrt-cue-text-rendering-rules>WebSRT cue
- text rendering rules</a>, and the <a href=#websrt-cue-text-dom-construction-rules>WebSRT cue text DOM
+ <a href=#webvtt-cue-text-parsing-rules>WebVTT cue text parsing rules</a>, the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue
+ text rendering rules</a>, and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue text DOM
construction rules</a>.</li>
<li><p>Add <var title="">cue</var> to the <a href=#timed-track-list-of-cues>timed track list of
@@ -29681,10 +29681,10 @@
<li><p><i>End</i>: The file has ended. Abort these steps. The
- <a href=#websrt-parser>WebSRT parser</a> has finished.</li>
+ <a href=#webvtt-parser>WebVTT parser</a> has finished.</li>
</ol><p>When the algorithm above requires that the user agent
- <dfn id=collect-websrt-cue-timings-and-settings>collect WebSRT cue timings and settings</dfn> from a string
+ <dfn id=collect-webvtt-cue-timings-and-settings>collect WebVTT cue timings and settings</dfn> from a string
<var title="">input</var> for a <a href=#timed-track-cue>timed track cue</a> <var title="">cue</var>, the user agent must run the following
algorithm.</p>
@@ -29696,7 +29696,7 @@
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
- <li><p><a href=#collect-a-websrt-timestamp>Collect a WebSRT timestamp</a>. If that algorithm
+ <li><p><a href=#collect-a-webvtt-timestamp>Collect a WebVTT timestamp</a>. If that algorithm
fails, then abort these steps and return failure. Otherwise, let
<var title="">cue</var>'s <a href=#timed-track-cue-start-time>timed track cue start time</a>
be the collected time.</li>
@@ -29721,16 +29721,16 @@
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
- <li><p><a href=#collect-a-websrt-timestamp>Collect a WebSRT timestamp</a>. If that algorithm
+ <li><p><a href=#collect-a-webvtt-timestamp>Collect a WebVTT timestamp</a>. If that algorithm
fails, then abort these steps and return failure. Otherwise, let
<var title="">cue</var>'s <a href=#timed-track-cue-end-time>timed track cue end time</a>
be the collected time.</li>
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
- <li><p><a href=#parse-the-websrt-settings>Parse the WebSRT settings</a> for <var title="">cue</var>.</li>
+ <li><p><a href=#parse-the-webvtt-settings>Parse the WebVTT settings</a> for <var title="">cue</var>.</li>
- </ol><p>When the user agent is to <dfn id=parse-the-websrt-settings>parse the WebSRT settings</dfn>
+ </ol><p>When the user agent is to <dfn id=parse-the-webvtt-settings>parse the WebVTT settings</dfn>
for a <a href=#timed-track-cue>timed track cue</a> <var title="">cue</var>, the
user agent must run the following steps:</p>
@@ -29953,7 +29953,7 @@
<li><p>Jump back to the step labeled <i>settings</i>.</li>
</ol><p>When this specification says that a user agent is to
- <dfn id=collect-a-websrt-timestamp>collect a WebSRT timestamp</dfn>, the user agent must run the
+ <dfn id=collect-a-webvtt-timestamp>collect a WebVTT timestamp</dfn>, the user agent must run the
following steps:</p>
<ol><li><p>Let <var title="">input</var> and <var title="">position</var> be the same variables as those of the same
@@ -30058,105 +30058,105 @@
<li><p>Return <var title="">result</var>.</li>
- </ol><h6 id=websrt-cue-text-parsing-rules><span class=secno>4.8.10.11.3 </span><dfn>WebSRT cue text parsing rules</dfn></h6>
+ </ol><h6 id=webvtt-cue-text-parsing-rules><span class=secno>4.8.10.11.3 </span><dfn>WebVTT cue text parsing rules</dfn></h6>
- <p>A <dfn id=websrt-node-object>WebSRT Node Object</dfn> is a conceptual construct used to
- represent components of <a href=#websrt-cue-text>WebSRT cue text</a> so that its
+ <p>A <dfn id=webvtt-node-object>WebVTT Node Object</dfn> is a conceptual construct used to
+ represent components of <a href=#webvtt-cue-text>WebVTT cue text</a> so that its
processing can be described without reference to the underlying
syntax.</p>
- <p>There are two broad classes of <a href=#websrt-node-object title="WebSRT Node
- Object">WebSRT Node Objects</a>: <a href=#websrt-internal-node-object title="WebSRT Internal
- Node Object">WebSRT Internal Node Objects</a> and <a href=#websrt-leaf-node-object title="WebSRT Leaf Node Object">WebSRT Leaf Node Objects</a>.</p>
+ <p>There are two broad classes of <a href=#webvtt-node-object title="WebVTT Node
+ Object">WebVTT Node Objects</a>: <a href=#webvtt-internal-node-object title="WebVTT Internal
+ Node Object">WebVTT Internal Node Objects</a> and <a href=#webvtt-leaf-node-object title="WebVTT Leaf Node Object">WebVTT Leaf Node Objects</a>.</p>
- <p><dfn id=websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
- Objects</dfn> are those that can contain further <a href=#websrt-node-object title="WebSRT
- Node Object">WebSRT Node Objects</a>. They are conceptually
- similar to elements in HTML or the DOM. <a href=#websrt-internal-node-object title="WebSRT Internal
- Node Object">WebSRT Internal Node Objects</a> have an ordered
- list of child <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node
- Objects</a>. The <a href=#websrt-internal-node-object>WebSRT Internal Node Object</a> is said
+ <p><dfn id=webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
+ Objects</dfn> are those that can contain further <a href=#webvtt-node-object title="WebVTT
+ Node Object">WebVTT Node Objects</a>. They are conceptually
+ similar to elements in HTML or the DOM. <a href=#webvtt-internal-node-object title="WebVTT Internal
+ Node Object">WebVTT Internal Node Objects</a> have an ordered
+ list of child <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node
+ Objects</a>. The <a href=#webvtt-internal-node-object>WebVTT Internal Node Object</a> is said
to be the <i>parent</i> of the children. Cycles do not occur; the
parent-child relationships so constructed form a tree structure.
- <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
+ <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</a> also have an ordered list of class names, know as
- their <dfn id="websrt-node-object's-applicable-classes" title="WebSRT Node Object's applicable
+ their <dfn id="webvtt-node-object's-applicable-classes" title="WebVTT Node Object's applicable
classes">applicable classes</dfn>.</p>
- <p>There are several concrete classes of <a href=#websrt-internal-node-object title="WebSRT
- Internal Node Object">WebSRT Internal Node Objects</a>:</p>
+ <p>There are several concrete classes of <a href=#webvtt-internal-node-object title="WebVTT
+ Internal Node Object">WebVTT Internal Node Objects</a>:</p>
- <dl><dt><dfn id=list-of-websrt-node-objects title="List of WebSRT Node Objects">Lists of WebSRT Node Objects</dfn></dt>
+ <dl><dt><dfn id=list-of-webvtt-node-objects title="List of WebVTT Node Objects">Lists of WebVTT Node Objects</dfn></dt>
<dd>
- <p>These are used as root nodes for trees of <a href=#websrt-node-object title="WebSRT
- Node Object">WebSRT Node Objects</a>.</p>
+ <p>These are used as root nodes for trees of <a href=#webvtt-node-object title="WebVTT
+ Node Object">WebVTT Node Objects</a>.</p>
</dd>
- <dt><dfn id=websrt-class-object title="WebSRT Class Object">WebSRT Class Objects</dfn></dt>
+ <dt><dfn id=webvtt-class-object title="WebVTT Class Object">WebVTT Class Objects</dfn></dt>
<dd>
- <p>These represent spans of text (a <a href=#websrt-cue-class-span>WebSRT cue class
- span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>, and are used to
- annotate parts of the cue with <a href="#websrt-node-object's-applicable-classes" title="WebSRT Node Object's
+ <p>These represent spans of text (a <a href=#webvtt-cue-class-span>WebVTT cue class
+ span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>, and are used to
+ annotate parts of the cue with <a href="#webvtt-node-object's-applicable-classes" title="WebVTT Node Object's
applicable classes">applicable classes</a> without implying
further meaning (such as italics or bold).</p>
</dd>
- <dt><dfn id=websrt-italic-object title="WebSRT Italic Object">WebSRT Italic Objects</dfn></dt>
+ <dt><dfn id=webvtt-italic-object title="WebVTT Italic Object">WebVTT Italic Objects</dfn></dt>
<dd>
- <p>These represent spans of italic text (a <a href=#websrt-cue-italics-span>WebSRT cue
- italics span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>.</p>
+ <p>These represent spans of italic text (a <a href=#webvtt-cue-italics-span>WebVTT cue
+ italics span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>.</p>
</dd>
- <dt><dfn id=websrt-bold-object title="WebSRT Bold Object">WebSRT Bold Objects</dfn></dt>
+ <dt><dfn id=webvtt-bold-object title="WebVTT Bold Object">WebVTT Bold Objects</dfn></dt>
<dd>
- <p>These represent spans of bold text (a <a href=#websrt-cue-bold-span>WebSRT cue
- bold span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>.</p>
+ <p>These represent spans of bold text (a <a href=#webvtt-cue-bold-span>WebVTT cue
+ bold span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>.</p>
</dd>
- <dt><dfn id=websrt-ruby-object title="WebSRT Ruby Object">WebSRT Ruby Objects</dfn></dt>
+ <dt><dfn id=webvtt-ruby-object title="WebVTT Ruby Object">WebVTT Ruby Objects</dfn></dt>
<dd>
- <p>These represent spans of ruby (a <a href=#websrt-cue-ruby-span>WebSRT cue
- ruby span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>.</p>
+ <p>These represent spans of ruby (a <a href=#webvtt-cue-ruby-span>WebVTT cue
+ ruby span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>.</p>
</dd>
- <dt><dfn id=websrt-ruby-text-object title="WebSRT Ruby Text Object">WebSRT Ruby Text Objects</dfn></dt>
+ <dt><dfn id=webvtt-ruby-text-object title="WebVTT Ruby Text Object">WebVTT Ruby Text Objects</dfn></dt>
<dd>
- <p>These represent spans of ruby text (a <a href=#websrt-cue-ruby-text-span>WebSRT cue ruby
- text span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>.</p>
+ <p>These represent spans of ruby text (a <a href=#webvtt-cue-ruby-text-span>WebVTT cue ruby
+ text span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>.</p>
</dd>
- <dt><dfn id=websrt-voice-object title="WebSRT Voice Object">WebSRT Voice Objects</dfn></dt>
+ <dt><dfn id=webvtt-voice-object title="WebVTT Voice Object">WebVTT Voice Objects</dfn></dt>
<dd>
<p>These represent spans of text associated with a specific voice
- (a <a href=#websrt-cue-voice-span>WebSRT cue voice span</a>) in <a href=#websrt-cue-text>WebSRT cue
- text</a>. A <a href=#websrt-voice-object>WebSRT Voice Object</a> has a value, which
+ (a <a href=#webvtt-cue-voice-span>WebVTT cue voice span</a>) in <a href=#webvtt-cue-text>WebVTT cue
+ text</a>. A <a href=#webvtt-voice-object>WebVTT Voice Object</a> has a value, which
is the name of the voice.</p>
</dd>
- </dl><p><dfn id=websrt-leaf-node-object title="WebSRT Leaf Node Object">WebSRT Leaf Node
+ </dl><p><dfn id=webvtt-leaf-node-object title="WebVTT Leaf Node Object">WebVTT Leaf Node
Objects</dfn> are those that contain data, such as text, and cannot
- contain child <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node
+ contain child <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node
Objects</a>.</p>
- <p>There are two concrete classes of <a href=#websrt-leaf-node-object title="WebSRT Leaf Node
- Object">WebSRT Leaf Node Objects</a>:</p>
+ <p>There are two concrete classes of <a href=#webvtt-leaf-node-object title="WebVTT Leaf Node
+ Object">WebVTT Leaf Node Objects</a>:</p>
- <dl><dt><dfn id=websrt-text-object title="WebSRT Text Object">WebSRT Text Objects</dfn></dt>
+ <dl><dt><dfn id=webvtt-text-object title="WebVTT Text Object">WebVTT Text Objects</dfn></dt>
<dd>
- <p>A fragment of text. A <a href=#websrt-text-object>WebSRT Text Object</a> has a
+ <p>A fragment of text. A <a href=#webvtt-text-object>WebVTT Text Object</a> has a
value, which is the text it represents.</p>
</dd>
- <dt><dfn id=websrt-timestamp-object title="WebSRT Timestamp Object">WebSRT Timestamp Objects</dfn></dt>
+ <dt><dfn id=webvtt-timestamp-object title="WebVTT Timestamp Object">WebVTT Timestamp Objects</dfn></dt>
<dd>
- <p>A timestamp. A <a href=#websrt-timestamp-object>WebSRT Timestamp Object</a> has a
+ <p>A timestamp. A <a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a> has a
value, in seconds and fractions of a second, which is the time
represented by the timestamp.</p>
</dd>
</dl><p>To parse a string <var title="">input</var> supposedly containing
- <a href=#websrt-cue-text>WebSRT cue text</a>, user agents must use the following
- algorithm. This algorithm returns a <a href=#list-of-websrt-node-objects>list of WebSRT Node
+ <a href=#webvtt-cue-text>WebVTT cue text</a>, user agents must use the following
+ algorithm. This algorithm returns a <a href=#list-of-webvtt-node-objects>list of WebVTT Node
Objects</a>.</p>
<ol><li><p>Let <var title="">input</var> be the string being
@@ -30165,10 +30165,10 @@
<li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the
string.</li>
- <li><p>Let <var title="">result</var> be a <a href=#list-of-websrt-node-objects>List of WebSRT
+ <li><p>Let <var title="">result</var> be a <a href=#list-of-webvtt-node-objects>List of WebVTT
Node Objects</a>, initially empty.</li>
- <li><p>Let <var title="">current</var> be the <a href=#websrt-internal-node-object>WebSRT Internal
+ <li><p>Let <var title="">current</var> be the <a href=#webvtt-internal-node-object>WebVTT Internal
Node Object</a> <var title="">result</var>.</li>
<li><p><i>Loop</i>: If <var title="">position</var> is past the end
@@ -30176,7 +30176,7 @@
abort these steps.</li>
<li><p>Let <var title="">token</var> be the result of invoking the
- <a href=#websrt-cue-text-tokeniser>WebSRT cue text tokeniser</a>.</li>
+ <a href=#webvtt-cue-text-tokeniser>WebVTT cue text tokeniser</a>.</li>
<li>
@@ -30185,10 +30185,10 @@
<dl><dt>If <var title="">token</var> is a string</dt>
<dd>
- <ol><li><p>Create a <a href=#websrt-text-object>WebSRT Text Object</a> whose value is
+ <ol><li><p>Create a <a href=#webvtt-text-object>WebVTT Text Object</a> whose value is
the value of the string token <var title="">token</var>.</li>
- <li><p>Append the newly created <a href=#websrt-text-object>WebSRT Text Object</a>
+ <li><p>Append the newly created <a href=#webvtt-text-object>WebVTT Text Object</a>
to <var title="">current</var>.</li>
</ol></dd>
@@ -30206,40 +30206,40 @@
<dt>If the tag name is "<code title="">c</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-class-object>WebSRT Class Object</a>.</p>
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-class-object>WebVTT Class Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">i</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-italic-object>WebSRT Italic Object</a>.</p>
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-italic-object>WebVTT Italic Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">b</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-bold-object>WebSRT Bold Object</a>.</p>
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-bold-object>WebVTT Bold Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">ruby</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-ruby-object>WebSRT Ruby Object</a>.</p>
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-ruby-object>WebVTT Ruby Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">rt</code>"</dt>
<dd>
- <p>If <var title="">current</var> is a <a href=#websrt-ruby-object>WebSRT Ruby
- Object</a>, then <a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">attach</a> a <a href=#websrt-ruby-text-object>WebSRT Ruby Text
+ <p>If <var title="">current</var> is a <a href=#webvtt-ruby-object>WebVTT Ruby
+ Object</a>, then <a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">attach</a> a <a href=#webvtt-ruby-text-object>WebVTT Ruby Text
Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">v</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-voice-object>WebSRT Voice Object</a>, and
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-voice-object>WebVTT Voice Object</a>, and
set its value to the token's annotation string.</p>
</dd>
@@ -30248,10 +30248,10 @@
<p>Ignore the token.</p>
</dd>
- </dl><p>When the steps above say to <dfn id=attach-a-websrt-internal-node-object>attach a WebSRT Internal
+ </dl><p>When the steps above say to <dfn id=attach-a-webvtt-internal-node-object>attach a WebVTT Internal
Node Object</dfn> of a particular class, the user agent must
first create an object of the specified class, then set its list
- of <a href="#websrt-node-object's-applicable-classes" title="WebSRT Node Object's applicable
+ of <a href="#webvtt-node-object's-applicable-classes" title="WebVTT Node Object's applicable
classes">applicable classes</a> to the list of classes in the
token, append the newly created node object to <var title="">current</var>, and finally let <var title="">current</var> be the newly created node object.</p>
@@ -30264,29 +30264,29 @@
<ul class=brief><li>The tag name of the end tag token <var title="">token</var>
is "<code title="">c</code>" and <var title="">current</var> is
- a <a href=#websrt-class-object>WebSRT Class Object</a>.</li>
+ a <a href=#webvtt-class-object>WebVTT Class Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">i</code>" and <var title="">current</var> is
- a <a href=#websrt-italic-object>WebSRT Italic Object</a>.</li>
+ a <a href=#webvtt-italic-object>WebVTT Italic Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">b</code>" and <var title="">current</var> is
- a <a href=#websrt-bold-object>WebSRT Bold Object</a>.</li>
+ a <a href=#webvtt-bold-object>WebVTT Bold Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">ruby</code>" and <var title="">current</var> is
- a <a href=#websrt-ruby-object>WebSRT Ruby Object</a>.</li>
+ a <a href=#webvtt-ruby-object>WebVTT Ruby Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">rt</code>" and <var title="">current</var> is
- a <a href=#websrt-ruby-text-object>WebSRT Ruby Text Object</a>.</li>
+ a <a href=#webvtt-ruby-text-object>WebVTT Ruby Text Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">v</code>" and <var title="">current</var> is
- a <a href=#websrt-voice-object>WebSRT Voice Object</a>.</li>
+ a <a href=#webvtt-voice-object>WebVTT Voice Object</a>.</li>
- </ul><p>Otherwise, if the tag name of the end tag token <var title="">token</var> is "<code title="">ruby</code>" and <var title="">current</var> is a <a href=#websrt-ruby-text-object>WebSRT Ruby Text
+ </ul><p>Otherwise, if the tag name of the end tag token <var title="">token</var> is "<code title="">ruby</code>" and <var title="">current</var> is a <a href=#webvtt-ruby-text-object>WebVTT Ruby Text
Object</a>, then let <var title="">current</var> be the
parent node of <var title="">current</var> of the parent node of
<var title="">current</var>.</p>
@@ -30304,12 +30304,12 @@
<var title="">input</var>, initially pointing at the start of
the string.</li>
- <li><p><a href=#collect-a-websrt-timestamp>Collect a WebSRT timestamp</a>.</li>
+ <li><p><a href=#collect-a-webvtt-timestamp>Collect a WebVTT timestamp</a>.</li>
<li>
<p>If that algorithm does not fail, and if <var title="">position</var> now points at the end of <var title="">input</var> (i.e. there are no trailing characters
- after the timestamp), then create a <a href=#websrt-timestamp-object>WebSRT Timestamp
+ after the timestamp), then create a <a href=#webvtt-timestamp-object>WebVTT Timestamp
Object</a> whose value is the collected time, then append
it to <var title="">current</var>.</p>
@@ -30323,7 +30323,7 @@
<li><p>Jump to the step labeled <i>loop</i>.</li>
- </ol><p>The <dfn id=websrt-cue-text-tokeniser>WebSRT cue text tokeniser</dfn> is as follows. It emits
+ </ol><p>The <dfn id=webvtt-cue-text-tokeniser>WebVTT cue text tokeniser</dfn> is as follows. It emits
a token, which is either a string (whose value is a sequence of
Unicode characters), a start tag (with a tag name, a list of
classes, and optionally an annotation), an end tag (with a tag
@@ -30332,7 +30332,7 @@
<ol><li><p>Let <var title="">input</var> and <var title="">position</var> be the same variables as those of the same
name in the algorithm that invoked these steps.</li>
- <li><p>Let <var title="">tokeniser state</var> be <a href=#websrt-data-state>WebSRT data
+ <li><p>Let <var title="">tokeniser state</var> be <a href=#webvtt-data-state>WebVTT data
state</a>.</li>
<li><p>Let <var title="">result</var> be the empty string.</li>
@@ -30351,7 +30351,7 @@
<p>Jump to the state given by <var title="">tokeniser
state</var>:</p>
- <dl><dt><dfn id=websrt-data-state>WebSRT data state</dfn></dt>
+ <dl><dt><dfn id=webvtt-data-state>WebVTT data state</dfn></dt>
<dd>
@@ -30360,7 +30360,7 @@
<dl><dt>U+0026 AMPERSAND (&)</dt>
<dd>
<p>Set <var title="">buffer</var> to <var title="">c</var>,
- set <var title="">tokeniser state</var> to the <a href=#websrt-escape-state>WebSRT
+ set <var title="">tokeniser state</var> to the <a href=#webvtt-escape-state>WebVTT
escape state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30368,7 +30368,7 @@
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd>
<p>If <var title="">result</var> is the empty string, then set
- <var title="">tokeniser state</var> to the <a href=#websrt-tag-state>WebSRT tag
+ <var title="">tokeniser state</var> to the <a href=#webvtt-tag-state>WebVTT tag
state</a> and jump to the step labeled <i>next</i>.</p>
<p>Otherwise, return a string token whose value is <var title="">result</var> and abort these steps.</p>
</dd>
@@ -30386,7 +30386,7 @@
</dl></dd>
- <dt><dfn id=websrt-escape-state>WebSRT escape state</dfn></dt>
+ <dt><dfn id=webvtt-escape-state>WebVTT escape state</dfn></dt>
<dd>
@@ -30410,7 +30410,7 @@
U+003B SEMICOLON character (;) to <var title="">result</var>.</p>
<p>Then, in any case, set <var title="">tokeniser state</var>
- to the <a href=#websrt-data-state>WebSRT data state</a>, and jump to the step
+ to the <a href=#webvtt-data-state>WebVTT data state</a>, and jump to the step
labeled <i>next</i>.</p>
</dd>
@@ -30432,13 +30432,13 @@
<dt>Anything else</dt>
<dd>
<p>Append <var title="">buffer</var> to <var title="">result</var>, set <var title="">tokeniser state</var>
- to the <a href=#websrt-data-state>WebSRT data state</a>, and jump to the step
+ to the <a href=#webvtt-data-state>WebVTT data state</a>, and jump to the step
labeled <i>next</i>.</p>
</dd>
</dl></dd>
- <dt><dfn id=websrt-tag-state>WebSRT tag state</dfn></dt>
+ <dt><dfn id=webvtt-tag-state>WebVTT tag state</dfn></dt>
<dd>
@@ -30448,7 +30448,7 @@
<dt>U+0009 CHARACTER TABULATION (tab) character</dt>
<dd>
<!-- assert: >result< is the empty string -->
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-annotation-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
start tag annotation state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30456,14 +30456,14 @@
<dt>U+002E FULL STOP character (.)</dt>
<dd>
<!-- assert: >result< is the empty string -->
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-class-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-class-state>WebVTT
start tag class state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
<dt>U+002F SOLIDUS character (/)</dt>
<dd>
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-end-tag-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-end-tag-state>WebVTT
end tag state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30471,7 +30471,7 @@
<dt>Characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)</dt>
<dd>
<p>Set <var title="">result</var> to <var title="">c</var>,
- set <var title="">tokeniser state</var> to the <a href=#websrt-timestamp-tag-state>WebSRT
+ set <var title="">tokeniser state</var> to the <a href=#webvtt-timestamp-tag-state>WebVTT
timestamp tag state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30486,14 +30486,14 @@
<dt>Anything else</dt>
<dd>
<p>Set <var title="">result</var> to <var title="">c</var>,
- set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-state>WebSRT
+ set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-state>WebVTT
start tag state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
</dl></dd>
- <dt><dfn id=websrt-start-tag-state>WebSRT start tag state</dfn></dt>
+ <dt><dfn id=webvtt-start-tag-state>WebVTT start tag state</dfn></dt>
<dd>
@@ -30502,14 +30502,14 @@
<dl><dt>U+0020 SPACE character</dt>
<dt>U+0009 CHARACTER TABULATION (tab) character</dt>
<dd>
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-annotation-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
start tag annotation state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
<dt>U+002E FULL STOP character (.)</dt>
<dd>
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-class-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-class-state>WebVTT
start tag class state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30529,7 +30529,7 @@
</dl></dd>
- <dt><dfn id=websrt-start-tag-class-state>WebSRT start tag class state</dfn></dt>
+ <dt><dfn id=webvtt-start-tag-class-state>WebVTT start tag class state</dfn></dt>
<dd>
@@ -30541,7 +30541,7 @@
<p>Append to <var title="">classes</var> an entry whose value
is <var title="">buffer</var>, set <var title="">buffer</var>
to the empty string, set <var title="">tokeniser state</var>
- to the <a href=#websrt-start-tag-annotation-state>WebSRT start tag annotation state</a>, and
+ to the <a href=#webvtt-start-tag-annotation-state>WebVTT start tag annotation state</a>, and
jump to the step labeled <i>next</i>.</p>
</dd>
@@ -30571,7 +30571,7 @@
</dl></dd>
- <dt><dfn id=websrt-start-tag-annotation-state>WebSRT start tag annotation state</dfn></dt>
+ <dt><dfn id=webvtt-start-tag-annotation-state>WebVTT start tag annotation state</dfn></dt>
<dd>
@@ -30597,7 +30597,7 @@
</dl></dd>
- <dt><dfn id=websrt-end-tag-state>WebSRT end tag state</dfn></dt>
+ <dt><dfn id=webvtt-end-tag-state>WebVTT end tag state</dfn></dt>
<dd>
@@ -30617,7 +30617,7 @@
</dl></dd>
- <dt><dfn id=websrt-timestamp-tag-state>WebSRT timestamp tag state</dfn></dt>
+ <dt><dfn id=webvtt-timestamp-tag-state>WebVTT timestamp tag state</dfn></dt>
<dd>
@@ -30644,40 +30644,40 @@
<li><p>Jump to the step labeled <i>loop</i>.</li>
- </ol><h6 id=websrt-cue-text-dom-construction-rules><span class=secno>4.8.10.11.4 </span><dfn>WebSRT cue text DOM construction rules</dfn></h6>
+ </ol><h6 id=webvtt-cue-text-dom-construction-rules><span class=secno>4.8.10.11.4 </span><dfn>WebVTT cue text DOM construction rules</dfn></h6>
- <p>To convert a <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a> to a DOM
+ <p>To convert a <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a> to a DOM
tree for <code><a href=#document>Document</a></code> <var title="">owner</var>, user
agents must create a tree of DOM nodes that is isomorphous to the
- tree of <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a>,
- with the following mapping of <a href=#websrt-node-object title="WebSRT Node
- Object">WebSRT Node Objects</a> to DOM nodes:</p>
+ tree of <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a>,
+ with the following mapping of <a href=#webvtt-node-object title="WebVTT Node
+ Object">WebVTT Node Objects</a> to DOM nodes:</p>
- <table><thead><tr><th><a href=#websrt-node-object>WebSRT Node Object</a>
+ <table><thead><tr><th><a href=#webvtt-node-object>WebVTT Node Object</a>
<th>DOM node
- <tbody><tr><td><a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>
+ <tbody><tr><td><a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>
<td><code><a href=#documentfragment>DocumentFragment</a></code> node
- <tr><td><a href=#websrt-class-object>WebSRT Class Object</a>
+ <tr><td><a href=#webvtt-class-object>WebVTT Class Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-span-element>span</a></code>".
- <tr><td><a href=#websrt-italic-object>WebSRT Italic Object</a>
+ <tr><td><a href=#webvtt-italic-object>WebVTT Italic Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-i-element>i</a></code>".
- <tr><td><a href=#websrt-bold-object>WebSRT Bold Object</a>
+ <tr><td><a href=#webvtt-bold-object>WebVTT Bold Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-b-element>b</a></code>".
- <tr><td><a href=#websrt-ruby-object>WebSRT Ruby Object</a>
+ <tr><td><a href=#webvtt-ruby-object>WebVTT Ruby Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-ruby-element>ruby</a></code>".
- <tr><td><a href=#websrt-ruby-text-object>WebSRT Ruby Text Object</a>
+ <tr><td><a href=#webvtt-ruby-text-object>WebVTT Ruby Text Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-rt-element>rt</a></code>".
- <tr><td><a href=#websrt-voice-object>WebSRT Voice Object</a>
- <td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-q-element>q</a></code>", a <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute set to the <a href=#websrt-voice-object>WebSRT Voice Object</a>'s value.
- <tr><td><a href=#websrt-text-object>WebSRT Text Object</a>
- <td><code><a href=#text>Text</a></code> node whose character data is the value of the <a href=#websrt-text-object>WebSRT Text Object</a>.
- <tr><td><a href=#websrt-timestamp-object>WebSRT Timestamp Object</a>
- <td><code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose <code title=dom-ProcessingInstruction-target>target</code> is "<code title="">timestamp</code>" and whose <code title=dom-ProcessingInstruction-data>data</code> is a <a href=#websrt-timestamp>WebSRT timestamp</a> representing the value of the <a href=#websrt-timestamp-object>WebSRT Timestamp Object</a>, with all optional components included and with the seconds separator being a U+002E FULL STOP character (.).
+ <tr><td><a href=#webvtt-voice-object>WebVTT Voice Object</a>
+ <td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-q-element>q</a></code>", a <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute set to the <a href=#webvtt-voice-object>WebVTT Voice Object</a>'s value.
+ <tr><td><a href=#webvtt-text-object>WebVTT Text Object</a>
+ <td><code><a href=#text>Text</a></code> node whose character data is the value of the <a href=#webvtt-text-object>WebVTT Text Object</a>.
+ <tr><td><a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a>
+ <td><code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose <code title=dom-ProcessingInstruction-target>target</code> is "<code title="">timestamp</code>" and whose <code title=dom-ProcessingInstruction-data>data</code> is a <a href=#webvtt-timestamp>WebVTT timestamp</a> representing the value of the <a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a>, with all optional components included and with the seconds separator being a U+002E FULL STOP character (.).
</table><p><code><a href=#htmlelement>HTMLElement</a></code> nodes created as part of the mapping
described above must have their <code title=dom-Node-namespaceURI><a href=#dom-node-namespaceuri>namespaceURI</a></code> set to the
<a href=#html-namespace-0>HTML namespace</a>, and must have a <code title=attr-class><a href=#classes>class</a></code> attribute set to the string obtained
by concatenating all the classes that apply to the corresponding
- <a href=#websrt-internal-node-object>WebSRT Internal Node Object</a>, each separated from the
+ <a href=#webvtt-internal-node-object>WebVTT Internal Node Object</a>, each separated from the
next by a single U+0020 SPACE character.</p>
<p>The <code title=dom-Node-ownerDocument><a href=#dom-node-ownerdocument>ownerDocument</a></code>
@@ -85347,8 +85347,8 @@
<!--KEEP-END w3c-html--><!--TT-->
<p>Any subtitles or captions are expected to be overlayed directly
on top of their <code><a href=#video>video</a></code> element, as defined by the
- relevant rendering rules; for <a href=#websrt>WebSRT</a>, those are the
- <a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering rules</a> defined below.</p>
+ relevant rendering rules; for <a href=#webvtt>WebVTT</a>, those are the
+ <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text rendering rules</a> defined below.</p>
<p>When the user agent starts <a href=#expose-a-user-interface-to-the-user title="expose a user interface
to the user">exposing a user interface</a> for a
@@ -85356,8 +85356,8 @@
for updating the timed track rendering</a> of each of the <a href=#timed-track title="timed track">timed tracks</a> in the <code><a href=#video>video</a></code>
element's <a href=#list-of-timed-tracks>list of timed tracks</a> that are <a href=#timed-track-showing title="timed track showing">showing</a> or <a href=#timed-track-showing-by-default title="timed
track showing by default">showing by default</a> (e.g., for <a href=#timed-track title="timed track">timed tracks</a> based on
- <a href=#websrt>WebSRT</a>, the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of
- WebSRT timed tracks</a>).</p>
+ <a href=#webvtt>WebVTT</a>, the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of
+ WebVTT timed tracks</a>).</p>
<!--KEEP-START w3c-html--><!--TT-->
<p class=note>Resizing <code><a href=#video>video</a></code> and <code><a href=#the-canvas-element>canvas</a></code>
@@ -85382,9 +85382,9 @@
module once an editor is found to run with it.</p>
- <h5 id=websrt-cue-text-rendering-rules><span class=secno>14.3.2.1 </span><dfn>WebSRT cue text rendering rules</dfn></h5>
+ <h5 id=webvtt-cue-text-rendering-rules><span class=secno>14.3.2.1 </span><dfn>WebVTT cue text rendering rules</dfn></h5>
- <p>The <dfn id=rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of WebSRT timed
+ <p>The <dfn id=rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of WebVTT timed
tracks</dfn> render the <a href=#timed-track title="timed track">timed
tracks</a> of a <a href=#media-element>media element</a> (specifically, a
<code><a href=#video>video</a></code> element), or of another playback mechanism, by
@@ -85422,7 +85422,7 @@
<li><p>Let <var title="">tracks</var> be the subset of <var title="">video</var>'s <a href=#list-of-timed-tracks>list of timed tracks</a> that have
as their <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track rendering</a>
- these <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of WebSRT timed
+ these <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of WebVTT timed
tracks</a>, and whose <a href=#timed-track-mode>timed track mode</a> is <a href=#timed-track-showing title="timed track showing">showing</a> or <a href=#timed-track-showing-by-default title="timed
track showing by default">showing by default</a>.</li>
@@ -85445,8 +85445,8 @@
boxes added to <var title="">output</var>, in <a href=#timed-track-cue-order>timed track
cue order</a>, run the following substeps:</p>
- <ol><li><p>Let <var title="">nodes</var> be the <a href=#list-of-websrt-node-objects>list of WebSRT
- Node Objects</a> obtained by applying the <a href=#websrt-cue-text-parsing-rules>WebSRT cue
+ <ol><li><p>Let <var title="">nodes</var> be the <a href=#list-of-webvtt-node-objects>list of WebVTT
+ Node Objects</a> obtained by applying the <a href=#webvtt-cue-text-parsing-rules>WebVTT cue
text parsing rules</a> to the <var title="">cue</var>'s
<a href=#timed-track-cue-text>timed track cue text</a>.</p>
@@ -85460,8 +85460,8 @@
<ul><li><var title="">nodes</var> represents a single paragraph.</li>
<li>The paragraph's text consists of the concatenation of the
- values of each <a href=#websrt-text-object>WebSRT Text Object</a> in <var title="">nodes</var>, in a pre-order, depth-first traversal,
- excluding <a href=#websrt-ruby-text-object title="WebSRT Ruby Text Object">WebSRT Ruby
+ values of each <a href=#webvtt-text-object>WebVTT Text Object</a> in <var title="">nodes</var>, in a pre-order, depth-first traversal,
+ excluding <a href=#webvtt-ruby-text-object title="WebVTT Ruby Text Object">WebVTT Ruby
Text Objects</a> and their descendants.</li>
</ul></li>
@@ -85681,16 +85681,16 @@
obtaining a set of CSS boxes positioned relative to an initial
containing block: <a href=#refsCSS>[CSS]</a></p>
- <ul><li><p>The <i>document tree</i> is the tree of <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a> rooted at
+ <ul><li><p>The <i>document tree</i> is the tree of <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a> rooted at
<var title="">nodes</var>.</li>
<li><p>For the purposes of processing by the CSS specification,
- <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
+ <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</a> are equivalent to elements with the same
contents.</li>
<li>For the purposes of processing by the CSS
- specification, <a href=#websrt-text-object title="WebSRT Text Object">WebSRT Text
+ specification, <a href=#webvtt-text-object title="WebVTT Text Object">WebVTT Text
Objects</a> are equivalent to text nodes.</li>
<li>No style sheets are associated with <var title="">nodes</var>. (The nodes are subsequently restyled
@@ -85699,16 +85699,16 @@
<li>The children of the <var title="">nodes</var> must be
wrapped in an anonymous box whose 'display' property has the
- value 'inline'. This is the <dfn id=websrt-cue-background-box>WebSRT cue background
+ value 'inline'. This is the <dfn id=webvtt-cue-background-box>WebVTT cue background
box</dfn>.</li>
- <li>Runs of children of <a href=#websrt-ruby-object title="WebSRT Ruby Object">WebSRT
- Ruby Objects</a> that are not <a href=#websrt-ruby-text-object title="WebSRT Ruby Text
- Object">WebSRT Ruby Text Objects</a> must be wrapped in
+ <li>Runs of children of <a href=#webvtt-ruby-object title="WebVTT Ruby Object">WebVTT
+ Ruby Objects</a> that are not <a href=#webvtt-ruby-text-object title="WebVTT Ruby Text
+ Object">WebVTT Ruby Text Objects</a> must be wrapped in
anonymous boxes whose 'display' property has the value
'ruby-base'. <a href=#refsCSSRUBY>[CSSRUBY]</a></li>
- <li>Properties on <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node
+ <li>Properties on <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node
Objects</a> have their values set as defined in the next
section. (That section uses some of the variables whose values
were calculated earlier in this algorithm.)</li>
@@ -85951,13 +85951,13 @@
<li><p>Return <var title="">output</var>.</li>
- </ol><h5 id=applying-css-properties-to-websrt-node-objects><span class=secno>14.3.2.2 </span>Applying CSS properties to <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a></h5>
+ </ol><h5 id=applying-css-properties-to-webvtt-node-objects><span class=secno>14.3.2.2 </span>Applying CSS properties to <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a></h5>
- <p>When following the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of WebSRT
- timed tracks</a>, user agents must set properties of <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a> as defined in
+ <p>When following the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of WebVTT
+ timed tracks</a>, user agents must set properties of <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a> as defined in
this section. <a href=#refsCSS>[CSS]</a></p>
- <p>On the (root) <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>, the
+ <p>On the (root) <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>, the
'position' property must be set to 'absolute', the 'direction'
property must be set to <var title="">direction</var>, the
'block-flow' property must be set to <var title="">block-flow</var>,
@@ -85965,34 +85965,34 @@
'left' property must be set to <var title="">left</var>, the 'width'
property must be set to <var title="">width</var>, and the 'height'
property must be set to <var title="">height</var>, where <var title="">direction</var>, <var title="">block-flow</var>, <var title="">top</var>, <var title="">left</var>, <var title="">width</var>, and <var title="">height</var> are the values
- with those names determined by the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the
- display of WebSRT timed tracks</a> for the <a href=#timed-track-cue>timed track
+ with those names determined by the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the
+ display of WebVTT timed tracks</a> for the <a href=#timed-track-cue>timed track
cue</a> from whose <a href=#timed-track-cue-text title="timed track cue text">text</a>
- the <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a> was constructed.</p>
+ the <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a> was constructed.</p>
- <p>The 'font' shorthand property on the (root) <a href=#list-of-websrt-node-objects>List of WebSRT
+ <p>The 'font' shorthand property on the (root) <a href=#list-of-webvtt-node-objects>List of WebVTT
Node Objects</a> must be set to '0.1vh sans-serif'. <a href=#refsCSSRUBY>[CSSRUBY]</a> <a href=#refsCSSVALUES>[CSSVALUES]</a></p>
- <p>The 'color' property on the (root) <a href=#list-of-websrt-node-objects>List of WebSRT Node
+ <p>The 'color' property on the (root) <a href=#list-of-webvtt-node-objects>List of WebVTT Node
Objects</a> must be set to 'rgba(255,255,255,0)'. <a href=#refsCSSCOLOR>[CSSCOLOR]</a></p>
- <p>The 'background' shorthand property on the <a href=#websrt-cue-background-box>WebSRT cue
+ <p>The 'background' shorthand property on the <a href=#webvtt-cue-background-box>WebVTT cue
background box</a> must be set to 'rgba(0,0,0,0.8)'. <a href=#refsCSSCOLOR>[CSSCOLOR]</a></p>
- <p>A text outline or stroke may also be set on the (root) <a href=#list-of-websrt-node-objects>List
- of WebSRT Node Objects</a>, if supported.</p> <!-- 'text-outline'
+ <p>A text outline or stroke may also be set on the (root) <a href=#list-of-webvtt-node-objects>List
+ of WebVTT Node Objects</a>, if supported.</p> <!-- 'text-outline'
is in CSS3 Text, but Tab says that's awaiting medical attention. -->
- <p>The 'font-style' property on <a href=#websrt-italic-object title="WebSRT Italic
- Object">WebSRT Italic Objects</a> must be set to 'italic'.</p>
- <p>The 'font-weight' property on <a href=#websrt-bold-object title="WebSRT Bold
- Object">WebSRT Bold Objects</a> must be set to 'bold'.</p>
+ <p>The 'font-style' property on <a href=#webvtt-italic-object title="WebVTT Italic
+ Object">WebVTT Italic Objects</a> must be set to 'italic'.</p>
+ <p>The 'font-weight' property on <a href=#webvtt-bold-object title="WebVTT Bold
+ Object">WebVTT Bold Objects</a> must be set to 'bold'.</p>
- <p>The 'display' property on <a href=#websrt-ruby-object title="WebSRT Ruby Object">WebSRT
+ <p>The 'display' property on <a href=#webvtt-ruby-object title="WebVTT Ruby Object">WebVTT
Ruby Objects</a> must be set to 'ruby'. <a href=#refsCSSRUBY>[CSSRUBY]</a></p>
- <p>The 'display' property on <a href=#websrt-ruby-text-object title="WebSRT Ruby Text
- Object">WebSRT Ruby Text Objects</a> must be set to
+ <p>The 'display' property on <a href=#webvtt-ruby-text-object title="WebVTT Ruby Text
+ Object">WebVTT Ruby Text Objects</a> must be set to
'ruby-text'. <a href=#refsCSSRUBY>[CSSRUBY]</a></p>
<p>If there are style sheets that apply to the <a href=#media-element>media
@@ -86000,27 +86000,27 @@
interpreted as defined in the next section.</p>
<p>All other non-inherited properties must be set to their initial
- values; inherited properties on the root <a href=#list-of-websrt-node-objects>List of WebSRT Node
+ values; inherited properties on the root <a href=#list-of-webvtt-node-objects>List of WebVTT Node
Objects</a> must inherit their values from the <a href=#media-element>media
element</a> for which the <a href=#timed-track-cue>timed track cue</a> is being
rendered, if any. If there is no <a href=#media-element>media element</a> (i.e. if
the <a href=#timed-track>timed track</a> is being rendered for another media
playback mechanism), then inherited properties on the root
- <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a> must take their initial
+ <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a> must take their initial
values.</p>
<h5 id=css-extensions><span class=secno>14.3.2.3 </span>CSS extensions</h5>
<p>When a user agent is rendering one or more <a href=#timed-track-cue title="timed
- track cue">timed track cues</a> according to the <a href=#websrt-cue-text-rendering-rules>WebSRT cue
- text rendering rules</a>, <a href=#websrt-node-object title="WebSRT Node Object">WebSRT
- Node Objects</a> in the <a href=#list-of-websrt-node-objects>list of WebSRT Node Objects</a>
+ track cue">timed track cues</a> according to the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue
+ text rendering rules</a>, <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT
+ Node Objects</a> in the <a href=#list-of-webvtt-node-objects>list of WebVTT Node Objects</a>
used in the rendering can be matched by certain pseudo-selectors as
defined below. These selectors can begin or stop matching individual
- <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a> while a
+ <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a> while a
<a href=#timed-track-cue title="timed track cue">cue</a> is being rendered, even in
- between applications of the <a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering
+ between applications of the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text rendering
rules</a> (which are only run when the set of active cues
changes). User agents that support the pseudo-element described
below must dynamically update renderings accordingly.</p>
@@ -86045,11 +86045,11 @@
<h6 id="the-'::cue'-pseudo-element"><span class=secno>14.3.2.3.1 </span>The '::cue' pseudo-element</h6>
<p>The '<dfn id=pseudo-cue title=pseudo-cue>::cue</dfn>' pseudo-element (with no
- argument) matches any <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>
+ argument) matches any <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>
constructed for the <i>matched element</i>, with the exception that
the properties corresponding to the 'background' shorthand must be
- applied to the <a href=#websrt-cue-background-box>WebSRT cue background box</a> rather than
- the <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>.</p>
+ applied to the <a href=#webvtt-cue-background-box>WebVTT cue background box</a> rather than
+ the <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>.</p>
<p>The following properties apply to the '::cue' pseudo-element with
no argument; other properties set on the pseudo-element must be
@@ -86071,24 +86071,24 @@
-->
</ul><p>The '<dfn id=pseudo-cue-selector title=pseudo-cue-selector>::cue(<var title="">selector</var>)</dfn>' pseudo-element with an argument must
have an argument that consists of a group of selectors. It matches
- any <a href=#websrt-internal-node-object>WebSRT Internal Node Object</a> constructed for the
+ any <a href=#webvtt-internal-node-object>WebVTT Internal Node Object</a> constructed for the
<i>matched element</i> that also matches the given group of
selectors, with the nodes being treated as follows:</p>
<ul><li><p>The <i>document tree</i> against which the selectors are
- matched is the tree of <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node
- Objects</a> rooted at the <a href=#list-of-websrt-node-objects>list of WebSRT Node
+ matched is the tree of <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node
+ Objects</a> rooted at the <a href=#list-of-webvtt-node-objects>list of WebVTT Node
Objects</a> for the cue.</li>
- <li><p><a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal
+ <li><p><a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal
Node Objects</a> are elements in the tree.</li>
- <li><a href=#websrt-leaf-node-object title="WebSRT Leaf Node Object">WebSRT Leaf Node
+ <li><a href=#webvtt-leaf-node-object title="WebVTT Leaf Node Object">WebVTT Leaf Node
Objects</a> cannot be matched.</li>
<li>
- <p>For the purposes of element type selectors, the names of <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
+ <p>For the purposes of element type selectors, the names of <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</a> are as given by the following table, where objects
having the concrete class given in a cell in the first column have
the name given by the second column of the same row:</p>
@@ -86096,42 +86096,42 @@
<table><thead><tr><th>Concrete class
<th>Name
- <tbody><tr><td><a href=#websrt-class-object title="WebSRT Class Object">WebSRT Class Objects</a>
+ <tbody><tr><td><a href=#webvtt-class-object title="WebVTT Class Object">WebVTT Class Objects</a>
<td><code title="">c</code>
- <tr><td><a href=#websrt-italic-object title="WebSRT Italic Object">WebSRT Italic Objects</a>
+ <tr><td><a href=#webvtt-italic-object title="WebVTT Italic Object">WebVTT Italic Objects</a>
<td><code title="">i</code>
- <tr><td><a href=#websrt-bold-object title="WebSRT Bold Object">WebSRT Bold Objects</a>
+ <tr><td><a href=#webvtt-bold-object title="WebVTT Bold Object">WebVTT Bold Objects</a>
<td><code title="">b</code>
- <tr><td><a href=#websrt-ruby-object title="WebSRT Ruby Object">WebSRT Ruby Objects</a>
+ <tr><td><a href=#webvtt-ruby-object title="WebVTT Ruby Object">WebVTT Ruby Objects</a>
<td><code title="">ruby</code>
- <tr><td><a href=#websrt-ruby-text-object title="WebSRT Ruby Text Object">WebSRT Ruby Text Objects</a>
+ <tr><td><a href=#webvtt-ruby-text-object title="WebVTT Ruby Text Object">WebVTT Ruby Text Objects</a>
<td><code title="">rt</code>
- <tr><td><a href=#websrt-voice-object title="WebSRT Voice Object">WebSRT Voice Objects</a>
+ <tr><td><a href=#webvtt-voice-object title="WebVTT Voice Object">WebVTT Voice Objects</a>
<td><code title="">v</code>
- <tr><td>Other elements (specifically, <a href=#list-of-websrt-node-objects title="List of WebSRT Node Objects">Lists of WebSRT Node Objects</a>)
+ <tr><td>Other elements (specifically, <a href=#list-of-webvtt-node-objects title="List of WebVTT Node Objects">Lists of WebVTT Node Objects</a>)
<td>No explicit name.
</table></li>
<li><p>For the purposes of element type and universal selectors,
- <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
+ <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</a> are considered as being in the namespace expressed
as the empty string.</li>
- <li><p>For the purposes of attribute selector matching, <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
- Objects</a> have no attributes, except for <a href=#websrt-voice-object title="WebSRT Voice Object">WebSRT Voice Objects</a>, which
+ <li><p>For the purposes of attribute selector matching, <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
+ Objects</a> have no attributes, except for <a href=#webvtt-voice-object title="WebVTT Voice Object">WebVTT Voice Objects</a>, which
have a single attribute named "<code title="">voice</code>"
- whose value is the value of the <a href=#websrt-voice-object>WebSRT Voice
+ whose value is the value of the <a href=#webvtt-voice-object>WebVTT Voice
Object</a>.</li>
- <li><p>For the purposes of class selector matching, <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
- Objects</a> have the classes described as the <a href="#websrt-node-object's-applicable-classes">WebSRT
+ <li><p>For the purposes of class selector matching, <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
+ Objects</a> have the classes described as the <a href="#webvtt-node-object's-applicable-classes">WebVTT
Node Object's applicable classes</a>.</li> <!-- ok, this
isn't especially well-defined, but the Selectors spec doesn't
really give one much to go on here. -->
@@ -86170,36 +86170,36 @@
<p>As a special exception, the properties corresponding to the
'background' shorthand, when they would have been applied to the
- <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>, must instead be applied to
- the <a href=#websrt-cue-background-box>WebSRT cue background box</a>.</p>
+ <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>, must instead be applied to
+ the <a href=#webvtt-cue-background-box>WebVTT cue background box</a>.</p>
<h6 id="the-':past'-and-':future'-pseudo-classes"><span class=secno>14.3.2.3.2 </span>The ':past' and ':future' pseudo-classes</h6>
<p>The <dfn id=past-pseudo-class title=past-pseudo-class>':past'</dfn> and <dfn id=future-pseudo-class title=future-pseudo-class>':future'</dfn> pseudo-classes only
- match <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a>.</p>
+ match <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a>.</p>
- <p>The ':past' pseudo-class only matches <a href=#websrt-node-object title="WebSRT Node
- Object">WebSRT Node Objects</a> that are <i><a href=#in-the-past>in the past</a></i>.</p>
+ <p>The ':past' pseudo-class only matches <a href=#webvtt-node-object title="WebVTT Node
+ Object">WebVTT Node Objects</a> that are <i><a href=#in-the-past>in the past</a></i>.</p>
- <p>A <a href=#websrt-node-object>WebSRT Node Object</a> <var title="">c</var> is
+ <p>A <a href=#webvtt-node-object>WebVTT Node Object</a> <var title="">c</var> is
<dfn id=in-the-past>in the past</dfn> if, in a pre-order, depth-first traversal of
- the <a href=#timed-track-cue>timed track cue</a>'s <a href=#list-of-websrt-node-objects>List of WebSRT Node
- Objects</a>, there exists a <a href=#websrt-timestamp-object>WebSRT Timestamp Object</a>
+ the <a href=#timed-track-cue>timed track cue</a>'s <a href=#list-of-webvtt-node-objects>List of WebVTT Node
+ Objects</a>, there exists a <a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a>
whose value is less than the <a href=#current-playback-position>current playback position</a>
of the <a href=#media-element>media element</a> that is the <i>matched
- element</i>, entirely after the <a href=#websrt-node-object>WebSRT Node Object</a> <var title="">c</var>.</p>
+ element</i>, entirely after the <a href=#webvtt-node-object>WebVTT Node Object</a> <var title="">c</var>.</p>
- <p>The ':future' pseudo-class only matches <a href=#websrt-node-object title="WebSRT Node
- Object">WebSRT Node Objects</a> that are <i><a href=#in-the-future>in the future</a></i>.</p>
+ <p>The ':future' pseudo-class only matches <a href=#webvtt-node-object title="WebVTT Node
+ Object">WebVTT Node Objects</a> that are <i><a href=#in-the-future>in the future</a></i>.</p>
- <p>A <a href=#websrt-node-object>WebSRT Node Object</a> <var title="">c</var> is
+ <p>A <a href=#webvtt-node-object>WebVTT Node Object</a> <var title="">c</var> is
<dfn id=in-the-future>in the future</dfn> if, in a pre-order, depth-first traversal
- of the <a href=#timed-track-cue>timed track cue</a>'s <a href=#list-of-websrt-node-objects>List of WebSRT Node
- Objects</a>, there exists a <a href=#websrt-timestamp-object>WebSRT Timestamp Object</a>
+ of the <a href=#timed-track-cue>timed track cue</a>'s <a href=#list-of-webvtt-node-objects>List of WebVTT Node
+ Objects</a>, there exists a <a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a>
whose value is greater than the <a href=#current-playback-position>current playback
position</a> of the <a href=#media-element>media element</a> that is the
- <i>matched element</i>, entirely before the <a href=#websrt-node-object>WebSRT Node
+ <i>matched element</i>, entirely before the <a href=#webvtt-node-object>WebVTT Node
Object</a> <var title="">c</var>.</p>
</div>
@@ -89536,7 +89536,7 @@
<!--TT-->
<div data-component="other Hixie drafts (editor: Ian Hickson)">
- <h3 id=text/srt><span class=secno>16.6 </span><dfn><code>text/srt</code></dfn></h3>
+ <h3 id=text/vtt><span class=secno>16.6 </span><dfn><code>text/vtt</code></dfn></h3>
<p>This registration is for community review and will be submitted
to the IESG for review, approval, and registration with IANA.</p>
@@ -89549,7 +89549,7 @@
<dl><dt>Type name:</dt>
<dd>text</dd>
<dt>Subtype name:</dt>
- <dd>srt</dd>
+ <dd>vtt</dd>
<dt>Required parameters:</dt>
<dd>No parameters</dd>
<dt>Optional parameters:</dt>
@@ -89584,19 +89584,19 @@
<dd>
<dl><dt>Magic number(s):</dt>
<dd>
- <p>WebSRT files all begin with one of the following byte sequences:</p>
- <ul class=brief><li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 0A
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 0D
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 20
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 09
- <li> 57 45 42 53 52 54 20 46 49 4C 45 0A
- <li> 57 45 42 53 52 54 20 46 49 4C 45 0D
- <li> 57 45 42 53 52 54 20 46 49 4C 45 20
- <li> 57 45 42 53 52 54 20 46 49 4C 45 09
- </ul><p class=note>(An optional UTF-8 BOM, the ASCII string "<code title="">WEBSRT FILE</code>", and finally a space, tab, or line break.)
+ <p>WebVTT files all begin with one of the following byte sequences:</p>
+ <ul class=brief><li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 0A
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 0D
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 20
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 09
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 0A
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 0D
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 20
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 09
+ </ul><p class=note>(An optional UTF-8 BOM, the ASCII string "<code title="">WEBVTT FILE</code>", and finally a space, tab, or line break.)
</dd>
<dt>File extension(s):</dt>
- <dd>"<code title="">srt</code>"</dd>
+ <dd>"<code title="">vtt</code>"</dd>
<dt>Macintosh file type code(s):</dt>
<dd>No specific Macintosh file type codes are recommended for this type.</dd>
</dl></dd>
@@ -89611,7 +89611,7 @@
<dt>Change controller:</dt>
<dd>W3C</dd>
</dl><p>Fragment identifiers have no meaning with
- <code><a href=#text/srt>text/srt</a></code> resources.</p>
+ <code><a href=#text/vtt>text/vtt</a></code> resources.</p>
</div>
<!--TT-->
@@ -93845,7 +93845,7 @@
<!--TT-->
<p>Thanks to the SubRip community, including in particular Zuggy and
ai4spam, for their work on the SubRip software program whose SRT
- file format was used as the basis for the WebSRT timed track file
+ file format was used as the basis for the WebVTT timed track file
format.</p>
<!--TT-->
Modified: index
===================================================================
--- index 2010-12-25 06:28:38 UTC (rev 5721)
+++ index 2010-12-25 06:42:53 UTC (rev 5722)
@@ -585,12 +585,12 @@
timed track cues</a></li>
<li><a href=#timed-track-api><span class=secno>4.8.10.10.5 </span>Timed track API</a></li>
<li><a href=#cue-events><span class=secno>4.8.10.10.6 </span>Event definitions</a></ol></li>
- <li><a href=#websrt-0><span class=secno>4.8.10.11 </span>WebSRT</a>
+ <li><a href=#webvtt-0><span class=secno>4.8.10.11 </span>WebVTT</a>
<ol>
<li><a href=#syntax-0><span class=secno>4.8.10.11.1 </span>Syntax</a></li>
<li><a href=#parsing-0><span class=secno>4.8.10.11.2 </span>Parsing</a></li>
- <li><a href=#websrt-cue-text-parsing-rules><span class=secno>4.8.10.11.3 </span>WebSRT cue text parsing rules</a></li>
- <li><a href=#websrt-cue-text-dom-construction-rules><span class=secno>4.8.10.11.4 </span>WebSRT cue text DOM construction rules</a></ol></li>
+ <li><a href=#webvtt-cue-text-parsing-rules><span class=secno>4.8.10.11.3 </span>WebVTT cue text parsing rules</a></li>
+ <li><a href=#webvtt-cue-text-dom-construction-rules><span class=secno>4.8.10.11.4 </span>WebVTT cue text DOM construction rules</a></ol></li>
<li><a href=#user-interface><span class=secno>4.8.10.12 </span>User interface</a></li>
<li><a href=#time-ranges><span class=secno>4.8.10.13 </span>Time ranges</a></li>
<li><a href=#mediaevents><span class=secno>4.8.10.14 </span>Event summary</a></li>
@@ -1185,8 +1185,8 @@
<li><a href=#embedded-content-2><span class=secno>12.3.1 </span>Embedded content</a></li>
<li><a href=#timed-tracks><span class=secno>12.3.2 </span>Timed tracks</a>
<ol>
- <li><a href=#websrt-cue-text-rendering-rules><span class=secno>12.3.2.1 </span>WebSRT cue text rendering rules</a></li>
- <li><a href=#applying-css-properties-to-websrt-node-objects><span class=secno>12.3.2.2 </span>Applying CSS properties to WebSRT Node Objects</a></li>
+ <li><a href=#webvtt-cue-text-rendering-rules><span class=secno>12.3.2.1 </span>WebVTT cue text rendering rules</a></li>
+ <li><a href=#applying-css-properties-to-webvtt-node-objects><span class=secno>12.3.2.2 </span>Applying CSS properties to WebVTT Node Objects</a></li>
<li><a href=#css-extensions><span class=secno>12.3.2.3 </span>CSS extensions</a>
<ol>
<li><a href="#the-'::cue'-pseudo-element"><span class=secno>12.3.2.3.1 </span>The '::cue' pseudo-element</a></li>
@@ -1241,7 +1241,7 @@
<li><a href=#application/xhtml+xml><span class=secno>14.3 </span><code>application/xhtml+xml</code></a></li>
<li><a href=#text/cache-manifest><span class=secno>14.4 </span><code>text/cache-manifest</code></a></li>
<li><a href=#text/ping><span class=secno>14.5 </span><code>text/ping</code></a></li>
- <li><a href=#text/srt><span class=secno>14.6 </span><code>text/srt</code></a></li>
+ <li><a href=#text/vtt><span class=secno>14.6 </span><code>text/vtt</code></a></li>
<li><a href=#application/microdata+json><span class=secno>14.7 </span><code>application/microdata+json</code></a></li>
<li><a href=#ping-from><span class=secno>14.8 </span><code>Ping-From</code></a></li>
<li><a href=#ping-to><span class=secno>14.9 </span><code>Ping-To</code></a></ol></li>
@@ -1308,7 +1308,7 @@
<ul class=brief><li>The <code><a href=#devices>device</a></code> element.</li> <!--DEVICE-->
<li>The <code title=attr-hyperlink-ping><a href=#ping>ping</a></code> attribute and related <a href=#hyperlink-auditing>hyperlink auditing</a> features.</li> <!--PING-->
- <li>The <a href=#websrt>WebSRT</a> format and some <a href=#timed-track>timed track</a> API features.</li> <!--TT--> <!--TTSRT-->
+ <li>The <a href=#webvtt>WebVTT</a> format and some <a href=#timed-track>timed track</a> API features.</li> <!--TT--> <!--TTVTT-->
<li>Rules for <a href=#atom>converting HTML to Atom</a>.</li> <!--MD-->
<li>The <code title=dom-document-cssElementMap><a href=#dom-document-csselementmap>cssElementMap</a></code> feature for defining <span title="CSS element reference identifier">CSS element reference identifiers</span>.</li> <!--CSSREF-->
</ul><p>Features that are part of HTML (and this specification) but that
@@ -24987,12 +24987,12 @@
</div>
-<!--TTSRT-->
+<!--TTVTT-->
<p>If the elements's <a href=#track-url>track URL</a> identifies a
- <a href=#websrt>WebSRT</a> resource, and the element's <code title=attr-track-kind><a href=#attr-track-kind>kind</a></code> attribute is not in the <a href=#attr-track-kind-metadata title=attr-track-kind-metadata>metadata</a> state, then the
- <a href=#websrt>WebSRT</a> file must be a <a href=#websrt-file-using-cue-text>WebSRT file using cue
+ <a href=#webvtt>WebVTT</a> resource, and the element's <code title=attr-track-kind><a href=#attr-track-kind>kind</a></code> attribute is not in the <a href=#attr-track-kind-metadata title=attr-track-kind-metadata>metadata</a> state, then the
+ <a href=#webvtt>WebVTT</a> file must be a <a href=#webvtt-file-using-cue-text>WebVTT file using cue
text</a>.</p>
-<!--TTSRT-->
+<!--TTVTT-->
<p>The <dfn id=attr-track-srclang title=attr-track-srclang><code>srclang</code></dfn>
attribute gives the language of the timed track data. The value must
@@ -25069,10 +25069,10 @@
<p>This video has subtitles in several languages:</p>
<pre><video src="brave.webm">
- <track kind=subtitles src=brave.en.srt srclang=en label="English">
- <track kind=captions src=brave.en.srt srclang=en label="English for the Hard of Hearing">
- <track kind=subtitles src=brave.fr.srt srclang=fr label="Français">
- <track kind=subtitles src=brave.de.srt srclang=de label="Deutsch">
+ <track kind=subtitles src=brave.en.vtt srclang=en label="English">
+ <track kind=captions src=brave.en.vtt srclang=en label="English for the Hard of Hearing">
+ <track kind=subtitles src=brave.fr.vtt srclang=fr label="Français">
+ <track kind=subtitles src=brave.de.vtt srclang=de label="Deutsch">
</video></pre>
</div>
@@ -27276,11 +27276,11 @@
rendering</a> of each of the <a href=#timed-track title="timed track">timed
tracks</a> in <var title="">affected tracks</var> that are <a href=#timed-track-showing title="timed track showing">showing</a> or <a href=#timed-track-showing-by-default title="timed
track showing by default">showing by default</a>.
-<!--TTSRT-->
+<!--TTVTT-->
For example, for <a href=#timed-track title="timed track">timed tracks</a>
- based on <a href=#websrt>WebSRT</a>, the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the
- display of WebSRT timed tracks</a>.
-<!--TTSRT-->
+ based on <a href=#webvtt>WebVTT</a>, the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the
+ display of WebVTT timed tracks</a>.
+<!--TTVTT-->
</li>
<!--KEEP-START w3c-html--><!--TT-->
@@ -27642,10 +27642,10 @@
<p>A list of <a href=#timed-track-cue title="timed track cue">timed track
cues</a>, along with <dfn id=rules-for-updating-the-timed-track-rendering>rules for updating the timed track
rendering</dfn>.
-<!--TTSRT-->
- For example, for <a href=#websrt>WebSRT</a>, the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating
- the display of WebSRT timed tracks</a>.
-<!--TTSRT-->
+<!--TTVTT-->
+ For example, for <a href=#webvtt>WebVTT</a>, the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating
+ the display of WebVTT timed tracks</a>.
+<!--TTVTT-->
</p>
<p>The <a href=#timed-track-list-of-cues title="timed track list of cues">list of cues of a
@@ -27717,7 +27717,7 @@
consecutive lines displayed to the right of each other<!-- used for
mongolian -->).</p>
-<!--TTSRT-->
+<!--TTVTT-->
<p>If the <a href=#timed-track-cue-writing-direction title="timed track cue writing direction">writing
direction</a> is <a href=#timed-track-cue-horizontal-writing-direction title="timed track cue horizontal
writing direction">horizontal</a>, then <a href=#timed-track-cue-line-position title="timed
@@ -27732,11 +27732,11 @@
video, and <a href=#timed-track-cue-text-position title="timed track cue text position">text
position</a> and <a href=#timed-track-cue-size title="timed track cue size">size</a>
percentages are relative to the height of the video.</p>
-<!--TTSRT-->
+<!--TTVTT-->
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><dfn id=timed-track-cue-snap-to-lines-flag title="timed track cue snap-to-lines flag">A snap-to-lines flag</dfn>
<dd>
<p>A boolean indicating whether the <a href=#timed-track-cue-line-position title="timed track cue
@@ -27764,7 +27764,7 @@
by the <a href=#timed-track-cue-writing-direction title="timed track cue writing direction">writing
direction</a>.</p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><dfn id=timed-track-cue-size title="timed track cue size">A size</dfn>
<dd>
@@ -27774,7 +27774,7 @@
track cue writing direction">writing direction</a>.</p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><dfn id=timed-track-cue-alignment title="timed track cue alignment">An alignment</dfn>
<dd>
<p>An alignment for the text of each line of the cue, either <dfn id=timed-track-cue-start-alignment title="timed track cue start alignment">start alignment</dfn> (the
@@ -27786,7 +27786,7 @@
depends on the Unicode bidirectional algorithm and the <a href=#timed-track-cue-writing-direction title="timed track cue writing direction">writing
direction</a>. <a href=#refsBIDI>[BIDI]</a></p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><dfn id=timed-track-cue-text title="timed track cue text">The text of the cue</dfn>
<dd>
@@ -27827,11 +27827,11 @@
flag for all the affected cues, apply the <a href=#rules-for-updating-the-timed-track-rendering>rules for updating
the timed track rendering</a> of those <a href=#timed-track title="timed
track">timed tracks</a>.
-<!--TTSRT-->
+<!--TTVTT-->
For example, for <a href=#timed-track title="timed track">timed tracks</a>
- based on <a href=#websrt>WebSRT</a>, the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the
- display of WebSRT timed tracks</a>.</p>
-<!--TTSRT-->
+ based on <a href=#webvtt>WebVTT</a>, the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the
+ display of WebVTT timed tracks</a>.</p>
+<!--TTVTT-->
</dd>
<dt>The <dfn id=timed-track-cue-display-state title="timed track cue display state">display state</dfn>
@@ -27860,7 +27860,7 @@
first; and finally, any <a href=#timed-track-cue title="timed track cue">cues</a>
with identical <a href=#timed-track-cue-end-time title="timed track cue end time">end
times</a> must be sorted in the order they were created (so
- e.g. for cues from a <a href=#websrt>WebSRT</a> file, that would be the
+ e.g. for cues from a <a href=#webvtt>WebVTT</a> file, that would be the
order in which the cues were listed in the file).</p>
@@ -27984,8 +27984,8 @@
is dynamically modified when the referenced file is parsed.
Associated with the list are the <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed
track rendering</a> appropriate for the format in question; for
- <a href=#websrt>WebSRT</a>, this is the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the
- display of WebSRT timed tracks</a>.</p>
+ <a href=#webvtt>WebVTT</a>, this is the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the
+ display of WebVTT timed tracks</a>.</p>
<p>When a <code><a href=#the-track-element>track</a></code> element's parent element changes and
the new parent is a <a href=#media-element>media element</a>, then the user agent
@@ -28117,10 +28117,10 @@
unsupported (this causes the load to fail, as described below). If
a type is obtained, and represents a supported timed track format,
then the resource's data must be passed to the appropriate parser
-<!--TTSRT-->
- (e.g. the <a href=#websrt-parser>WebSRT parser</a> if the <a href=#content-type title=Content-Type>Content Type metadata</a> is
- <code><a href=#text/srt>text/srt</a></code>)
-<!--TTSRT-->
+<!--TTVTT-->
+ (e.g. the <a href=#webvtt-parser>WebVTT parser</a> if the <a href=#content-type title=Content-Type>Content Type metadata</a> is
+ <code><a href=#text/vtt>text/vtt</a></code>)
+<!--TTVTT-->
as it is received, with the <a href=#timed-track-list-of-cues>timed
track list of cues</a> being used for that parser's output.</p>
@@ -28210,7 +28210,7 @@
</ol></div>
-<!--TTSRT-->
+<!--TTVTT-->
<div class=impl>
<h6 id=guidelines-for-exposing-cues-in-various-formats-as-timed-track-cues><span class=secno>4.8.10.10.4 </span><dfn>Guidelines for exposing cues</dfn> in various formats as
@@ -28253,7 +28253,7 @@
<dd>
<p>Should be set to false unless the format uses a rendering and
positioning model for cues that is largely consistent with the
- <a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering rules</a>.</p>
+ <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text rendering rules</a>.</p>
</dd>
<dt>The <a href=#timed-track-cue-line-position>timed track cue line position</a>
@@ -28262,14 +28262,14 @@
<dt>The <a href=#timed-track-cue-alignment>timed track cue alignment</a>
</dt></dt></dt><dd>
<p>If the format uses a rendering and positioning model for
- cues that can be largely simulated using the <a href=#websrt-cue-text-rendering-rules>WebSRT cue text
+ cues that can be largely simulated using the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text
rendering rules</a>, then these should be set to the values
- that would give the same effect for <a href=#websrt>WebSRT</a>
+ that would give the same effect for <a href=#webvtt>WebVTT</a>
cues. Otherwise, they should be set to zero.</p>
</dd>
</dl></div>
-<!--TTSRT-->
+<!--TTVTT-->
<h6 id=timed-track-api><span class=secno>4.8.10.10.5 </span>Timed track API</h6>
@@ -28580,11 +28580,11 @@
loaded</a> state, its <a href=#timed-track-mode>timed track mode</a> to the
<a href=#timed-track-hidden>timed track hidden</a> mode, and its <a href=#timed-track-list-of-cues>timed track
list of cues</a> to an empty list.
-<!--TTSRT-->
+<!--TTVTT-->
Associate the <a href=#timed-track-list-of-cues>timed track list of cues</a> with the
- <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of WebSRT timed tracks</a>
+ <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of WebVTT timed tracks</a>
as its <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track rendering</a>.
-<!--TTSRT-->
+<!--TTVTT-->
</p>
</li>
@@ -28734,9 +28734,9 @@
</div>
<hr><pre class=idl>
-<!--TTSRT-->
+<!--TTVTT-->
[<a href=#dom-timedtrackcue title=dom-TimedTrackCue>Constructor</a>(in DOMString id, in double startTime, in double endTime, in DOMString text, in optional DOMString settings, in optional boolean pauseOnExit)]
-<!--TTSRT-->
+<!--TTVTT-->
interface <dfn id=timedtrackcue>TimedTrackCue</dfn> {
readonly attribute <a href=#timedtrack>TimedTrack</a> <a href=#dom-timedtrackcue-track title=dom-TimedTrackCue-track>track</a>;
readonly attribute DOMString <a href=#dom-timedtrackcue-id title=dom-TimedTrackCue-id>id</a>;
@@ -28745,14 +28745,14 @@
readonly attribute double <a href=#dom-timedtrackcue-endtime title=dom-TimedTrackCue-endTime>endTime</a>;
readonly attribute boolean <a href=#dom-timedtrackcue-pauseonexit title=dom-TimedTrackCue-pauseOnExit>pauseOnExit</a>;
-<!--TTSRT-->
+<!--TTVTT-->
readonly attribute DOMString <a href=#dom-timedtrackcue-direction title=dom-TimedTrackCue-direction>direction</a>;
readonly attribute boolean <a href=#dom-timedtrackcue-snaptolines title=dom-TimedTrackCue-snapToLines>snapToLines</a>;
readonly attribute long <a href=#dom-timedtrackcue-lineposition title=dom-TimedTrackCue-linePosition>linePosition</a>;
readonly attribute long <a href=#dom-timedtrackcue-textposition title=dom-TimedTrackCue-textPosition>textPosition</a>;
readonly attribute long <a href=#dom-timedtrackcue-size title=dom-TimedTrackCue-size>size</a>;
readonly attribute DOMString <a href=#dom-timedtrackcue-alignment title=dom-TimedTrackCue-alignment>alignment</a>;
-<!--TTSRT-->
+<!--TTVTT-->
DOMString <a href=#dom-timedtrackcue-getcueassource() title=dom-TimedTrackCue-getCueAsSource()>getCueAsSource</a>();
<a href=#documentfragment>DocumentFragment</a> <a href=#dom-timedtrackcue-getcueashtml() title=dom-TimedTrackCue-getCueAsHTML()>getCueAsHTML</a>();
@@ -28761,17 +28761,17 @@
readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrackcue-onexit title=handler-TimedTrackCue-onexit>onexit</a>;
};</pre>
- <dl class=domintro><!--TTSRT--><dt><var title="">cue</var> = new <code title=dom-TimedTrackCue><a href=#dom-timedtrackcue>TimedTrackCue</a></code>( <var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var> [, <var title="">settings</var> [, <var title="">pauseOnExit</var> ] ] )</dt>
+ <dl class=domintro><!--TTVTT--><dt><var title="">cue</var> = new <code title=dom-TimedTrackCue><a href=#dom-timedtrackcue>TimedTrackCue</a></code>( <var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var> [, <var title="">settings</var> [, <var title="">pauseOnExit</var> ] ] )</dt>
<dd>
<p>Returns a new <code><a href=#timedtrackcue>TimedTrackCue</a></code> object, for use with the <code title=dom-MutableTimedTrack-addCue><a href=#dom-mutabletimedtrack-addcue>addCue()</a></code> method.</p>
<p>The <var title="">id</var> argument sets the <a href=#timed-track-cue-identifier>timed track cue identifier</a>.</p>
<p>The <var title="">startTime</var> argument sets the <a href=#timed-track-cue-start-time>timed track cue start time</a>.</p>
<p>The <var title="">endTime</var> argument sets the <a href=#timed-track-cue-end-time>timed track cue end time</a>.</p>
<p>The <var title="">text</var> argument sets the <a href=#timed-track-cue-text>timed track cue text</a>.</p>
- <p>The <var title="">settings</var> argument is a string in the format of <a href=#websrt-cue-settings>WebSRT cue settings</a>. If omitted, the empty string is assumed.</p>
+ <p>The <var title="">settings</var> argument is a string in the format of <a href=#webvtt-cue-settings>WebVTT cue settings</a>. If omitted, the empty string is assumed.</p>
<p>The <var title="">pauseOnExit</var> argument sets the <a href=#timed-track-cue-pause-on-exit-flag>timed track cue pause-on-exit flag</a>. If omitted, false is assumed.</p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><var title="">cue</var> . <a href=#dom-timedtrackcue-track title=dom-TimedTrackCue-track>track</a></dt>
<dd>
@@ -28800,7 +28800,7 @@
<p>Returns true if the <a href=#timed-track-cue-pause-on-exit-flag>timed track cue pause-on-exit flag</a> is set, false otherwise.</p>
</dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><var title="">cue</var> . <a href=#dom-timedtrackcue-direction title=dom-TimedTrackCue-direction>direction</a></dt>
<dd>
<p>Returns a string representing the <a href=#timed-track-cue-writing-direction>timed track cue writing direction</a>, as follows:</p>
@@ -28844,7 +28844,7 @@
<dt>If it is <a href=#timed-track-cue-end-alignment title="timed track cue end alignment">end alignment</a></dt>
<dd><p>The string "<code title="">end</code>".</dd>
</dl></dd>
-<!--TTSRT-->
+<!--TTVTT-->
<dt><var title="">source</var> = <var title="">cue</var> . <span title=dom-TimedTrackCue-getCueAsSource>getCueAsSource</span>()</dt>
<dd>
@@ -28858,7 +28858,7 @@
</dl><div class=impl>
-<!--TTSRT-->
+<!--TTVTT-->
<p>The <dfn id=dom-timedtrackcue title=dom-TimedTrackCue><code>TimedTrackCue(<var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var>, <var title="">settings</var>, <var title="">pauseOnExit</var>)</code></dfn> constructor, when invoked,
must run the following steps:</p>
@@ -28883,9 +28883,9 @@
<li><p>Let <var title="">cue</var>'s <a href=#timed-track-cue-text>timed track cue
text</a> be the value of the <var title="">text</var> argument,
- and let the rules for its interpretation be the <a href=#websrt-cue-text-parsing-rules>WebSRT cue
- text parsing rules</a>, the <a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering
- rules</a>, and the <a href=#websrt-cue-text-dom-construction-rules>WebSRT cue text DOM construction
+ and let the rules for its interpretation be the <a href=#webvtt-cue-text-parsing-rules>WebVTT cue
+ text parsing rules</a>, the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text rendering
+ rules</a>, and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue text DOM construction
rules</a>.</li>
<!-- default settings -->
@@ -28917,12 +28917,12 @@
<li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the
string.</li>
- <li><p><a href=#parse-the-websrt-settings>Parse the WebSRT settings</a> for <var title="">cue</var>.</li>
+ <li><p><a href=#parse-the-webvtt-settings>Parse the WebVTT settings</a> for <var title="">cue</var>.</li>
<li><p>Return the <code><a href=#timedtrackcue>TimedTrackCue</a></code> object representing
<var title="">cue</var>.</li>
- </ol><!--TTSRT--><p>The <dfn id=dom-timedtrackcue-track title=dom-TimedTrackCue-track><code>track</code></dfn>
+ </ol><!--TTVTT--><p>The <dfn id=dom-timedtrackcue-track title=dom-TimedTrackCue-track><code>track</code></dfn>
attribute must return the <code><a href=#timedtrack>TimedTrack</a></code> object of the
<a href=#timed-track>timed track</a> with which the <a href=#timed-track-cue>timed track cue</a>
that the <code><a href=#timedtrackcue>TimedTrackCue</a></code> object represents is associated,
@@ -28954,7 +28954,7 @@
direction</a> of the <a href=#timed-track-cue>timed track cue</a> that the
<code><a href=#timedtrackcue>TimedTrackCue</a></code> object represents.</p>
-<!--TTSRT-->
+<!--TTVTT-->
<p>The <dfn id=dom-timedtrackcue-snaptolines title=dom-TimedTrackCue-snapToLines><code>snapToLines</code></dfn>
attribute must return true if the <a href=#timed-track-cue-snap-to-lines-flag>timed track cue
snap-to-lines flag</a> of the <a href=#timed-track-cue>timed track cue</a> that
@@ -29006,7 +29006,7 @@
attribute must return the <a href=#timed-track-cue-alignment>timed track cue alignment</a> of
the <a href=#timed-track-cue>timed track cue</a> that the <code><a href=#timedtrackcue>TimedTrackCue</a></code>
object represents.</p>
-<!--TTSRT-->
+<!--TTVTT-->
<p>The <dfn id=dom-timedtrackcue-getcueassource() title=dom-TimedTrackCue-getCueAsSource()><code>getCueAsSource()</code></dfn>
method must return the raw <a href=#timed-track-cue-text>timed track cue text</a>.</p>
@@ -29016,11 +29016,11 @@
<code><a href=#documentfragment>DocumentFragment</a></code> for the <a href=#media-element>media element</a>'s
<code><a href=#document>Document</a></code>, using the appropriate rules for doing
so.
-<!--TTSRT-->
- For example, for <a href=#websrt>WebSRT</a>, those rules are the
- <a href=#websrt-cue-text-parsing-rules>WebSRT cue text parsing rules</a> and the <a href=#websrt-cue-text-dom-construction-rules>WebSRT cue
+<!--TTVTT-->
+ For example, for <a href=#webvtt>WebVTT</a>, those rules are the
+ <a href=#webvtt-cue-text-parsing-rules>WebVTT cue text parsing rules</a> and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue
text DOM construction rules</a>.
-<!--TTSRT-->
+<!--TTVTT-->
</p>
</div>
@@ -29050,24 +29050,24 @@
<!--TT-->
- <h5 id=websrt-0><span class=secno>4.8.10.11 </span>WebSRT</h5>
+ <h5 id=webvtt-0><span class=secno>4.8.10.11 </span>WebVTT</h5>
- <p>The <dfn id=websrt>WebSRT</dfn> format (Web Subtitle Resource Tracks) is a
+ <p>The <dfn id=webvtt>WebVTT</dfn> format (Web Subtitle Resource Tracks) is a
format intended for marking up external timed track resources.</p>
<h6 id=syntax-0><span class=secno>4.8.10.11.1 </span>Syntax</h6>
- <p>A <dfn id=websrt-file>WebSRT file</dfn> must consist of a <a href=#websrt-file-body>WebSRT file
+ <p>A <dfn id=webvtt-file>WebVTT file</dfn> must consist of a <a href=#webvtt-file-body>WebVTT file
body</a> encoded as UTF-8 and labeled with the <a href=#mime-type>MIME
- type</a> <code><a href=#text/srt>text/srt</a></code>. <a href=#refsRFC3629>[RFC3629]</a></p>
+ type</a> <code><a href=#text/vtt>text/vtt</a></code>. <a href=#refsRFC3629>[RFC3629]</a></p>
- <p>A <dfn id=websrt-file-body>WebSRT file body</dfn> consists of the following
+ <p>A <dfn id=webvtt-file-body>WebVTT file body</dfn> consists of the following
components, in the following order:</p>
<ol><li>An optional U+FEFF BYTE ORDER MARK (BOM) character.</li>
- <li>The string "<code title="">WEBSRT</code>", a single U+0020
+ <li>The string "<code title="">WEBVTT</code>", a single U+0020
SPACE character, and the string "<code title="">FILE</code>".</li>
<li>Optionally, either a U+0020 SPACE character or a U+0009
@@ -29075,58 +29075,58 @@
characters that are not U+000A LINE FEED (LF) or U+000D CARRIAGE
RETURN (CR) characters.</li> <!-- allows for Emacs line -->
- <li>Two or more <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line
+ <li>Two or more <a href=#webvtt-line-terminator title="WebVTT line terminator">WebVTT line
terminators</a>.</li> <!-- the first one to terminate the magic
line, the second one to terminate the header block: in the future,
we can add a metadata block before the first blank line -->
- <li>Zero or more <a href=#websrt-cue title="WebSRT cue">WebSRT cues</a>
- separated from each other by two or more <a href=#websrt-line-terminator title="WebSRT line
- terminator">WebSRT line terminators</a>.</li>
+ <li>Zero or more <a href=#webvtt-cue title="WebVTT cue">WebVTT cues</a>
+ separated from each other by two or more <a href=#webvtt-line-terminator title="WebVTT line
+ terminator">WebVTT line terminators</a>.</li>
- <li>Zero or more <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line
+ <li>Zero or more <a href=#webvtt-line-terminator title="WebVTT line terminator">WebVTT line
terminators</a>.</li>
- </ol><p>A <dfn id=websrt-cue>WebSRT cue</dfn> consists of the following components, in
+ </ol><p>A <dfn id=webvtt-cue>WebVTT cue</dfn> consists of the following components, in
the given order:</p>
- <ol><li>Optionally, a <a href=#websrt-cue-identifier>WebSRT cue identifier</a> followed by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
- <li><a href=#websrt-cue-timings>WebSRT cue timings</a>.</li>
- <li>Optionally, one or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters followed by <a href=#websrt-cue-settings>WebSRT cue settings</a>.</li>
- <li>A <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
- <li>The <dfn id=cue-payload>cue payload</dfn>: either <a href=#websrt-cue-text>WebSRT cue text</a> or <a href=#websrt-metadata-text>WebSRT metadata text</a>.</li>
- </ol><p><a href=#websrt-cue-text>WebSRT cue text</a> is syntactically a subset of
- <a href=#websrt-metadata-text>WebSRT metadata text</a>. Conformance checkers, when
- validating <a href=#websrt>WebSRT</a> files, may offer to restrict all cues
- to only having <a href=#websrt-cue-text>WebSRT cue text</a> as their <a href=#cue-payload>cue
- payload</a>; <a href=#websrt-metadata-text>WebSRT metadata text</a> cues are only
+ <ol><li>Optionally, a <a href=#webvtt-cue-identifier>WebVTT cue identifier</a> followed by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</li>
+ <li><a href=#webvtt-cue-timings>WebVTT cue timings</a>.</li>
+ <li>Optionally, one or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters followed by <a href=#webvtt-cue-settings>WebVTT cue settings</a>.</li>
+ <li>A <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</li>
+ <li>The <dfn id=cue-payload>cue payload</dfn>: either <a href=#webvtt-cue-text>WebVTT cue text</a> or <a href=#webvtt-metadata-text>WebVTT metadata text</a>.</li>
+ </ol><p><a href=#webvtt-cue-text>WebVTT cue text</a> is syntactically a subset of
+ <a href=#webvtt-metadata-text>WebVTT metadata text</a>. Conformance checkers, when
+ validating <a href=#webvtt>WebVTT</a> files, may offer to restrict all cues
+ to only having <a href=#webvtt-cue-text>WebVTT cue text</a> as their <a href=#cue-payload>cue
+ payload</a>; <a href=#webvtt-metadata-text>WebVTT metadata text</a> cues are only
useful for scripted applications (using the <code title=dom-timedtrack-kind-metadata><a href=#dom-timedtrack-kind-metadata>metadata</a></code> <a href=#timed-track-kind>timed
track kind</a>).</p>
- <p>A <a href=#websrt-file>WebSRT file</a> whose cues all have a <a href=#cue-payload>cue
- payload</a> that is <a href=#websrt-cue-text>WebSRT cue text</a> is said to be a
- <dfn id=websrt-file-using-cue-text>WebSRT file using cue text</dfn>.</p>
+ <p>A <a href=#webvtt-file>WebVTT file</a> whose cues all have a <a href=#cue-payload>cue
+ payload</a> that is <a href=#webvtt-cue-text>WebVTT cue text</a> is said to be a
+ <dfn id=webvtt-file-using-cue-text>WebVTT file using cue text</dfn>.</p>
- <p>A <dfn id=websrt-line-terminator>WebSRT line terminator</dfn> consists of one of the
+ <p>A <dfn id=webvtt-line-terminator>WebVTT line terminator</dfn> consists of one of the
following:</p>
<ul class=brief><li>A U+000D CARRIAGE RETURN U+000A LINE FEED (CRLF) character pair.</li>
<li>A single U+000A LINE FEED (LF) character.</li>
<li>A single U+000D CARRIAGE RETURN (CR) character.</li>
- </ul><p>A <dfn id=websrt-cue-identifier>WebSRT cue identifier</dfn> is any sequence of one or more
+ </ul><p>A <dfn id=webvtt-cue-identifier>WebVTT cue identifier</dfn> is any sequence of one or more
characters not containing the substring "<code title="">--></code>"
(U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS, U+003E GREATER-THAN
SIGN), nor containing any U+000A LINE FEED (LF) characters or U+000D
CARRIAGE RETURN (CR) characters.</p>
- <p>The <dfn id=websrt-cue-timings>WebSRT cue timings</dfn> part of a <a href=#websrt-cue>WebSRT
+ <p>The <dfn id=webvtt-cue-timings>WebVTT cue timings</dfn> part of a <a href=#webvtt-cue>WebVTT
cue</a> consists of the following components, in the given
order:</p>
<ol><!-- we could allow leading and trailing spaces and tabs, and make
the space between the arrow either optional or allow multiple
- spaces or tabs --><li>A <a href=#websrt-timestamp>WebSRT timestamp</a> representing the start time
- offset of the cue. The time represented by this <a href=#websrt-timestamp>WebSRT
+ spaces or tabs --><li>A <a href=#webvtt-timestamp>WebVTT timestamp</a> representing the start time
+ offset of the cue. The time represented by this <a href=#webvtt-timestamp>WebVTT
timestamp</a> must be greater than or equal to the start time
offsets of all previous cues in the file.</li>
@@ -29137,13 +29137,13 @@
<li>A U+0020 SPACE character.</li>
- <li>A <a href=#websrt-timestamp>WebSRT timestamp</a> representing the end time
- offset of the cue. The time represented by this <a href=#websrt-timestamp>WebSRT
+ <li>A <a href=#webvtt-timestamp>WebVTT timestamp</a> representing the end time
+ offset of the cue. The time represented by this <a href=#webvtt-timestamp>WebVTT
timestamp</a> must be greater than the start time offset of the
cue.</li>
- </ol><p>A <dfn id=websrt-timestamp>WebSRT timestamp</dfn> representing a time in seconds and
- fractions of a second is a <a href=#websrt-timestamp>WebSRT timestamp</a>
+ </ol><p>A <dfn id=webvtt-timestamp>WebVTT timestamp</dfn> representing a time in seconds and
+ fractions of a second is a <a href=#webvtt-timestamp>WebVTT timestamp</a>
representing hours <var title="">hours</var>, minutes <var title="">minutes</var>, seconds
<var title="">seconds</var>, and thousandths of a second <var title="">seconds-frac</var>, calculated as follows:</p>
@@ -29160,7 +29160,7 @@
<li><p>If <var title="">minutes</var> is greater than 59, then let
<var title="">hours</var> be the integer component of <var title="">minutes</var> divided by sixty, and then let <var title="">minutes</var> be the remainder of dividing <var title="">minutes</var> divided by sixty. Otherwise, let <var title="">hours</var> be zero.</li>
- </ol><p>A <a href=#websrt-timestamp>WebSRT timestamp</a> representing hours <var title="">hours</var>, minutes <var title="">minutes</var>, seconds
+ </ol><p>A <a href=#webvtt-timestamp>WebVTT timestamp</a> representing hours <var title="">hours</var>, minutes <var title="">minutes</var>, seconds
<var title="">seconds</var>, and thousandths of a second <var title="">seconds-frac</var>, consists of the following components,
in the given order:</p>
@@ -29189,25 +29189,25 @@
<li>Three characters in the range U+0030 DIGIT ZERO (0) to U+0039
DIGIT NINE (9), representing the thousandths of a second <var title="">seconds-frac</var> as a base ten integer.</li>
- </ol><p>The <dfn id=websrt-cue-settings>WebSRT cue settings</dfn> part of a <a href=#websrt-cue>WebSRT
+ </ol><p>The <dfn id=webvtt-cue-settings>WebVTT cue settings</dfn> part of a <a href=#webvtt-cue>WebVTT
cue</a> consists of zero or more of the following components, in
any order, separated from each other by one or more U+0020 SPACE
characters or U+0009 CHARACTER TABULATION (tab) characters. Each
- component must not be included more than once per <a href=#websrt-cue-settings>WebSRT cue
+ component must not be included more than once per <a href=#webvtt-cue-settings>WebVTT cue
settings</a> string.</p>
- <ul class=brief><li>A <a href=#websrt-vertical-text-cue-setting>WebSRT vertical text cue setting</a>.</li> <!-- D:vertical/vertical-lr -->
- <li>A <a href=#websrt-line-position-cue-setting>WebSRT line position cue setting</a>.</li> <!-- L:100% L:1 L:-1 -->
- <li>A <a href=#websrt-text-position-cue-setting>WebSRT text position cue setting</a>.</li> <!-- T:100% -->
- <li>A <a href=#websrt-size-cue-setting>WebSRT size cue setting</a>.</li> <!-- S:100% -->
- <li>A <a href=#websrt-alignment-cue-setting>WebSRT alignment cue setting</a>.</li> <!-- A:start/middle/end -->
- </ul><p>A <dfn id=websrt-vertical-text-cue-setting>WebSRT vertical text cue setting</dfn> consists of the
+ <ul class=brief><li>A <a href=#webvtt-vertical-text-cue-setting>WebVTT vertical text cue setting</a>.</li> <!-- D:vertical/vertical-lr -->
+ <li>A <a href=#webvtt-line-position-cue-setting>WebVTT line position cue setting</a>.</li> <!-- L:100% L:1 L:-1 -->
+ <li>A <a href=#webvtt-text-position-cue-setting>WebVTT text position cue setting</a>.</li> <!-- T:100% -->
+ <li>A <a href=#webvtt-size-cue-setting>WebVTT size cue setting</a>.</li> <!-- S:100% -->
+ <li>A <a href=#webvtt-alignment-cue-setting>WebVTT alignment cue setting</a>.</li> <!-- A:start/middle/end -->
+ </ul><p>A <dfn id=webvtt-vertical-text-cue-setting>WebVTT vertical text cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li>A U+0044 LATIN CAPITAL LETTER D character.</li>
<li>A U+003A COLON character (:).</li>
<li>One of the following strings: "<code title="">vertical</code>", "<code title="">vertical-lr</code>".</li>
- </ol><p>A <dfn id=websrt-line-position-cue-setting>WebSRT line position cue setting</dfn> consists of the
+ </ol><p>A <dfn id=webvtt-line-position-cue-setting>WebVTT line position cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li><p>A U+004C LATIN CAPITAL LETTER L character.</li>
@@ -29224,100 +29224,100 @@
<li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li>
</ol></dd>
</dl></li>
- </ol><p>A <dfn id=websrt-text-position-cue-setting>WebSRT text position cue setting</dfn> consists of the
+ </ol><p>A <dfn id=webvtt-text-position-cue-setting>WebVTT text position cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li>A U+0054 LATIN CAPITAL LETTER T character.</li>
<li>A U+003A COLON character (:).</li>
<li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li>
<li>A U+0025 PERCENT SIGN character (%).</li>
- </ol><p>A <dfn id=websrt-size-cue-setting>WebSRT size cue setting</dfn> consists of the
+ </ol><p>A <dfn id=webvtt-size-cue-setting>WebVTT size cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li>A U+0053 LATIN CAPITAL LETTER S character.</li>
<li>A U+003A COLON character (:).</li>
<li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li>
<li>A U+0025 PERCENT SIGN character (%).</li>
- </ol><p>A <dfn id=websrt-alignment-cue-setting>WebSRT alignment cue setting</dfn> consists of the
+ </ol><p>A <dfn id=webvtt-alignment-cue-setting>WebVTT alignment cue setting</dfn> consists of the
following components, in the order given:</p>
<ol><li>A U+0041 LATIN CAPITAL LETTER A character.</li>
<li>A U+003A COLON character (:).</li>
<li>One of the following strings: "<code title="">start</code>", "<code title="">middle</code>", "<code title="">end</code>"</li>
- </ol><p><dfn id=websrt-metadata-text>WebSRT metadata text</dfn> consists of any sequence of one
+ </ol><p><dfn id=webvtt-metadata-text>WebVTT metadata text</dfn> consists of any sequence of one
or more characters other than U+000A LINE FEED (LF) characters and
U+000D CARRIAGE RETURN (CR) characters, each optionally separated
- from the next by a <a href=#websrt-line-terminator>WebSRT line terminator</a>. (In other
- words, any text that does not have two consecutive <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line terminators</a> and
- does not start or end with a <a href=#websrt-line-terminator>WebSRT line
+ from the next by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>. (In other
+ words, any text that does not have two consecutive <a href=#webvtt-line-terminator title="WebVTT line terminator">WebVTT line terminators</a> and
+ does not start or end with a <a href=#webvtt-line-terminator>WebVTT line
terminator</a>.)</p>
- <p><dfn id=websrt-cue-text>WebSRT cue text</dfn> consists of zero or more <a href=#websrt-cue-components>WebSRT
+ <p><dfn id=webvtt-cue-text>WebVTT cue text</dfn> consists of zero or more <a href=#webvtt-cue-components>WebVTT
cue components</a>, in any order, each optionally separated from
- the next by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</p>
+ the next by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</p>
- <p>The <dfn id=websrt-cue-components>WebSRT cue components</dfn> are:</p>
+ <p>The <dfn id=webvtt-cue-components>WebVTT cue components</dfn> are:</p>
- <ul><li>A <a href=#websrt-cue-class-span>WebSRT cue class span</a>.</li>
- <li>A <a href=#websrt-cue-italics-span>WebSRT cue italics span</a>.</li>
- <li>A <a href=#websrt-cue-bold-span>WebSRT cue bold span</a>.</li>
- <li>A <a href=#websrt-cue-ruby-span>WebSRT cue ruby span</a>.</li>
- <li>A <a href=#websrt-cue-voice-span>WebSRT cue voice span</a>.</li>
+ <ul><li>A <a href=#webvtt-cue-class-span>WebVTT cue class span</a>.</li>
+ <li>A <a href=#webvtt-cue-italics-span>WebVTT cue italics span</a>.</li>
+ <li>A <a href=#webvtt-cue-bold-span>WebVTT cue bold span</a>.</li>
+ <li>A <a href=#webvtt-cue-ruby-span>WebVTT cue ruby span</a>.</li>
+ <li>A <a href=#webvtt-cue-voice-span>WebVTT cue voice span</a>.</li>
- <li>A <a href=#websrt-cue-timestamp>WebSRT cue timestamp</a>.</li>
+ <li>A <a href=#webvtt-cue-timestamp>WebVTT cue timestamp</a>.</li>
- <li>A <a href=#websrt-cue-text-span>WebSRT cue text span</a>, representing the text of the cue.</li>
+ <li>A <a href=#webvtt-cue-text-span>WebVTT cue text span</a>, representing the text of the cue.</li>
- <li>A <a href=#websrt-cue-amp-escape>WebSRT cue amp escape</a>, representing a "&" character in the text of the cue.</li>
- <li>A <a href=#websrt-cue-lt-escape>WebSRT cue lt escape</a>, representing a "<" character in the text of the cue.</li>
- <li>A <a href=#websrt-cue-gt-escape>WebSRT cue gt escape</a>, representing a ">" character in the text of the cue.</li>
+ <li>A <a href=#webvtt-cue-amp-escape>WebVTT cue amp escape</a>, representing a "&" character in the text of the cue.</li>
+ <li>A <a href=#webvtt-cue-lt-escape>WebVTT cue lt escape</a>, representing a "<" character in the text of the cue.</li>
+ <li>A <a href=#webvtt-cue-gt-escape>WebVTT cue gt escape</a>, representing a ">" character in the text of the cue.</li>
- </ul><p><dfn id=websrt-cue-internal-text>WebSRT cue internal text</dfn> consists of an optional
- <a href=#websrt-line-terminator>WebSRT line terminator</a>, followed by zero or more
- <a href=#websrt-cue-components>WebSRT cue components</a>, in any order, each optionally
- followed by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</p>
+ </ul><p><dfn id=webvtt-cue-internal-text>WebVTT cue internal text</dfn> consists of an optional
+ <a href=#webvtt-line-terminator>WebVTT line terminator</a>, followed by zero or more
+ <a href=#webvtt-cue-components>WebVTT cue components</a>, in any order, each optionally
+ followed by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</p>
- <p>A <dfn id=websrt-cue-class-span>WebSRT cue class span</dfn> consists of a <a href=#websrt-cue-span-start-tag>WebSRT cue
+ <p>A <dfn id=webvtt-cue-class-span>WebVTT cue class span</dfn> consists of a <a href=#webvtt-cue-span-start-tag>WebVTT cue
span start tag</a> "<code title="">c</code>" that disallows an
- annotation, <a href=#websrt-cue-internal-text>WebSRT cue internal text</a> representing cue
- text, and a <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">c</code>".</p>
+ annotation, <a href=#webvtt-cue-internal-text>WebVTT cue internal text</a> representing cue
+ text, and a <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">c</code>".</p>
- <p>A <dfn id=websrt-cue-italics-span>WebSRT cue italics span</dfn> consists of a <a href=#websrt-cue-span-start-tag>WebSRT
+ <p>A <dfn id=webvtt-cue-italics-span>WebVTT cue italics span</dfn> consists of a <a href=#webvtt-cue-span-start-tag>WebVTT
cue span start tag</a> "<code title="">i</code>" that disallows
- an annotation, <a href=#websrt-cue-internal-text>WebSRT cue internal text</a> representing
- the italicized text, and a <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a>
+ an annotation, <a href=#webvtt-cue-internal-text>WebVTT cue internal text</a> representing
+ the italicized text, and a <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a>
"<code title="">i</code>".</p>
- <p>A <dfn id=websrt-cue-bold-span>WebSRT cue bold span</dfn> consists of a <a href=#websrt-cue-span-start-tag>WebSRT cue
+ <p>A <dfn id=webvtt-cue-bold-span>WebVTT cue bold span</dfn> consists of a <a href=#webvtt-cue-span-start-tag>WebVTT cue
span start tag</a> "<code title="">b</code>" that disallows an
- annotation, <a href=#websrt-cue-internal-text>WebSRT cue internal text</a> representing the
- boldened text, and a <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">b</code>".</p>
+ annotation, <a href=#webvtt-cue-internal-text>WebVTT cue internal text</a> representing the
+ boldened text, and a <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">b</code>".</p>
- <p>A <dfn id=websrt-cue-ruby-span>WebSRT cue ruby span</dfn> consists of the following
+ <p>A <dfn id=webvtt-cue-ruby-span>WebVTT cue ruby span</dfn> consists of the following
components, in the order given:</p>
- <ol><li>A <a href=#websrt-cue-span-start-tag>WebSRT cue span start tag</a> "<code title="">i</code>" that disallows an annotation.</li>
+ <ol><li>A <a href=#webvtt-cue-span-start-tag>WebVTT cue span start tag</a> "<code title="">i</code>" that disallows an annotation.</li>
<li>One or more occurrences of the following group of components, in the order given:
- <ol><li><a href=#websrt-cue-internal-text>WebSRT cue internal text</a>, representing the ruby base.</li>
- <li>A <a href=#websrt-cue-span-start-tag>WebSRT cue span start tag</a> "<code title="">rt</code>" that disallows an annotation.</li>
- <li>A <dfn id=websrt-cue-ruby-text-span>WebSRT cue ruby text span</dfn>: <a href=#websrt-cue-internal-text>WebSRT cue internal text</a>, representing the ruby text component of the ruby annotation.</li>
- <li>A <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">rt</code>".
+ <ol><li><a href=#webvtt-cue-internal-text>WebVTT cue internal text</a>, representing the ruby base.</li>
+ <li>A <a href=#webvtt-cue-span-start-tag>WebVTT cue span start tag</a> "<code title="">rt</code>" that disallows an annotation.</li>
+ <li>A <dfn id=webvtt-cue-ruby-text-span>WebVTT cue ruby text span</dfn>: <a href=#webvtt-cue-internal-text>WebVTT cue internal text</a>, representing the ruby text component of the ruby annotation.</li>
+ <li>A <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">rt</code>".
If this is the last occurance of this group of components in the
- <a href=#websrt-cue-ruby-span>WebSRT cue ruby span</a>, then this last end tag string
+ <a href=#webvtt-cue-ruby-span>WebVTT cue ruby span</a>, then this last end tag string
may be omitted.</li>
</ol></li>
- <li>If the last end tag string was not omitted: Optionally, a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
- <li>If the last end tag string was not omitted: Zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters, each optionally followed by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
- <li>A <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">ruby</code>".</li>
- </ol><p>A <dfn id=websrt-cue-voice-span>WebSRT cue voice span</dfn> consists of the following
+ <li>If the last end tag string was not omitted: Optionally, a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</li>
+ <li>If the last end tag string was not omitted: Zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters, each optionally followed by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</li>
+ <li>A <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">ruby</code>".</li>
+ </ol><p>A <dfn id=webvtt-cue-voice-span>WebVTT cue voice span</dfn> consists of the following
components, in the order given:</p>
- <ol><li>A <a href=#websrt-cue-span-start-tag>WebSRT cue span start tag</a> "<code title="">v</code>" that requires an annotation; the annotation represents the name of the voice.</li>
- <li><a href=#websrt-cue-internal-text>WebSRT cue internal text</a>.</li>
- <li>A <a href=#websrt-cue-span-end-tag>WebSRT cue span end tag</a> "<code title="">v</code>". If this <a href=#websrt-cue-voice-span>WebSRT cue voice span</a> is the only <a href=#websrt-cue-components title="WebSRT cue components">component</a> of its <a href=#websrt-cue-text>WebSRT cue text</a> sequence, then the end tag may be omitted for brevity.</li>
- </ol><p>A <dfn id=websrt-cue-span-start-tag>WebSRT cue span start tag</dfn> has a <var title="">tag
+ <ol><li>A <a href=#webvtt-cue-span-start-tag>WebVTT cue span start tag</a> "<code title="">v</code>" that requires an annotation; the annotation represents the name of the voice.</li>
+ <li><a href=#webvtt-cue-internal-text>WebVTT cue internal text</a>.</li>
+ <li>A <a href=#webvtt-cue-span-end-tag>WebVTT cue span end tag</a> "<code title="">v</code>". If this <a href=#webvtt-cue-voice-span>WebVTT cue voice span</a> is the only <a href=#webvtt-cue-components title="WebVTT cue components">component</a> of its <a href=#webvtt-cue-text>WebVTT cue text</a> sequence, then the end tag may be omitted for brevity.</li>
+ </ol><p>A <dfn id=webvtt-cue-span-start-tag>WebVTT cue span start tag</dfn> has a <var title="">tag
name</var> and either allows, requires, and disallows an annotation,
and consists of the following components, in the order given:</p>
@@ -29345,30 +29345,30 @@
<dt>If the start tag allows an annotation:</dt>
- <dd>Optionally, a <span>WebSRT cue span start tag annotation</span>.</dd>
+ <dd>Optionally, a <span>WebVTT cue span start tag annotation</span>.</dd>
<dt>-->If the start tag requires an annotation:<!--</dt>
- <dd>A <span>WebSRT cue span start tag annotation</span>.</dd>
+ <dd>A <span>WebVTT cue span start tag annotation</span>.</dd>
</dl>
- <p>A <dfn>WebSRT cue span start tag annotation</dfn> consists of-->
+ <p>A <dfn>WebVTT cue span start tag annotation</dfn> consists of-->
one or more of the following components, the concatenation of
their representations having a value that contains at least one
character other than U+0020 SPACE and U+0009 CHARACTER TABULATION
(tab) characters:<!--</p>-->
- <ul><li><a href=#websrt-cue-span-start-tag-annotation-text>WebSRT cue span start tag annotation text</a>, representing the text of the annotation.</li>
- <li>A <a href=#websrt-cue-amp-escape>WebSRT cue amp escape</a>, representing a "&" character in the text of the annotation.</li>
- <li>A <a href=#websrt-cue-lt-escape>WebSRT cue lt escape</a>, representing a "<" character in the text of the annotation.</li>
- <li>A <a href=#websrt-cue-gt-escape>WebSRT cue gt escape</a>, representing a ">" character in the text of the annotation.</li>
+ <ul><li><a href=#webvtt-cue-span-start-tag-annotation-text>WebVTT cue span start tag annotation text</a>, representing the text of the annotation.</li>
+ <li>A <a href=#webvtt-cue-amp-escape>WebVTT cue amp escape</a>, representing a "&" character in the text of the annotation.</li>
+ <li>A <a href=#webvtt-cue-lt-escape>WebVTT cue lt escape</a>, representing a "<" character in the text of the annotation.</li>
+ <li>A <a href=#webvtt-cue-gt-escape>WebVTT cue gt escape</a>, representing a ">" character in the text of the annotation.</li>
</ul></li>
<li>A U+003E GREATER-THAN SIGN character (>).</li>
- </ol><p>A <dfn id=websrt-cue-span-end-tag>WebSRT cue span end tag</dfn> has a <var title="">tag
+ </ol><p>A <dfn id=webvtt-cue-span-end-tag>WebVTT cue span end tag</dfn> has a <var title="">tag
name</var> and consists of the following components, in the order
given:</p>
@@ -29376,32 +29376,32 @@
<li>U+002F SOLIDUS character (/).</li>
<li>The <var title="">tag name</var>.</li>
<li>A U+003E GREATER-THAN SIGN character (>).</li>
- </ol><p>A <dfn id=websrt-cue-timestamp>WebSRT cue timestamp</dfn> consists of a U+003C LESS-THAN
- SIGN character (<), followed by a <a href=#websrt-timestamp>WebSRT timestamp</a>
+ </ol><p>A <dfn id=webvtt-cue-timestamp>WebVTT cue timestamp</dfn> consists of a U+003C LESS-THAN
+ SIGN character (<), followed by a <a href=#webvtt-timestamp>WebVTT timestamp</a>
representing the time that the given point in the cue becomes
active, followed by a U+003E GREATER-THAN SIGN character (>). The
- time represented by the <a href=#websrt-timestamp>WebSRT timestamp</a> must be
- greater than the times represented by any previous <a href=#websrt-cue-timestamp title="WebSRT cue timestamp">WebSRT cue timestamps</a> in the
+ time represented by the <a href=#webvtt-timestamp>WebVTT timestamp</a> must be
+ greater than the times represented by any previous <a href=#webvtt-cue-timestamp title="WebVTT cue timestamp">WebVTT cue timestamps</a> in the
cue, as well as greater than the cue's start time offset, and less
than the cue's end time offset.</p>
- <p>A <dfn id=websrt-cue-text-span>WebSRT cue text span</dfn> consists of one or more
+ <p>A <dfn id=webvtt-cue-text-span>WebVTT cue text span</dfn> consists of one or more
characters other than U+000A LINE FEED (LF) characters, U+000D
CARRIAGE RETURN (CR) characters, U+0026 AMPERSAND characters (&),
and U+003C LESS-THAN SIGN characters (<).</p>
- <p><dfn id=websrt-cue-span-start-tag-annotation-text>WebSRT cue span start tag annotation text</dfn> consists of
+ <p><dfn id=webvtt-cue-span-start-tag-annotation-text>WebVTT cue span start tag annotation text</dfn> consists of
one or more characters other than U+000A LINE FEED (LF) characters,
U+000D CARRIAGE RETURN (CR) characters, U+0026 AMPERSAND characters
(&), and U+003E GREATER-THAN SIGN characters (>).</p>
- <p>A <dfn id=websrt-cue-amp-escape>WebSRT cue amp escape</dfn> is the five character string
+ <p>A <dfn id=webvtt-cue-amp-escape>WebVTT cue amp escape</dfn> is the five character string
"<code title="">&</code>".</p>
- <p>A <dfn id=websrt-cue-lt-escape>WebSRT cue lt escape</dfn> is the five character string
+ <p>A <dfn id=webvtt-cue-lt-escape>WebVTT cue lt escape</dfn> is the five character string
"<code title=""><</code>".</p>
- <p>A <dfn id=websrt-cue-gt-escape>WebSRT cue gt escape</dfn> is the five character string
+ <p>A <dfn id=webvtt-cue-gt-escape>WebVTT cue gt escape</dfn> is the five character string
"<code title="">></code>".</p>
@@ -29410,21 +29410,21 @@
<h6 id=parsing-0><span class=secno>4.8.10.11.2 </span>Parsing</h6>
- <p>A <dfn id=websrt-parser>WebSRT parser</dfn>, given an input byte stream and a
+ <p>A <dfn id=webvtt-parser>WebVTT parser</dfn>, given an input byte stream and a
<a href=#timed-track-list-of-cues>timed track list of cues</a> <var title="">output</var>,
must <a href=#decoded-as-utf-8,-with-error-handling title="decoded as UTF-8, with error handling">decode the
byte stream as UTF-8, with error handling</a>, and then must
- parse the resulting string according to the <a href=#websrt-parser-algorithm>WebSRT parser
+ parse the resulting string according to the <a href=#webvtt-parser-algorithm>WebVTT parser
algorithm</a> below. This results in <a href=#timed-track-cue title="timed track
cue">timed track cues</a> being added to <var title="">output</var>. <a href=#refsRFC3629>[RFC3629]</a></p>
- <p>A <a href=#websrt-parser>WebSRT parser</a>, specifically its conversion and
+ <p>A <a href=#webvtt-parser>WebVTT parser</a>, specifically its conversion and
parsing steps, is typically run asynchronously, with the input byte
stream being updated incrementally as the resource is downloaded;
- this is called an <dfn id=incremental-websrt-parser>incremental WebSRT parser</dfn>.</p>
+ this is called an <dfn id=incremental-webvtt-parser>incremental WebVTT parser</dfn>.</p>
- <p>A <a href=#websrt-parser>WebSRT parser</a> verifies a file signature before
- parsing the provided byte stream. If the stream lacks this WebSRT
+ <p>A <a href=#webvtt-parser>WebVTT parser</a> verifies a file signature before
+ parsing the provided byte stream. If the stream lacks this WebVTT
file signature, then the parser aborts.</p>
<p>When converting the bytes into Unicode characters, if the
@@ -29433,14 +29433,14 @@
defined in this specification, and all U+0000 NULL characters must
be replaced by U+FFFD REPLACEMENT CHARACTERs.</p>
- <p>The <dfn id=websrt-parser-algorithm>WebSRT parser algorithm</dfn> is as follows:</p>
+ <p>The <dfn id=webvtt-parser-algorithm>WebVTT parser algorithm</dfn> is as follows:</p>
<ol><li><p>Let <var title="">input</var> be the string being parsed,
after conversion to Unicode and after the replacement of U+0000
NULL characters described above.</li>
<li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the
- string. In an <a href=#incremental-websrt-parser>incremental WebSRT parser</a>, when this
+ string. In an <a href=#incremental-webvtt-parser>incremental WebVTT parser</a>, when this
algorithm (or further algorithms that it uses) moves the <var title="">position</var> pointer, the user agent must wait until
appropriate further characters from the byte stream have been added
to <var title="">input</var> before moving the pointer, so that the
@@ -29459,19 +29459,19 @@
any.</li>
<li><p>If <var title="">line</var> is less than eleven characters
- long, then abort these steps. The file is not a <a href=#websrt-file>WebSRT
+ long, then abort these steps. The file is not a <a href=#webvtt-file>WebVTT
file</a>.</li>
<li><p>If <var title="">line</var> is exactly eleven characters
- long but does not exactly equal "<code title="">WEBSRT FILE</code>", then abort these steps. The file
- is not a <a href=#websrt-file>WebSRT file</a>.</li>
+ long but does not exactly equal "<code title="">WEBVTT FILE</code>", then abort these steps. The file
+ is not a <a href=#webvtt-file>WebVTT file</a>.</li>
<li><p>If <var title="">line</var> is more than eleven characters
long but does the first elevent characters do not exactly equal
- "<code title="">WEBSRT FILE</code>", or the twelfth character
+ "<code title="">WEBVTT FILE</code>", or the twelfth character
is neither a U+0020 SPACE character nor a U+0009 CHARACTER
TABULATION (tab) character, then abort these steps. The file is not
- a <a href=#websrt-file>WebSRT file</a>.</li>
+ a <a href=#webvtt-file>WebVTT file</a>.</li>
<li><p>If <var title="">position</var> is past the end of <var title="">input</var>, then jump to the step labeled
<i>end</i>.</li>
@@ -29585,7 +29585,7 @@
discard <var title="">cue</var> and jump to the step labeled <i>cue
loop</i>.</li>
- <li><p><i>Timings</i>: <a href=#collect-websrt-cue-timings-and-settings>Collect WebSRT cue timings and
+ <li><p><i>Timings</i>: <a href=#collect-webvtt-cue-timings-and-settings>Collect WebVTT cue timings and
settings</a> from <var title="">line</var>, using <var title="">cue</var> for the results. If that fails, jump to the step
labeled <i>bad cue</i>.</li>
@@ -29625,8 +29625,8 @@
<li><p><i>Cue text processing</i>: Let the <a href=#timed-track-cue-text>timed track cue
text</a> of <var title="">cue</var> be <var title="">cue
text</var>, and let the rules for its interpretation be the
- <a href=#websrt-cue-text-parsing-rules>WebSRT cue text parsing rules</a>, the <a href=#websrt-cue-text-rendering-rules>WebSRT cue
- text rendering rules</a>, and the <a href=#websrt-cue-text-dom-construction-rules>WebSRT cue text DOM
+ <a href=#webvtt-cue-text-parsing-rules>WebVTT cue text parsing rules</a>, the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue
+ text rendering rules</a>, and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue text DOM
construction rules</a>.</li>
<li><p>Add <var title="">cue</var> to the <a href=#timed-track-list-of-cues>timed track list of
@@ -29663,10 +29663,10 @@
<li><p><i>End</i>: The file has ended. Abort these steps. The
- <a href=#websrt-parser>WebSRT parser</a> has finished.</li>
+ <a href=#webvtt-parser>WebVTT parser</a> has finished.</li>
</ol><p>When the algorithm above requires that the user agent
- <dfn id=collect-websrt-cue-timings-and-settings>collect WebSRT cue timings and settings</dfn> from a string
+ <dfn id=collect-webvtt-cue-timings-and-settings>collect WebVTT cue timings and settings</dfn> from a string
<var title="">input</var> for a <a href=#timed-track-cue>timed track cue</a> <var title="">cue</var>, the user agent must run the following
algorithm.</p>
@@ -29678,7 +29678,7 @@
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
- <li><p><a href=#collect-a-websrt-timestamp>Collect a WebSRT timestamp</a>. If that algorithm
+ <li><p><a href=#collect-a-webvtt-timestamp>Collect a WebVTT timestamp</a>. If that algorithm
fails, then abort these steps and return failure. Otherwise, let
<var title="">cue</var>'s <a href=#timed-track-cue-start-time>timed track cue start time</a>
be the collected time.</li>
@@ -29703,16 +29703,16 @@
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
- <li><p><a href=#collect-a-websrt-timestamp>Collect a WebSRT timestamp</a>. If that algorithm
+ <li><p><a href=#collect-a-webvtt-timestamp>Collect a WebVTT timestamp</a>. If that algorithm
fails, then abort these steps and return failure. Otherwise, let
<var title="">cue</var>'s <a href=#timed-track-cue-end-time>timed track cue end time</a>
be the collected time.</li>
<li><p><a href=#skip-whitespace>Skip whitespace</a>.</li>
- <li><p><a href=#parse-the-websrt-settings>Parse the WebSRT settings</a> for <var title="">cue</var>.</li>
+ <li><p><a href=#parse-the-webvtt-settings>Parse the WebVTT settings</a> for <var title="">cue</var>.</li>
- </ol><p>When the user agent is to <dfn id=parse-the-websrt-settings>parse the WebSRT settings</dfn>
+ </ol><p>When the user agent is to <dfn id=parse-the-webvtt-settings>parse the WebVTT settings</dfn>
for a <a href=#timed-track-cue>timed track cue</a> <var title="">cue</var>, the
user agent must run the following steps:</p>
@@ -29935,7 +29935,7 @@
<li><p>Jump back to the step labeled <i>settings</i>.</li>
</ol><p>When this specification says that a user agent is to
- <dfn id=collect-a-websrt-timestamp>collect a WebSRT timestamp</dfn>, the user agent must run the
+ <dfn id=collect-a-webvtt-timestamp>collect a WebVTT timestamp</dfn>, the user agent must run the
following steps:</p>
<ol><li><p>Let <var title="">input</var> and <var title="">position</var> be the same variables as those of the same
@@ -30040,105 +30040,105 @@
<li><p>Return <var title="">result</var>.</li>
- </ol><h6 id=websrt-cue-text-parsing-rules><span class=secno>4.8.10.11.3 </span><dfn>WebSRT cue text parsing rules</dfn></h6>
+ </ol><h6 id=webvtt-cue-text-parsing-rules><span class=secno>4.8.10.11.3 </span><dfn>WebVTT cue text parsing rules</dfn></h6>
- <p>A <dfn id=websrt-node-object>WebSRT Node Object</dfn> is a conceptual construct used to
- represent components of <a href=#websrt-cue-text>WebSRT cue text</a> so that its
+ <p>A <dfn id=webvtt-node-object>WebVTT Node Object</dfn> is a conceptual construct used to
+ represent components of <a href=#webvtt-cue-text>WebVTT cue text</a> so that its
processing can be described without reference to the underlying
syntax.</p>
- <p>There are two broad classes of <a href=#websrt-node-object title="WebSRT Node
- Object">WebSRT Node Objects</a>: <a href=#websrt-internal-node-object title="WebSRT Internal
- Node Object">WebSRT Internal Node Objects</a> and <a href=#websrt-leaf-node-object title="WebSRT Leaf Node Object">WebSRT Leaf Node Objects</a>.</p>
+ <p>There are two broad classes of <a href=#webvtt-node-object title="WebVTT Node
+ Object">WebVTT Node Objects</a>: <a href=#webvtt-internal-node-object title="WebVTT Internal
+ Node Object">WebVTT Internal Node Objects</a> and <a href=#webvtt-leaf-node-object title="WebVTT Leaf Node Object">WebVTT Leaf Node Objects</a>.</p>
- <p><dfn id=websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
- Objects</dfn> are those that can contain further <a href=#websrt-node-object title="WebSRT
- Node Object">WebSRT Node Objects</a>. They are conceptually
- similar to elements in HTML or the DOM. <a href=#websrt-internal-node-object title="WebSRT Internal
- Node Object">WebSRT Internal Node Objects</a> have an ordered
- list of child <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node
- Objects</a>. The <a href=#websrt-internal-node-object>WebSRT Internal Node Object</a> is said
+ <p><dfn id=webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
+ Objects</dfn> are those that can contain further <a href=#webvtt-node-object title="WebVTT
+ Node Object">WebVTT Node Objects</a>. They are conceptually
+ similar to elements in HTML or the DOM. <a href=#webvtt-internal-node-object title="WebVTT Internal
+ Node Object">WebVTT Internal Node Objects</a> have an ordered
+ list of child <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node
+ Objects</a>. The <a href=#webvtt-internal-node-object>WebVTT Internal Node Object</a> is said
to be the <i>parent</i> of the children. Cycles do not occur; the
parent-child relationships so constructed form a tree structure.
- <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
+ <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</a> also have an ordered list of class names, know as
- their <dfn id="websrt-node-object's-applicable-classes" title="WebSRT Node Object's applicable
+ their <dfn id="webvtt-node-object's-applicable-classes" title="WebVTT Node Object's applicable
classes">applicable classes</dfn>.</p>
- <p>There are several concrete classes of <a href=#websrt-internal-node-object title="WebSRT
- Internal Node Object">WebSRT Internal Node Objects</a>:</p>
+ <p>There are several concrete classes of <a href=#webvtt-internal-node-object title="WebVTT
+ Internal Node Object">WebVTT Internal Node Objects</a>:</p>
- <dl><dt><dfn id=list-of-websrt-node-objects title="List of WebSRT Node Objects">Lists of WebSRT Node Objects</dfn></dt>
+ <dl><dt><dfn id=list-of-webvtt-node-objects title="List of WebVTT Node Objects">Lists of WebVTT Node Objects</dfn></dt>
<dd>
- <p>These are used as root nodes for trees of <a href=#websrt-node-object title="WebSRT
- Node Object">WebSRT Node Objects</a>.</p>
+ <p>These are used as root nodes for trees of <a href=#webvtt-node-object title="WebVTT
+ Node Object">WebVTT Node Objects</a>.</p>
</dd>
- <dt><dfn id=websrt-class-object title="WebSRT Class Object">WebSRT Class Objects</dfn></dt>
+ <dt><dfn id=webvtt-class-object title="WebVTT Class Object">WebVTT Class Objects</dfn></dt>
<dd>
- <p>These represent spans of text (a <a href=#websrt-cue-class-span>WebSRT cue class
- span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>, and are used to
- annotate parts of the cue with <a href="#websrt-node-object's-applicable-classes" title="WebSRT Node Object's
+ <p>These represent spans of text (a <a href=#webvtt-cue-class-span>WebVTT cue class
+ span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>, and are used to
+ annotate parts of the cue with <a href="#webvtt-node-object's-applicable-classes" title="WebVTT Node Object's
applicable classes">applicable classes</a> without implying
further meaning (such as italics or bold).</p>
</dd>
- <dt><dfn id=websrt-italic-object title="WebSRT Italic Object">WebSRT Italic Objects</dfn></dt>
+ <dt><dfn id=webvtt-italic-object title="WebVTT Italic Object">WebVTT Italic Objects</dfn></dt>
<dd>
- <p>These represent spans of italic text (a <a href=#websrt-cue-italics-span>WebSRT cue
- italics span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>.</p>
+ <p>These represent spans of italic text (a <a href=#webvtt-cue-italics-span>WebVTT cue
+ italics span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>.</p>
</dd>
- <dt><dfn id=websrt-bold-object title="WebSRT Bold Object">WebSRT Bold Objects</dfn></dt>
+ <dt><dfn id=webvtt-bold-object title="WebVTT Bold Object">WebVTT Bold Objects</dfn></dt>
<dd>
- <p>These represent spans of bold text (a <a href=#websrt-cue-bold-span>WebSRT cue
- bold span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>.</p>
+ <p>These represent spans of bold text (a <a href=#webvtt-cue-bold-span>WebVTT cue
+ bold span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>.</p>
</dd>
- <dt><dfn id=websrt-ruby-object title="WebSRT Ruby Object">WebSRT Ruby Objects</dfn></dt>
+ <dt><dfn id=webvtt-ruby-object title="WebVTT Ruby Object">WebVTT Ruby Objects</dfn></dt>
<dd>
- <p>These represent spans of ruby (a <a href=#websrt-cue-ruby-span>WebSRT cue
- ruby span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>.</p>
+ <p>These represent spans of ruby (a <a href=#webvtt-cue-ruby-span>WebVTT cue
+ ruby span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>.</p>
</dd>
- <dt><dfn id=websrt-ruby-text-object title="WebSRT Ruby Text Object">WebSRT Ruby Text Objects</dfn></dt>
+ <dt><dfn id=webvtt-ruby-text-object title="WebVTT Ruby Text Object">WebVTT Ruby Text Objects</dfn></dt>
<dd>
- <p>These represent spans of ruby text (a <a href=#websrt-cue-ruby-text-span>WebSRT cue ruby
- text span</a>) in <a href=#websrt-cue-text>WebSRT cue text</a>.</p>
+ <p>These represent spans of ruby text (a <a href=#webvtt-cue-ruby-text-span>WebVTT cue ruby
+ text span</a>) in <a href=#webvtt-cue-text>WebVTT cue text</a>.</p>
</dd>
- <dt><dfn id=websrt-voice-object title="WebSRT Voice Object">WebSRT Voice Objects</dfn></dt>
+ <dt><dfn id=webvtt-voice-object title="WebVTT Voice Object">WebVTT Voice Objects</dfn></dt>
<dd>
<p>These represent spans of text associated with a specific voice
- (a <a href=#websrt-cue-voice-span>WebSRT cue voice span</a>) in <a href=#websrt-cue-text>WebSRT cue
- text</a>. A <a href=#websrt-voice-object>WebSRT Voice Object</a> has a value, which
+ (a <a href=#webvtt-cue-voice-span>WebVTT cue voice span</a>) in <a href=#webvtt-cue-text>WebVTT cue
+ text</a>. A <a href=#webvtt-voice-object>WebVTT Voice Object</a> has a value, which
is the name of the voice.</p>
</dd>
- </dl><p><dfn id=websrt-leaf-node-object title="WebSRT Leaf Node Object">WebSRT Leaf Node
+ </dl><p><dfn id=webvtt-leaf-node-object title="WebVTT Leaf Node Object">WebVTT Leaf Node
Objects</dfn> are those that contain data, such as text, and cannot
- contain child <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node
+ contain child <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node
Objects</a>.</p>
- <p>There are two concrete classes of <a href=#websrt-leaf-node-object title="WebSRT Leaf Node
- Object">WebSRT Leaf Node Objects</a>:</p>
+ <p>There are two concrete classes of <a href=#webvtt-leaf-node-object title="WebVTT Leaf Node
+ Object">WebVTT Leaf Node Objects</a>:</p>
- <dl><dt><dfn id=websrt-text-object title="WebSRT Text Object">WebSRT Text Objects</dfn></dt>
+ <dl><dt><dfn id=webvtt-text-object title="WebVTT Text Object">WebVTT Text Objects</dfn></dt>
<dd>
- <p>A fragment of text. A <a href=#websrt-text-object>WebSRT Text Object</a> has a
+ <p>A fragment of text. A <a href=#webvtt-text-object>WebVTT Text Object</a> has a
value, which is the text it represents.</p>
</dd>
- <dt><dfn id=websrt-timestamp-object title="WebSRT Timestamp Object">WebSRT Timestamp Objects</dfn></dt>
+ <dt><dfn id=webvtt-timestamp-object title="WebVTT Timestamp Object">WebVTT Timestamp Objects</dfn></dt>
<dd>
- <p>A timestamp. A <a href=#websrt-timestamp-object>WebSRT Timestamp Object</a> has a
+ <p>A timestamp. A <a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a> has a
value, in seconds and fractions of a second, which is the time
represented by the timestamp.</p>
</dd>
</dl><p>To parse a string <var title="">input</var> supposedly containing
- <a href=#websrt-cue-text>WebSRT cue text</a>, user agents must use the following
- algorithm. This algorithm returns a <a href=#list-of-websrt-node-objects>list of WebSRT Node
+ <a href=#webvtt-cue-text>WebVTT cue text</a>, user agents must use the following
+ algorithm. This algorithm returns a <a href=#list-of-webvtt-node-objects>list of WebVTT Node
Objects</a>.</p>
<ol><li><p>Let <var title="">input</var> be the string being
@@ -30147,10 +30147,10 @@
<li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the
string.</li>
- <li><p>Let <var title="">result</var> be a <a href=#list-of-websrt-node-objects>List of WebSRT
+ <li><p>Let <var title="">result</var> be a <a href=#list-of-webvtt-node-objects>List of WebVTT
Node Objects</a>, initially empty.</li>
- <li><p>Let <var title="">current</var> be the <a href=#websrt-internal-node-object>WebSRT Internal
+ <li><p>Let <var title="">current</var> be the <a href=#webvtt-internal-node-object>WebVTT Internal
Node Object</a> <var title="">result</var>.</li>
<li><p><i>Loop</i>: If <var title="">position</var> is past the end
@@ -30158,7 +30158,7 @@
abort these steps.</li>
<li><p>Let <var title="">token</var> be the result of invoking the
- <a href=#websrt-cue-text-tokeniser>WebSRT cue text tokeniser</a>.</li>
+ <a href=#webvtt-cue-text-tokeniser>WebVTT cue text tokeniser</a>.</li>
<li>
@@ -30167,10 +30167,10 @@
<dl><dt>If <var title="">token</var> is a string</dt>
<dd>
- <ol><li><p>Create a <a href=#websrt-text-object>WebSRT Text Object</a> whose value is
+ <ol><li><p>Create a <a href=#webvtt-text-object>WebVTT Text Object</a> whose value is
the value of the string token <var title="">token</var>.</li>
- <li><p>Append the newly created <a href=#websrt-text-object>WebSRT Text Object</a>
+ <li><p>Append the newly created <a href=#webvtt-text-object>WebVTT Text Object</a>
to <var title="">current</var>.</li>
</ol></dd>
@@ -30188,40 +30188,40 @@
<dt>If the tag name is "<code title="">c</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-class-object>WebSRT Class Object</a>.</p>
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-class-object>WebVTT Class Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">i</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-italic-object>WebSRT Italic Object</a>.</p>
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-italic-object>WebVTT Italic Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">b</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-bold-object>WebSRT Bold Object</a>.</p>
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-bold-object>WebVTT Bold Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">ruby</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-ruby-object>WebSRT Ruby Object</a>.</p>
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-ruby-object>WebVTT Ruby Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">rt</code>"</dt>
<dd>
- <p>If <var title="">current</var> is a <a href=#websrt-ruby-object>WebSRT Ruby
- Object</a>, then <a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">attach</a> a <a href=#websrt-ruby-text-object>WebSRT Ruby Text
+ <p>If <var title="">current</var> is a <a href=#webvtt-ruby-object>WebVTT Ruby
+ Object</a>, then <a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">attach</a> a <a href=#webvtt-ruby-text-object>WebVTT Ruby Text
Object</a>.</p>
</dd>
<dt>If the tag name is "<code title="">v</code>"</dt>
<dd>
- <p><a href=#attach-a-websrt-internal-node-object title="attach a WebSRT Internal Node
- Object">Attach</a> a <a href=#websrt-voice-object>WebSRT Voice Object</a>, and
+ <p><a href=#attach-a-webvtt-internal-node-object title="attach a WebVTT Internal Node
+ Object">Attach</a> a <a href=#webvtt-voice-object>WebVTT Voice Object</a>, and
set its value to the token's annotation string.</p>
</dd>
@@ -30230,10 +30230,10 @@
<p>Ignore the token.</p>
</dd>
- </dl><p>When the steps above say to <dfn id=attach-a-websrt-internal-node-object>attach a WebSRT Internal
+ </dl><p>When the steps above say to <dfn id=attach-a-webvtt-internal-node-object>attach a WebVTT Internal
Node Object</dfn> of a particular class, the user agent must
first create an object of the specified class, then set its list
- of <a href="#websrt-node-object's-applicable-classes" title="WebSRT Node Object's applicable
+ of <a href="#webvtt-node-object's-applicable-classes" title="WebVTT Node Object's applicable
classes">applicable classes</a> to the list of classes in the
token, append the newly created node object to <var title="">current</var>, and finally let <var title="">current</var> be the newly created node object.</p>
@@ -30246,29 +30246,29 @@
<ul class=brief><li>The tag name of the end tag token <var title="">token</var>
is "<code title="">c</code>" and <var title="">current</var> is
- a <a href=#websrt-class-object>WebSRT Class Object</a>.</li>
+ a <a href=#webvtt-class-object>WebVTT Class Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">i</code>" and <var title="">current</var> is
- a <a href=#websrt-italic-object>WebSRT Italic Object</a>.</li>
+ a <a href=#webvtt-italic-object>WebVTT Italic Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">b</code>" and <var title="">current</var> is
- a <a href=#websrt-bold-object>WebSRT Bold Object</a>.</li>
+ a <a href=#webvtt-bold-object>WebVTT Bold Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">ruby</code>" and <var title="">current</var> is
- a <a href=#websrt-ruby-object>WebSRT Ruby Object</a>.</li>
+ a <a href=#webvtt-ruby-object>WebVTT Ruby Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">rt</code>" and <var title="">current</var> is
- a <a href=#websrt-ruby-text-object>WebSRT Ruby Text Object</a>.</li>
+ a <a href=#webvtt-ruby-text-object>WebVTT Ruby Text Object</a>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">v</code>" and <var title="">current</var> is
- a <a href=#websrt-voice-object>WebSRT Voice Object</a>.</li>
+ a <a href=#webvtt-voice-object>WebVTT Voice Object</a>.</li>
- </ul><p>Otherwise, if the tag name of the end tag token <var title="">token</var> is "<code title="">ruby</code>" and <var title="">current</var> is a <a href=#websrt-ruby-text-object>WebSRT Ruby Text
+ </ul><p>Otherwise, if the tag name of the end tag token <var title="">token</var> is "<code title="">ruby</code>" and <var title="">current</var> is a <a href=#webvtt-ruby-text-object>WebVTT Ruby Text
Object</a>, then let <var title="">current</var> be the
parent node of <var title="">current</var> of the parent node of
<var title="">current</var>.</p>
@@ -30286,12 +30286,12 @@
<var title="">input</var>, initially pointing at the start of
the string.</li>
- <li><p><a href=#collect-a-websrt-timestamp>Collect a WebSRT timestamp</a>.</li>
+ <li><p><a href=#collect-a-webvtt-timestamp>Collect a WebVTT timestamp</a>.</li>
<li>
<p>If that algorithm does not fail, and if <var title="">position</var> now points at the end of <var title="">input</var> (i.e. there are no trailing characters
- after the timestamp), then create a <a href=#websrt-timestamp-object>WebSRT Timestamp
+ after the timestamp), then create a <a href=#webvtt-timestamp-object>WebVTT Timestamp
Object</a> whose value is the collected time, then append
it to <var title="">current</var>.</p>
@@ -30305,7 +30305,7 @@
<li><p>Jump to the step labeled <i>loop</i>.</li>
- </ol><p>The <dfn id=websrt-cue-text-tokeniser>WebSRT cue text tokeniser</dfn> is as follows. It emits
+ </ol><p>The <dfn id=webvtt-cue-text-tokeniser>WebVTT cue text tokeniser</dfn> is as follows. It emits
a token, which is either a string (whose value is a sequence of
Unicode characters), a start tag (with a tag name, a list of
classes, and optionally an annotation), an end tag (with a tag
@@ -30314,7 +30314,7 @@
<ol><li><p>Let <var title="">input</var> and <var title="">position</var> be the same variables as those of the same
name in the algorithm that invoked these steps.</li>
- <li><p>Let <var title="">tokeniser state</var> be <a href=#websrt-data-state>WebSRT data
+ <li><p>Let <var title="">tokeniser state</var> be <a href=#webvtt-data-state>WebVTT data
state</a>.</li>
<li><p>Let <var title="">result</var> be the empty string.</li>
@@ -30333,7 +30333,7 @@
<p>Jump to the state given by <var title="">tokeniser
state</var>:</p>
- <dl><dt><dfn id=websrt-data-state>WebSRT data state</dfn></dt>
+ <dl><dt><dfn id=webvtt-data-state>WebVTT data state</dfn></dt>
<dd>
@@ -30342,7 +30342,7 @@
<dl><dt>U+0026 AMPERSAND (&)</dt>
<dd>
<p>Set <var title="">buffer</var> to <var title="">c</var>,
- set <var title="">tokeniser state</var> to the <a href=#websrt-escape-state>WebSRT
+ set <var title="">tokeniser state</var> to the <a href=#webvtt-escape-state>WebVTT
escape state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30350,7 +30350,7 @@
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd>
<p>If <var title="">result</var> is the empty string, then set
- <var title="">tokeniser state</var> to the <a href=#websrt-tag-state>WebSRT tag
+ <var title="">tokeniser state</var> to the <a href=#webvtt-tag-state>WebVTT tag
state</a> and jump to the step labeled <i>next</i>.</p>
<p>Otherwise, return a string token whose value is <var title="">result</var> and abort these steps.</p>
</dd>
@@ -30368,7 +30368,7 @@
</dl></dd>
- <dt><dfn id=websrt-escape-state>WebSRT escape state</dfn></dt>
+ <dt><dfn id=webvtt-escape-state>WebVTT escape state</dfn></dt>
<dd>
@@ -30392,7 +30392,7 @@
U+003B SEMICOLON character (;) to <var title="">result</var>.</p>
<p>Then, in any case, set <var title="">tokeniser state</var>
- to the <a href=#websrt-data-state>WebSRT data state</a>, and jump to the step
+ to the <a href=#webvtt-data-state>WebVTT data state</a>, and jump to the step
labeled <i>next</i>.</p>
</dd>
@@ -30414,13 +30414,13 @@
<dt>Anything else</dt>
<dd>
<p>Append <var title="">buffer</var> to <var title="">result</var>, set <var title="">tokeniser state</var>
- to the <a href=#websrt-data-state>WebSRT data state</a>, and jump to the step
+ to the <a href=#webvtt-data-state>WebVTT data state</a>, and jump to the step
labeled <i>next</i>.</p>
</dd>
</dl></dd>
- <dt><dfn id=websrt-tag-state>WebSRT tag state</dfn></dt>
+ <dt><dfn id=webvtt-tag-state>WebVTT tag state</dfn></dt>
<dd>
@@ -30430,7 +30430,7 @@
<dt>U+0009 CHARACTER TABULATION (tab) character</dt>
<dd>
<!-- assert: >result< is the empty string -->
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-annotation-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
start tag annotation state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30438,14 +30438,14 @@
<dt>U+002E FULL STOP character (.)</dt>
<dd>
<!-- assert: >result< is the empty string -->
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-class-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-class-state>WebVTT
start tag class state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
<dt>U+002F SOLIDUS character (/)</dt>
<dd>
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-end-tag-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-end-tag-state>WebVTT
end tag state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30453,7 +30453,7 @@
<dt>Characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)</dt>
<dd>
<p>Set <var title="">result</var> to <var title="">c</var>,
- set <var title="">tokeniser state</var> to the <a href=#websrt-timestamp-tag-state>WebSRT
+ set <var title="">tokeniser state</var> to the <a href=#webvtt-timestamp-tag-state>WebVTT
timestamp tag state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30468,14 +30468,14 @@
<dt>Anything else</dt>
<dd>
<p>Set <var title="">result</var> to <var title="">c</var>,
- set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-state>WebSRT
+ set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-state>WebVTT
start tag state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
</dl></dd>
- <dt><dfn id=websrt-start-tag-state>WebSRT start tag state</dfn></dt>
+ <dt><dfn id=webvtt-start-tag-state>WebVTT start tag state</dfn></dt>
<dd>
@@ -30484,14 +30484,14 @@
<dl><dt>U+0020 SPACE character</dt>
<dt>U+0009 CHARACTER TABULATION (tab) character</dt>
<dd>
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-annotation-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
start tag annotation state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
<dt>U+002E FULL STOP character (.)</dt>
<dd>
- <p>Set <var title="">tokeniser state</var> to the <a href=#websrt-start-tag-class-state>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <a href=#webvtt-start-tag-class-state>WebVTT
start tag class state</a>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -30511,7 +30511,7 @@
</dl></dd>
- <dt><dfn id=websrt-start-tag-class-state>WebSRT start tag class state</dfn></dt>
+ <dt><dfn id=webvtt-start-tag-class-state>WebVTT start tag class state</dfn></dt>
<dd>
@@ -30523,7 +30523,7 @@
<p>Append to <var title="">classes</var> an entry whose value
is <var title="">buffer</var>, set <var title="">buffer</var>
to the empty string, set <var title="">tokeniser state</var>
- to the <a href=#websrt-start-tag-annotation-state>WebSRT start tag annotation state</a>, and
+ to the <a href=#webvtt-start-tag-annotation-state>WebVTT start tag annotation state</a>, and
jump to the step labeled <i>next</i>.</p>
</dd>
@@ -30553,7 +30553,7 @@
</dl></dd>
- <dt><dfn id=websrt-start-tag-annotation-state>WebSRT start tag annotation state</dfn></dt>
+ <dt><dfn id=webvtt-start-tag-annotation-state>WebVTT start tag annotation state</dfn></dt>
<dd>
@@ -30579,7 +30579,7 @@
</dl></dd>
- <dt><dfn id=websrt-end-tag-state>WebSRT end tag state</dfn></dt>
+ <dt><dfn id=webvtt-end-tag-state>WebVTT end tag state</dfn></dt>
<dd>
@@ -30599,7 +30599,7 @@
</dl></dd>
- <dt><dfn id=websrt-timestamp-tag-state>WebSRT timestamp tag state</dfn></dt>
+ <dt><dfn id=webvtt-timestamp-tag-state>WebVTT timestamp tag state</dfn></dt>
<dd>
@@ -30626,40 +30626,40 @@
<li><p>Jump to the step labeled <i>loop</i>.</li>
- </ol><h6 id=websrt-cue-text-dom-construction-rules><span class=secno>4.8.10.11.4 </span><dfn>WebSRT cue text DOM construction rules</dfn></h6>
+ </ol><h6 id=webvtt-cue-text-dom-construction-rules><span class=secno>4.8.10.11.4 </span><dfn>WebVTT cue text DOM construction rules</dfn></h6>
- <p>To convert a <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a> to a DOM
+ <p>To convert a <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a> to a DOM
tree for <code><a href=#document>Document</a></code> <var title="">owner</var>, user
agents must create a tree of DOM nodes that is isomorphous to the
- tree of <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a>,
- with the following mapping of <a href=#websrt-node-object title="WebSRT Node
- Object">WebSRT Node Objects</a> to DOM nodes:</p>
+ tree of <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a>,
+ with the following mapping of <a href=#webvtt-node-object title="WebVTT Node
+ Object">WebVTT Node Objects</a> to DOM nodes:</p>
- <table><thead><tr><th><a href=#websrt-node-object>WebSRT Node Object</a>
+ <table><thead><tr><th><a href=#webvtt-node-object>WebVTT Node Object</a>
<th>DOM node
- <tbody><tr><td><a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>
+ <tbody><tr><td><a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>
<td><code><a href=#documentfragment>DocumentFragment</a></code> node
- <tr><td><a href=#websrt-class-object>WebSRT Class Object</a>
+ <tr><td><a href=#webvtt-class-object>WebVTT Class Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-span-element>span</a></code>".
- <tr><td><a href=#websrt-italic-object>WebSRT Italic Object</a>
+ <tr><td><a href=#webvtt-italic-object>WebVTT Italic Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-i-element>i</a></code>".
- <tr><td><a href=#websrt-bold-object>WebSRT Bold Object</a>
+ <tr><td><a href=#webvtt-bold-object>WebVTT Bold Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-b-element>b</a></code>".
- <tr><td><a href=#websrt-ruby-object>WebSRT Ruby Object</a>
+ <tr><td><a href=#webvtt-ruby-object>WebVTT Ruby Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-ruby-element>ruby</a></code>".
- <tr><td><a href=#websrt-ruby-text-object>WebSRT Ruby Text Object</a>
+ <tr><td><a href=#webvtt-ruby-text-object>WebVTT Ruby Text Object</a>
<td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-rt-element>rt</a></code>".
- <tr><td><a href=#websrt-voice-object>WebSRT Voice Object</a>
- <td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-q-element>q</a></code>", a <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute set to the <a href=#websrt-voice-object>WebSRT Voice Object</a>'s value.
- <tr><td><a href=#websrt-text-object>WebSRT Text Object</a>
- <td><code><a href=#text>Text</a></code> node whose character data is the value of the <a href=#websrt-text-object>WebSRT Text Object</a>.
- <tr><td><a href=#websrt-timestamp-object>WebSRT Timestamp Object</a>
- <td><code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose <code title=dom-ProcessingInstruction-target>target</code> is "<code title="">timestamp</code>" and whose <code title=dom-ProcessingInstruction-data>data</code> is a <a href=#websrt-timestamp>WebSRT timestamp</a> representing the value of the <a href=#websrt-timestamp-object>WebSRT Timestamp Object</a>, with all optional components included and with the seconds separator being a U+002E FULL STOP character (.).
+ <tr><td><a href=#webvtt-voice-object>WebVTT Voice Object</a>
+ <td><code><a href=#htmlelement>HTMLElement</a></code> element node with <code title=dom-Node-localName><a href=#dom-node-localname>localName</a></code> "<code><a href=#the-q-element>q</a></code>", a <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute set to the <a href=#webvtt-voice-object>WebVTT Voice Object</a>'s value.
+ <tr><td><a href=#webvtt-text-object>WebVTT Text Object</a>
+ <td><code><a href=#text>Text</a></code> node whose character data is the value of the <a href=#webvtt-text-object>WebVTT Text Object</a>.
+ <tr><td><a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a>
+ <td><code><a href=#processinginstruction>ProcessingInstruction</a></code> node whose <code title=dom-ProcessingInstruction-target>target</code> is "<code title="">timestamp</code>" and whose <code title=dom-ProcessingInstruction-data>data</code> is a <a href=#webvtt-timestamp>WebVTT timestamp</a> representing the value of the <a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a>, with all optional components included and with the seconds separator being a U+002E FULL STOP character (.).
</table><p><code><a href=#htmlelement>HTMLElement</a></code> nodes created as part of the mapping
described above must have their <code title=dom-Node-namespaceURI><a href=#dom-node-namespaceuri>namespaceURI</a></code> set to the
<a href=#html-namespace-0>HTML namespace</a>, and must have a <code title=attr-class><a href=#classes>class</a></code> attribute set to the string obtained
by concatenating all the classes that apply to the corresponding
- <a href=#websrt-internal-node-object>WebSRT Internal Node Object</a>, each separated from the
+ <a href=#webvtt-internal-node-object>WebVTT Internal Node Object</a>, each separated from the
next by a single U+0020 SPACE character.</p>
<p>The <code title=dom-Node-ownerDocument><a href=#dom-node-ownerdocument>ownerDocument</a></code>
@@ -81252,8 +81252,8 @@
<!--KEEP-END w3c-html--><!--TT-->
<p>Any subtitles or captions are expected to be overlayed directly
on top of their <code><a href=#video>video</a></code> element, as defined by the
- relevant rendering rules; for <a href=#websrt>WebSRT</a>, those are the
- <a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering rules</a> defined below.</p>
+ relevant rendering rules; for <a href=#webvtt>WebVTT</a>, those are the
+ <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text rendering rules</a> defined below.</p>
<p>When the user agent starts <a href=#expose-a-user-interface-to-the-user title="expose a user interface
to the user">exposing a user interface</a> for a
@@ -81261,8 +81261,8 @@
for updating the timed track rendering</a> of each of the <a href=#timed-track title="timed track">timed tracks</a> in the <code><a href=#video>video</a></code>
element's <a href=#list-of-timed-tracks>list of timed tracks</a> that are <a href=#timed-track-showing title="timed track showing">showing</a> or <a href=#timed-track-showing-by-default title="timed
track showing by default">showing by default</a> (e.g., for <a href=#timed-track title="timed track">timed tracks</a> based on
- <a href=#websrt>WebSRT</a>, the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of
- WebSRT timed tracks</a>).</p>
+ <a href=#webvtt>WebVTT</a>, the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of
+ WebVTT timed tracks</a>).</p>
<!--KEEP-START w3c-html--><!--TT-->
<p class=note>Resizing <code><a href=#video>video</a></code> and <code><a href=#the-canvas-element>canvas</a></code>
@@ -81287,9 +81287,9 @@
module once an editor is found to run with it.</p>
- <h5 id=websrt-cue-text-rendering-rules><span class=secno>12.3.2.1 </span><dfn>WebSRT cue text rendering rules</dfn></h5>
+ <h5 id=webvtt-cue-text-rendering-rules><span class=secno>12.3.2.1 </span><dfn>WebVTT cue text rendering rules</dfn></h5>
- <p>The <dfn id=rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of WebSRT timed
+ <p>The <dfn id=rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of WebVTT timed
tracks</dfn> render the <a href=#timed-track title="timed track">timed
tracks</a> of a <a href=#media-element>media element</a> (specifically, a
<code><a href=#video>video</a></code> element), or of another playback mechanism, by
@@ -81327,7 +81327,7 @@
<li><p>Let <var title="">tracks</var> be the subset of <var title="">video</var>'s <a href=#list-of-timed-tracks>list of timed tracks</a> that have
as their <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track rendering</a>
- these <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of WebSRT timed
+ these <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of WebVTT timed
tracks</a>, and whose <a href=#timed-track-mode>timed track mode</a> is <a href=#timed-track-showing title="timed track showing">showing</a> or <a href=#timed-track-showing-by-default title="timed
track showing by default">showing by default</a>.</li>
@@ -81350,8 +81350,8 @@
boxes added to <var title="">output</var>, in <a href=#timed-track-cue-order>timed track
cue order</a>, run the following substeps:</p>
- <ol><li><p>Let <var title="">nodes</var> be the <a href=#list-of-websrt-node-objects>list of WebSRT
- Node Objects</a> obtained by applying the <a href=#websrt-cue-text-parsing-rules>WebSRT cue
+ <ol><li><p>Let <var title="">nodes</var> be the <a href=#list-of-webvtt-node-objects>list of WebVTT
+ Node Objects</a> obtained by applying the <a href=#webvtt-cue-text-parsing-rules>WebVTT cue
text parsing rules</a> to the <var title="">cue</var>'s
<a href=#timed-track-cue-text>timed track cue text</a>.</p>
@@ -81365,8 +81365,8 @@
<ul><li><var title="">nodes</var> represents a single paragraph.</li>
<li>The paragraph's text consists of the concatenation of the
- values of each <a href=#websrt-text-object>WebSRT Text Object</a> in <var title="">nodes</var>, in a pre-order, depth-first traversal,
- excluding <a href=#websrt-ruby-text-object title="WebSRT Ruby Text Object">WebSRT Ruby
+ values of each <a href=#webvtt-text-object>WebVTT Text Object</a> in <var title="">nodes</var>, in a pre-order, depth-first traversal,
+ excluding <a href=#webvtt-ruby-text-object title="WebVTT Ruby Text Object">WebVTT Ruby
Text Objects</a> and their descendants.</li>
</ul></li>
@@ -81586,16 +81586,16 @@
obtaining a set of CSS boxes positioned relative to an initial
containing block: <a href=#refsCSS>[CSS]</a></p>
- <ul><li><p>The <i>document tree</i> is the tree of <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a> rooted at
+ <ul><li><p>The <i>document tree</i> is the tree of <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a> rooted at
<var title="">nodes</var>.</li>
<li><p>For the purposes of processing by the CSS specification,
- <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
+ <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</a> are equivalent to elements with the same
contents.</li>
<li>For the purposes of processing by the CSS
- specification, <a href=#websrt-text-object title="WebSRT Text Object">WebSRT Text
+ specification, <a href=#webvtt-text-object title="WebVTT Text Object">WebVTT Text
Objects</a> are equivalent to text nodes.</li>
<li>No style sheets are associated with <var title="">nodes</var>. (The nodes are subsequently restyled
@@ -81604,16 +81604,16 @@
<li>The children of the <var title="">nodes</var> must be
wrapped in an anonymous box whose 'display' property has the
- value 'inline'. This is the <dfn id=websrt-cue-background-box>WebSRT cue background
+ value 'inline'. This is the <dfn id=webvtt-cue-background-box>WebVTT cue background
box</dfn>.</li>
- <li>Runs of children of <a href=#websrt-ruby-object title="WebSRT Ruby Object">WebSRT
- Ruby Objects</a> that are not <a href=#websrt-ruby-text-object title="WebSRT Ruby Text
- Object">WebSRT Ruby Text Objects</a> must be wrapped in
+ <li>Runs of children of <a href=#webvtt-ruby-object title="WebVTT Ruby Object">WebVTT
+ Ruby Objects</a> that are not <a href=#webvtt-ruby-text-object title="WebVTT Ruby Text
+ Object">WebVTT Ruby Text Objects</a> must be wrapped in
anonymous boxes whose 'display' property has the value
'ruby-base'. <a href=#refsCSSRUBY>[CSSRUBY]</a></li>
- <li>Properties on <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node
+ <li>Properties on <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node
Objects</a> have their values set as defined in the next
section. (That section uses some of the variables whose values
were calculated earlier in this algorithm.)</li>
@@ -81856,13 +81856,13 @@
<li><p>Return <var title="">output</var>.</li>
- </ol><h5 id=applying-css-properties-to-websrt-node-objects><span class=secno>12.3.2.2 </span>Applying CSS properties to <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a></h5>
+ </ol><h5 id=applying-css-properties-to-webvtt-node-objects><span class=secno>12.3.2.2 </span>Applying CSS properties to <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a></h5>
- <p>When following the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the display of WebSRT
- timed tracks</a>, user agents must set properties of <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a> as defined in
+ <p>When following the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the display of WebVTT
+ timed tracks</a>, user agents must set properties of <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a> as defined in
this section. <a href=#refsCSS>[CSS]</a></p>
- <p>On the (root) <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>, the
+ <p>On the (root) <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>, the
'position' property must be set to 'absolute', the 'direction'
property must be set to <var title="">direction</var>, the
'block-flow' property must be set to <var title="">block-flow</var>,
@@ -81870,34 +81870,34 @@
'left' property must be set to <var title="">left</var>, the 'width'
property must be set to <var title="">width</var>, and the 'height'
property must be set to <var title="">height</var>, where <var title="">direction</var>, <var title="">block-flow</var>, <var title="">top</var>, <var title="">left</var>, <var title="">width</var>, and <var title="">height</var> are the values
- with those names determined by the <a href=#rules-for-updating-the-display-of-websrt-timed-tracks>rules for updating the
- display of WebSRT timed tracks</a> for the <a href=#timed-track-cue>timed track
+ with those names determined by the <a href=#rules-for-updating-the-display-of-webvtt-timed-tracks>rules for updating the
+ display of WebVTT timed tracks</a> for the <a href=#timed-track-cue>timed track
cue</a> from whose <a href=#timed-track-cue-text title="timed track cue text">text</a>
- the <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a> was constructed.</p>
+ the <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a> was constructed.</p>
- <p>The 'font' shorthand property on the (root) <a href=#list-of-websrt-node-objects>List of WebSRT
+ <p>The 'font' shorthand property on the (root) <a href=#list-of-webvtt-node-objects>List of WebVTT
Node Objects</a> must be set to '0.1vh sans-serif'. <a href=#refsCSSRUBY>[CSSRUBY]</a> <a href=#refsCSSVALUES>[CSSVALUES]</a></p>
- <p>The 'color' property on the (root) <a href=#list-of-websrt-node-objects>List of WebSRT Node
+ <p>The 'color' property on the (root) <a href=#list-of-webvtt-node-objects>List of WebVTT Node
Objects</a> must be set to 'rgba(255,255,255,0)'. <a href=#refsCSSCOLOR>[CSSCOLOR]</a></p>
- <p>The 'background' shorthand property on the <a href=#websrt-cue-background-box>WebSRT cue
+ <p>The 'background' shorthand property on the <a href=#webvtt-cue-background-box>WebVTT cue
background box</a> must be set to 'rgba(0,0,0,0.8)'. <a href=#refsCSSCOLOR>[CSSCOLOR]</a></p>
- <p>A text outline or stroke may also be set on the (root) <a href=#list-of-websrt-node-objects>List
- of WebSRT Node Objects</a>, if supported.</p> <!-- 'text-outline'
+ <p>A text outline or stroke may also be set on the (root) <a href=#list-of-webvtt-node-objects>List
+ of WebVTT Node Objects</a>, if supported.</p> <!-- 'text-outline'
is in CSS3 Text, but Tab says that's awaiting medical attention. -->
- <p>The 'font-style' property on <a href=#websrt-italic-object title="WebSRT Italic
- Object">WebSRT Italic Objects</a> must be set to 'italic'.</p>
- <p>The 'font-weight' property on <a href=#websrt-bold-object title="WebSRT Bold
- Object">WebSRT Bold Objects</a> must be set to 'bold'.</p>
+ <p>The 'font-style' property on <a href=#webvtt-italic-object title="WebVTT Italic
+ Object">WebVTT Italic Objects</a> must be set to 'italic'.</p>
+ <p>The 'font-weight' property on <a href=#webvtt-bold-object title="WebVTT Bold
+ Object">WebVTT Bold Objects</a> must be set to 'bold'.</p>
- <p>The 'display' property on <a href=#websrt-ruby-object title="WebSRT Ruby Object">WebSRT
+ <p>The 'display' property on <a href=#webvtt-ruby-object title="WebVTT Ruby Object">WebVTT
Ruby Objects</a> must be set to 'ruby'. <a href=#refsCSSRUBY>[CSSRUBY]</a></p>
- <p>The 'display' property on <a href=#websrt-ruby-text-object title="WebSRT Ruby Text
- Object">WebSRT Ruby Text Objects</a> must be set to
+ <p>The 'display' property on <a href=#webvtt-ruby-text-object title="WebVTT Ruby Text
+ Object">WebVTT Ruby Text Objects</a> must be set to
'ruby-text'. <a href=#refsCSSRUBY>[CSSRUBY]</a></p>
<p>If there are style sheets that apply to the <a href=#media-element>media
@@ -81905,27 +81905,27 @@
interpreted as defined in the next section.</p>
<p>All other non-inherited properties must be set to their initial
- values; inherited properties on the root <a href=#list-of-websrt-node-objects>List of WebSRT Node
+ values; inherited properties on the root <a href=#list-of-webvtt-node-objects>List of WebVTT Node
Objects</a> must inherit their values from the <a href=#media-element>media
element</a> for which the <a href=#timed-track-cue>timed track cue</a> is being
rendered, if any. If there is no <a href=#media-element>media element</a> (i.e. if
the <a href=#timed-track>timed track</a> is being rendered for another media
playback mechanism), then inherited properties on the root
- <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a> must take their initial
+ <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a> must take their initial
values.</p>
<h5 id=css-extensions><span class=secno>12.3.2.3 </span>CSS extensions</h5>
<p>When a user agent is rendering one or more <a href=#timed-track-cue title="timed
- track cue">timed track cues</a> according to the <a href=#websrt-cue-text-rendering-rules>WebSRT cue
- text rendering rules</a>, <a href=#websrt-node-object title="WebSRT Node Object">WebSRT
- Node Objects</a> in the <a href=#list-of-websrt-node-objects>list of WebSRT Node Objects</a>
+ track cue">timed track cues</a> according to the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue
+ text rendering rules</a>, <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT
+ Node Objects</a> in the <a href=#list-of-webvtt-node-objects>list of WebVTT Node Objects</a>
used in the rendering can be matched by certain pseudo-selectors as
defined below. These selectors can begin or stop matching individual
- <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a> while a
+ <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a> while a
<a href=#timed-track-cue title="timed track cue">cue</a> is being rendered, even in
- between applications of the <a href=#websrt-cue-text-rendering-rules>WebSRT cue text rendering
+ between applications of the <a href=#webvtt-cue-text-rendering-rules>WebVTT cue text rendering
rules</a> (which are only run when the set of active cues
changes). User agents that support the pseudo-element described
below must dynamically update renderings accordingly.</p>
@@ -81950,11 +81950,11 @@
<h6 id="the-'::cue'-pseudo-element"><span class=secno>12.3.2.3.1 </span>The '::cue' pseudo-element</h6>
<p>The '<dfn id=pseudo-cue title=pseudo-cue>::cue</dfn>' pseudo-element (with no
- argument) matches any <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>
+ argument) matches any <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>
constructed for the <i>matched element</i>, with the exception that
the properties corresponding to the 'background' shorthand must be
- applied to the <a href=#websrt-cue-background-box>WebSRT cue background box</a> rather than
- the <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>.</p>
+ applied to the <a href=#webvtt-cue-background-box>WebVTT cue background box</a> rather than
+ the <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>.</p>
<p>The following properties apply to the '::cue' pseudo-element with
no argument; other properties set on the pseudo-element must be
@@ -81976,24 +81976,24 @@
-->
</ul><p>The '<dfn id=pseudo-cue-selector title=pseudo-cue-selector>::cue(<var title="">selector</var>)</dfn>' pseudo-element with an argument must
have an argument that consists of a group of selectors. It matches
- any <a href=#websrt-internal-node-object>WebSRT Internal Node Object</a> constructed for the
+ any <a href=#webvtt-internal-node-object>WebVTT Internal Node Object</a> constructed for the
<i>matched element</i> that also matches the given group of
selectors, with the nodes being treated as follows:</p>
<ul><li><p>The <i>document tree</i> against which the selectors are
- matched is the tree of <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node
- Objects</a> rooted at the <a href=#list-of-websrt-node-objects>list of WebSRT Node
+ matched is the tree of <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node
+ Objects</a> rooted at the <a href=#list-of-webvtt-node-objects>list of WebVTT Node
Objects</a> for the cue.</li>
- <li><p><a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal
+ <li><p><a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal
Node Objects</a> are elements in the tree.</li>
- <li><a href=#websrt-leaf-node-object title="WebSRT Leaf Node Object">WebSRT Leaf Node
+ <li><a href=#webvtt-leaf-node-object title="WebVTT Leaf Node Object">WebVTT Leaf Node
Objects</a> cannot be matched.</li>
<li>
- <p>For the purposes of element type selectors, the names of <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
+ <p>For the purposes of element type selectors, the names of <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</a> are as given by the following table, where objects
having the concrete class given in a cell in the first column have
the name given by the second column of the same row:</p>
@@ -82001,42 +82001,42 @@
<table><thead><tr><th>Concrete class
<th>Name
- <tbody><tr><td><a href=#websrt-class-object title="WebSRT Class Object">WebSRT Class Objects</a>
+ <tbody><tr><td><a href=#webvtt-class-object title="WebVTT Class Object">WebVTT Class Objects</a>
<td><code title="">c</code>
- <tr><td><a href=#websrt-italic-object title="WebSRT Italic Object">WebSRT Italic Objects</a>
+ <tr><td><a href=#webvtt-italic-object title="WebVTT Italic Object">WebVTT Italic Objects</a>
<td><code title="">i</code>
- <tr><td><a href=#websrt-bold-object title="WebSRT Bold Object">WebSRT Bold Objects</a>
+ <tr><td><a href=#webvtt-bold-object title="WebVTT Bold Object">WebVTT Bold Objects</a>
<td><code title="">b</code>
- <tr><td><a href=#websrt-ruby-object title="WebSRT Ruby Object">WebSRT Ruby Objects</a>
+ <tr><td><a href=#webvtt-ruby-object title="WebVTT Ruby Object">WebVTT Ruby Objects</a>
<td><code title="">ruby</code>
- <tr><td><a href=#websrt-ruby-text-object title="WebSRT Ruby Text Object">WebSRT Ruby Text Objects</a>
+ <tr><td><a href=#webvtt-ruby-text-object title="WebVTT Ruby Text Object">WebVTT Ruby Text Objects</a>
<td><code title="">rt</code>
- <tr><td><a href=#websrt-voice-object title="WebSRT Voice Object">WebSRT Voice Objects</a>
+ <tr><td><a href=#webvtt-voice-object title="WebVTT Voice Object">WebVTT Voice Objects</a>
<td><code title="">v</code>
- <tr><td>Other elements (specifically, <a href=#list-of-websrt-node-objects title="List of WebSRT Node Objects">Lists of WebSRT Node Objects</a>)
+ <tr><td>Other elements (specifically, <a href=#list-of-webvtt-node-objects title="List of WebVTT Node Objects">Lists of WebVTT Node Objects</a>)
<td>No explicit name.
</table></li>
<li><p>For the purposes of element type and universal selectors,
- <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
+ <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</a> are considered as being in the namespace expressed
as the empty string.</li>
- <li><p>For the purposes of attribute selector matching, <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
- Objects</a> have no attributes, except for <a href=#websrt-voice-object title="WebSRT Voice Object">WebSRT Voice Objects</a>, which
+ <li><p>For the purposes of attribute selector matching, <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
+ Objects</a> have no attributes, except for <a href=#webvtt-voice-object title="WebVTT Voice Object">WebVTT Voice Objects</a>, which
have a single attribute named "<code title="">voice</code>"
- whose value is the value of the <a href=#websrt-voice-object>WebSRT Voice
+ whose value is the value of the <a href=#webvtt-voice-object>WebVTT Voice
Object</a>.</li>
- <li><p>For the purposes of class selector matching, <a href=#websrt-internal-node-object title="WebSRT Internal Node Object">WebSRT Internal Node
- Objects</a> have the classes described as the <a href="#websrt-node-object's-applicable-classes">WebSRT
+ <li><p>For the purposes of class selector matching, <a href=#webvtt-internal-node-object title="WebVTT Internal Node Object">WebVTT Internal Node
+ Objects</a> have the classes described as the <a href="#webvtt-node-object's-applicable-classes">WebVTT
Node Object's applicable classes</a>.</li> <!-- ok, this
isn't especially well-defined, but the Selectors spec doesn't
really give one much to go on here. -->
@@ -82075,36 +82075,36 @@
<p>As a special exception, the properties corresponding to the
'background' shorthand, when they would have been applied to the
- <a href=#list-of-websrt-node-objects>List of WebSRT Node Objects</a>, must instead be applied to
- the <a href=#websrt-cue-background-box>WebSRT cue background box</a>.</p>
+ <a href=#list-of-webvtt-node-objects>List of WebVTT Node Objects</a>, must instead be applied to
+ the <a href=#webvtt-cue-background-box>WebVTT cue background box</a>.</p>
<h6 id="the-':past'-and-':future'-pseudo-classes"><span class=secno>12.3.2.3.2 </span>The ':past' and ':future' pseudo-classes</h6>
<p>The <dfn id=past-pseudo-class title=past-pseudo-class>':past'</dfn> and <dfn id=future-pseudo-class title=future-pseudo-class>':future'</dfn> pseudo-classes only
- match <a href=#websrt-node-object title="WebSRT Node Object">WebSRT Node Objects</a>.</p>
+ match <a href=#webvtt-node-object title="WebVTT Node Object">WebVTT Node Objects</a>.</p>
- <p>The ':past' pseudo-class only matches <a href=#websrt-node-object title="WebSRT Node
- Object">WebSRT Node Objects</a> that are <i><a href=#in-the-past>in the past</a></i>.</p>
+ <p>The ':past' pseudo-class only matches <a href=#webvtt-node-object title="WebVTT Node
+ Object">WebVTT Node Objects</a> that are <i><a href=#in-the-past>in the past</a></i>.</p>
- <p>A <a href=#websrt-node-object>WebSRT Node Object</a> <var title="">c</var> is
+ <p>A <a href=#webvtt-node-object>WebVTT Node Object</a> <var title="">c</var> is
<dfn id=in-the-past>in the past</dfn> if, in a pre-order, depth-first traversal of
- the <a href=#timed-track-cue>timed track cue</a>'s <a href=#list-of-websrt-node-objects>List of WebSRT Node
- Objects</a>, there exists a <a href=#websrt-timestamp-object>WebSRT Timestamp Object</a>
+ the <a href=#timed-track-cue>timed track cue</a>'s <a href=#list-of-webvtt-node-objects>List of WebVTT Node
+ Objects</a>, there exists a <a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a>
whose value is less than the <a href=#current-playback-position>current playback position</a>
of the <a href=#media-element>media element</a> that is the <i>matched
- element</i>, entirely after the <a href=#websrt-node-object>WebSRT Node Object</a> <var title="">c</var>.</p>
+ element</i>, entirely after the <a href=#webvtt-node-object>WebVTT Node Object</a> <var title="">c</var>.</p>
- <p>The ':future' pseudo-class only matches <a href=#websrt-node-object title="WebSRT Node
- Object">WebSRT Node Objects</a> that are <i><a href=#in-the-future>in the future</a></i>.</p>
+ <p>The ':future' pseudo-class only matches <a href=#webvtt-node-object title="WebVTT Node
+ Object">WebVTT Node Objects</a> that are <i><a href=#in-the-future>in the future</a></i>.</p>
- <p>A <a href=#websrt-node-object>WebSRT Node Object</a> <var title="">c</var> is
+ <p>A <a href=#webvtt-node-object>WebVTT Node Object</a> <var title="">c</var> is
<dfn id=in-the-future>in the future</dfn> if, in a pre-order, depth-first traversal
- of the <a href=#timed-track-cue>timed track cue</a>'s <a href=#list-of-websrt-node-objects>List of WebSRT Node
- Objects</a>, there exists a <a href=#websrt-timestamp-object>WebSRT Timestamp Object</a>
+ of the <a href=#timed-track-cue>timed track cue</a>'s <a href=#list-of-webvtt-node-objects>List of WebVTT Node
+ Objects</a>, there exists a <a href=#webvtt-timestamp-object>WebVTT Timestamp Object</a>
whose value is greater than the <a href=#current-playback-position>current playback
position</a> of the <a href=#media-element>media element</a> that is the
- <i>matched element</i>, entirely before the <a href=#websrt-node-object>WebSRT Node
+ <i>matched element</i>, entirely before the <a href=#webvtt-node-object>WebVTT Node
Object</a> <var title="">c</var>.</p>
</div>
@@ -85441,7 +85441,7 @@
<!--TT-->
<div data-component="other Hixie drafts (editor: Ian Hickson)">
- <h3 id=text/srt><span class=secno>14.6 </span><dfn><code>text/srt</code></dfn></h3>
+ <h3 id=text/vtt><span class=secno>14.6 </span><dfn><code>text/vtt</code></dfn></h3>
<p>This registration is for community review and will be submitted
to the IESG for review, approval, and registration with IANA.</p>
@@ -85454,7 +85454,7 @@
<dl><dt>Type name:</dt>
<dd>text</dd>
<dt>Subtype name:</dt>
- <dd>srt</dd>
+ <dd>vtt</dd>
<dt>Required parameters:</dt>
<dd>No parameters</dd>
<dt>Optional parameters:</dt>
@@ -85489,19 +85489,19 @@
<dd>
<dl><dt>Magic number(s):</dt>
<dd>
- <p>WebSRT files all begin with one of the following byte sequences:</p>
- <ul class=brief><li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 0A
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 0D
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 20
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 09
- <li> 57 45 42 53 52 54 20 46 49 4C 45 0A
- <li> 57 45 42 53 52 54 20 46 49 4C 45 0D
- <li> 57 45 42 53 52 54 20 46 49 4C 45 20
- <li> 57 45 42 53 52 54 20 46 49 4C 45 09
- </ul><p class=note>(An optional UTF-8 BOM, the ASCII string "<code title="">WEBSRT FILE</code>", and finally a space, tab, or line break.)
+ <p>WebVTT files all begin with one of the following byte sequences:</p>
+ <ul class=brief><li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 0A
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 0D
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 20
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 09
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 0A
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 0D
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 20
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 09
+ </ul><p class=note>(An optional UTF-8 BOM, the ASCII string "<code title="">WEBVTT FILE</code>", and finally a space, tab, or line break.)
</dd>
<dt>File extension(s):</dt>
- <dd>"<code title="">srt</code>"</dd>
+ <dd>"<code title="">vtt</code>"</dd>
<dt>Macintosh file type code(s):</dt>
<dd>No specific Macintosh file type codes are recommended for this type.</dd>
</dl></dd>
@@ -85516,7 +85516,7 @@
<dt>Change controller:</dt>
<dd>W3C</dd>
</dl><p>Fragment identifiers have no meaning with
- <code><a href=#text/srt>text/srt</a></code> resources.</p>
+ <code><a href=#text/vtt>text/vtt</a></code> resources.</p>
</div>
<!--TT-->
@@ -89914,7 +89914,7 @@
<!--TT-->
<p>Thanks to the SubRip community, including in particular Zuggy and
ai4spam, for their work on the SubRip software program whose SRT
- file format was used as the basis for the WebSRT timed track file
+ file format was used as the basis for the WebVTT timed track file
format.</p>
<!--TT-->
Modified: source
===================================================================
--- source 2010-12-25 06:28:38 UTC (rev 5721)
+++ source 2010-12-25 06:42:53 UTC (rev 5722)
@@ -76,7 +76,7 @@
<ul class="brief">
<li>The <code>device</code> element.</li> <!--DEVICE-->
<li>The <code title="attr-hyperlink-ping">ping</code> attribute and related <span>hyperlink auditing</span> features.</li> <!--PING-->
- <li>The <span>WebSRT</span> format and some <span>timed track</span> API features.</li> <!--TT--> <!--TTSRT-->
+ <li>The <span>WebVTT</span> format and some <span>timed track</span> API features.</li> <!--TT--> <!--TTVTT-->
<li>Rules for <a href="#atom">converting HTML to Atom</a>.</li> <!--MD-->
<li>The <code title="dom-document-cssElementMap">cssElementMap</code> feature for defining <span title="CSS element reference identifier">CSS element reference identifiers</span>.</li> <!--CSSREF-->
</ul>
@@ -26913,14 +26913,14 @@
</div>
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
<p>If the elements's <span>track URL</span> identifies a
- <span>WebSRT</span> resource, and the element's <code
+ <span>WebVTT</span> resource, and the element's <code
title="attr-track-kind">kind</code> attribute is not in the <span
title="attr-track-kind-metadata">metadata</span> state, then the
- <span>WebSRT</span> file must be a <span>WebSRT file using cue
+ <span>WebVTT</span> file must be a <span>WebVTT file using cue
text</span>.</p>
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
<p>The <dfn title="attr-track-srclang"><code>srclang</code></dfn>
attribute gives the language of the timed track data. The value must
@@ -27010,10 +27010,10 @@
<p>This video has subtitles in several languages:</p>
<pre><video src="brave.webm">
- <track kind=subtitles src=brave.en.srt srclang=en label="English">
- <track kind=captions src=brave.en.srt srclang=en label="English for the Hard of Hearing">
- <track kind=subtitles src=brave.fr.srt srclang=fr label="Français">
- <track kind=subtitles src=brave.de.srt srclang=de label="Deutsch">
+ <track kind=subtitles src=brave.en.vtt srclang=en label="English">
+ <track kind=captions src=brave.en.vtt srclang=en label="English for the Hard of Hearing">
+ <track kind=subtitles src=brave.fr.vtt srclang=fr label="Français">
+ <track kind=subtitles src=brave.de.vtt srclang=de label="Deutsch">
</video></pre>
</div>
@@ -29644,11 +29644,11 @@
tracks</span> in <var title="">affected tracks</var> that are <span
title="timed track showing">showing</span> or <span title="timed
track showing by default">showing by default</span>.
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
For example, for <span title="timed track">timed tracks</span>
- based on <span>WebSRT</span>, the <span>rules for updating the
- display of WebSRT timed tracks</span>.
-<!--START w3c-html--><!--TTSRT-->
+ based on <span>WebVTT</span>, the <span>rules for updating the
+ display of WebVTT timed tracks</span>.
+<!--START w3c-html--><!--TTVTT-->
</p></li>
<!--KEEP-START w3c-html--><!--TT-->
@@ -30062,10 +30062,10 @@
<p>A list of <span title="timed track cue">timed track
cues</span>, along with <dfn>rules for updating the timed track
rendering</dfn>.
-<!--END w3c-html--><!--TTSRT-->
- For example, for <span>WebSRT</span>, the <span>rules for updating
- the display of WebSRT timed tracks</span>.
-<!--START w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
+ For example, for <span>WebVTT</span>, the <span>rules for updating
+ the display of WebVTT timed tracks</span>.
+<!--START w3c-html--><!--TTVTT-->
</p>
<p>The <span title="timed track list of cues">list of cues of a
@@ -30144,7 +30144,7 @@
consecutive lines displayed to the right of each other<!-- used for
mongolian -->).</p>
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
<p>If the <span title="timed track cue writing direction">writing
direction</span> is <span title="timed track cue horizontal
writing direction">horizontal</span>, then <span title="timed
@@ -30159,11 +30159,11 @@
video, and <span title="timed track cue text position">text
position</span> and <span title="timed track cue size">size</span>
percentages are relative to the height of the video.</p>
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
</dd>
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
<dt><dfn title="timed track cue snap-to-lines flag">A snap-to-lines flag</dfn>
<dd>
<p>A boolean indicating whether the <span title="timed track cue
@@ -30191,7 +30191,7 @@
by the <span title="timed track cue writing direction">writing
direction</span>.</p>
</dd>
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
<dt><dfn title="timed track cue size">A size</dfn>
<dd>
@@ -30201,7 +30201,7 @@
track cue writing direction">writing direction</span>.</p>
</dd>
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
<dt><dfn title="timed track cue alignment">An alignment</dfn>
<dd>
<p>An alignment for the text of each line of the cue, either <dfn
@@ -30215,7 +30215,7 @@
title="timed track cue writing direction">writing
direction</span>. <a href="#refsBIDI">[BIDI]</a></p>
</dd>
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
<dt><dfn title="timed track cue text">The text of the cue</dfn>
<dd>
@@ -30263,11 +30263,11 @@
flag for all the affected cues, apply the <span>rules for updating
the timed track rendering</span> of those <span title="timed
track">timed tracks</span>.
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
For example, for <span title="timed track">timed tracks</span>
- based on <span>WebSRT</span>, the <span>rules for updating the
- display of WebSRT timed tracks</span>.</p>
-<!--START w3c-html--><!--TTSRT-->
+ based on <span>WebVTT</span>, the <span>rules for updating the
+ display of WebVTT timed tracks</span>.</p>
+<!--START w3c-html--><!--TTVTT-->
</dd>
<dt>The <dfn title="timed track cue display state">display state</dfn>
@@ -30299,7 +30299,7 @@
first; and finally, any <span title="timed track cue">cues</span>
with identical <span title="timed track cue end time">end
times</span> must be sorted in the order they were created (so
- e.g. for cues from a <span>WebSRT</span> file, that would be the
+ e.g. for cues from a <span>WebVTT</span> file, that would be the
order in which the cues were listed in the file).</p>
@@ -30442,8 +30442,8 @@
is dynamically modified when the referenced file is parsed.
Associated with the list are the <span>rules for updating the timed
track rendering</span> appropriate for the format in question; for
- <span>WebSRT</span>, this is the <span>rules for updating the
- display of WebSRT timed tracks</span>.</p>
+ <span>WebVTT</span>, this is the <span>rules for updating the
+ display of WebVTT timed tracks</span>.</p>
<p>When a <code>track</code> element's parent element changes and
the new parent is a <span>media element</span>, then the user agent
@@ -30594,11 +30594,11 @@
unsupported (this causes the load to fail, as described below). If
a type is obtained, and represents a supported timed track format,
then the resource's data must be passed to the appropriate parser
-<!--END w3c-html--><!--TTSRT-->
- (e.g. the <span>WebSRT parser</span> if the <span
+<!--END w3c-html--><!--TTVTT-->
+ (e.g. the <span>WebVTT parser</span> if the <span
title="Content-Type">Content Type metadata</span> is
- <code>text/srt</code>)
-<!--START w3c-html--><!--TTSRT-->
+ <code>text/vtt</code>)
+<!--START w3c-html--><!--TTVTT-->
as it is received, with the <span>timed
track list of cues</span> being used for that parser's output.</p>
@@ -30704,7 +30704,7 @@
</div>
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
<div class="impl">
<h6><dfn>Guidelines for exposing cues</dfn> in various formats as
@@ -30749,7 +30749,7 @@
<dd>
<p>Should be set to false unless the format uses a rendering and
positioning model for cues that is largely consistent with the
- <span>WebSRT cue text rendering rules</span>.</p>
+ <span>WebVTT cue text rendering rules</span>.</p>
</dd>
<dt>The <span>timed track cue line position</span>
@@ -30758,16 +30758,16 @@
<dt>The <span>timed track cue alignment</span>
<dd>
<p>If the format uses a rendering and positioning model for
- cues that can be largely simulated using the <span>WebSRT cue text
+ cues that can be largely simulated using the <span>WebVTT cue text
rendering rules</span>, then these should be set to the values
- that would give the same effect for <span>WebSRT</span>
+ that would give the same effect for <span>WebVTT</span>
cues. Otherwise, they should be set to zero.</p>
</dd>
</dl>
</div>
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
<h6>Timed track API</h6>
@@ -31121,11 +31121,11 @@
loaded</span> state, its <span>timed track mode</span> to the
<span>timed track hidden</span> mode, and its <span>timed track
list of cues</span> to an empty list.
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
Associate the <span>timed track list of cues</span> with the
- <span>rules for updating the display of WebSRT timed tracks</span>
+ <span>rules for updating the display of WebVTT timed tracks</span>
as its <span>rules for updating the timed track rendering</span>.
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
</p>
</li>
@@ -31299,9 +31299,9 @@
<hr>
<pre class="idl">
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
[<span title="dom-TimedTrackCue">Constructor</span>(in DOMString id, in double startTime, in double endTime, in DOMString text, in optional DOMString settings, in optional boolean pauseOnExit)]
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
interface <dfn>TimedTrackCue</dfn> {
readonly attribute <span>TimedTrack</span> <span title="dom-TimedTrackCue-track">track</span>;
readonly attribute DOMString <span title="dom-TimedTrackCue-id">id</span>;
@@ -31310,14 +31310,14 @@
readonly attribute double <span title="dom-TimedTrackCue-endTime">endTime</span>;
readonly attribute boolean <span title="dom-TimedTrackCue-pauseOnExit">pauseOnExit</span>;
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
readonly attribute DOMString <span title="dom-TimedTrackCue-direction">direction</span>;
readonly attribute boolean <span title="dom-TimedTrackCue-snapToLines">snapToLines</span>;
readonly attribute long <span title="dom-TimedTrackCue-linePosition">linePosition</span>;
readonly attribute long <span title="dom-TimedTrackCue-textPosition">textPosition</span>;
readonly attribute long <span title="dom-TimedTrackCue-size">size</span>;
readonly attribute DOMString <span title="dom-TimedTrackCue-alignment">alignment</span>;
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
DOMString <span title="dom-TimedTrackCue-getCueAsSource()">getCueAsSource</span>();
<span>DocumentFragment</span> <span title="dom-TimedTrackCue-getCueAsHTML()">getCueAsHTML</span>();
@@ -31328,7 +31328,7 @@
<dl class="domintro">
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
<dt><var title="">cue</var> = new <code title="dom-TimedTrackCue">TimedTrackCue</code>( <var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var> [, <var title="">settings</var> [, <var title="">pauseOnExit</var> ] ] )</dt>
<dd>
<p>Returns a new <code>TimedTrackCue</code> object, for use with the <code title="dom-MutableTimedTrack-addCue">addCue()</code> method.</p>
@@ -31336,10 +31336,10 @@
<p>The <var title="">startTime</var> argument sets the <span>timed track cue start time</span>.</p>
<p>The <var title="">endTime</var> argument sets the <span>timed track cue end time</span>.</p>
<p>The <var title="">text</var> argument sets the <span>timed track cue text</span>.</p>
- <p>The <var title="">settings</var> argument is a string in the format of <span>WebSRT cue settings</span>. If omitted, the empty string is assumed.</p>
+ <p>The <var title="">settings</var> argument is a string in the format of <span>WebVTT cue settings</span>. If omitted, the empty string is assumed.</p>
<p>The <var title="">pauseOnExit</var> argument sets the <span>timed track cue pause-on-exit flag</span>. If omitted, false is assumed.</p>
</dd>
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
<dt><var title="">cue</var> . <span title="dom-TimedTrackCue-track">track</span></dt>
<dd>
@@ -31368,7 +31368,7 @@
<p>Returns true if the <span>timed track cue pause-on-exit flag</span> is set, false otherwise.</p>
</dd>
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
<dt><var title="">cue</var> . <span title="dom-TimedTrackCue-direction">direction</span></dt>
<dd>
<p>Returns a string representing the <span>timed track cue writing direction</span>, as follows:</p>
@@ -31416,7 +31416,7 @@
<dd><p>The string "<code title="">end</code>".</p></dd>
</dl>
</dd>
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
<dt><var title="">source</var> = <var title="">cue</var> . <span title="dom-TimedTrackCue-getCueAsSource">getCueAsSource</span>()</dt>
<dd>
@@ -31432,7 +31432,7 @@
<div class="impl">
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
<p>The <dfn title="dom-TimedTrackCue"><code>TimedTrackCue(<var
title="">id</var>, <var title="">startTime</var>, <var
title="">endTime</var>, <var title="">text</var>, <var
@@ -31465,9 +31465,9 @@
<li><p>Let <var title="">cue</var>'s <span>timed track cue
text</span> be the value of the <var title="">text</var> argument,
- and let the rules for its interpretation be the <span>WebSRT cue
- text parsing rules</span>, the <span>WebSRT cue text rendering
- rules</span>, and the <span>WebSRT cue text DOM construction
+ and let the rules for its interpretation be the <span>WebVTT cue
+ text parsing rules</span>, the <span>WebVTT cue text rendering
+ rules</span>, and the <span>WebVTT cue text DOM construction
rules</span>.</p></li>
<!-- default settings -->
@@ -31500,14 +31500,14 @@
title="">input</var>, initially pointing at the start of the
string.</p></li>
- <li><p><span>Parse the WebSRT settings</span> for <var
+ <li><p><span>Parse the WebVTT settings</span> for <var
title="">cue</var>.</p></li>
<li><p>Return the <code>TimedTrackCue</code> object representing
<var title="">cue</var>.</p></li>
</ol>
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
<p>The <dfn title="dom-TimedTrackCue-track"><code>track</code></dfn>
attribute must return the <code>TimedTrack</code> object of the
@@ -31545,7 +31545,7 @@
direction</span> of the <span>timed track cue</span> that the
<code>TimedTrackCue</code> object represents.</p>
-<!--END w3c-html--><!--TTSRT-->
+<!--END w3c-html--><!--TTVTT-->
<p>The <dfn
title="dom-TimedTrackCue-snapToLines"><code>snapToLines</code></dfn>
attribute must return true if the <span>timed track cue
@@ -31608,7 +31608,7 @@
attribute must return the <span>timed track cue alignment</span> of
the <span>timed track cue</span> that the <code>TimedTrackCue</code>
object represents.</p>
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
<p>The <dfn
title="dom-TimedTrackCue-getCueAsSource()"><code>getCueAsSource()</code></dfn>
@@ -31620,11 +31620,11 @@
<code>DocumentFragment</code> for the <span>media element</span>'s
<code>Document</code>, using the appropriate rules for doing
so.
-<!--END w3c-html--><!--TTSRT-->
- For example, for <span>WebSRT</span>, those rules are the
- <span>WebSRT cue text parsing rules</span> and the <span>WebSRT cue
+<!--END w3c-html--><!--TTVTT-->
+ For example, for <span>WebVTT</span>, those rules are the
+ <span>WebVTT cue text parsing rules</span> and the <span>WebVTT cue
text DOM construction rules</span>.
-<!--START w3c-html--><!--TTSRT-->
+<!--START w3c-html--><!--TTVTT-->
</p>
</div>
@@ -31663,27 +31663,27 @@
<!--KEEP-START w3c-html--><!--TT-->
<!--END w3c-html--><!--TT-->
-<!--START websrt-->
- <h5>WebSRT</h5>
+<!--START webvtt-->
+ <h5>WebVTT</h5>
- <p>The <dfn>WebSRT</dfn> format (Web Subtitle Resource Tracks) is a
+ <p>The <dfn>WebVTT</dfn> format (Web Subtitle Resource Tracks) is a
format intended for marking up external timed track resources.</p>
<h6>Syntax</h6>
- <p>A <dfn>WebSRT file</dfn> must consist of a <span>WebSRT file
+ <p>A <dfn>WebVTT file</dfn> must consist of a <span>WebVTT file
body</span> encoded as UTF-8 and labeled with the <span>MIME
- type</span> <code>text/srt</code>. <a href="#refsRFC3629">[RFC3629]</a></p>
+ type</span> <code>text/vtt</code>. <a href="#refsRFC3629">[RFC3629]</a></p>
- <p>A <dfn>WebSRT file body</dfn> consists of the following
+ <p>A <dfn>WebVTT file body</dfn> consists of the following
components, in the following order:</p>
<ol>
<li>An optional U+FEFF BYTE ORDER MARK (BOM) character.</li>
- <li>The string "<code title="">WEBSRT</code>", a single U+0020
+ <li>The string "<code title="">WEBVTT</code>", a single U+0020
SPACE character, and the string "<code title="">FILE</code>".</li>
<li>Optionally, either a U+0020 SPACE character or a U+0009
@@ -31691,45 +31691,45 @@
characters that are not U+000A LINE FEED (LF) or U+000D CARRIAGE
RETURN (CR) characters.</li> <!-- allows for Emacs line -->
- <li>Two or more <span title="WebSRT line terminator">WebSRT line
+ <li>Two or more <span title="WebVTT line terminator">WebVTT line
terminators</span>.</li> <!-- the first one to terminate the magic
line, the second one to terminate the header block: in the future,
we can add a metadata block before the first blank line -->
- <li>Zero or more <span title="WebSRT cue">WebSRT cues</span>
- separated from each other by two or more <span title="WebSRT line
- terminator">WebSRT line terminators</span>.</li>
+ <li>Zero or more <span title="WebVTT cue">WebVTT cues</span>
+ separated from each other by two or more <span title="WebVTT line
+ terminator">WebVTT line terminators</span>.</li>
- <li>Zero or more <span title="WebSRT line terminator">WebSRT line
+ <li>Zero or more <span title="WebVTT line terminator">WebVTT line
terminators</span>.</li>
</ol>
- <p>A <dfn>WebSRT cue</dfn> consists of the following components, in
+ <p>A <dfn>WebVTT cue</dfn> consists of the following components, in
the given order:</p>
<ol>
- <li>Optionally, a <span>WebSRT cue identifier</span> followed by a <span>WebSRT line terminator</span>.</li>
- <li><span>WebSRT cue timings</span>.</li>
- <li>Optionally, one or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters followed by <span>WebSRT cue settings</span>.</li>
- <li>A <span>WebSRT line terminator</span>.</li>
- <li>The <dfn>cue payload</dfn>: either <span>WebSRT cue text</span> or <span>WebSRT metadata text</span>.</li>
+ <li>Optionally, a <span>WebVTT cue identifier</span> followed by a <span>WebVTT line terminator</span>.</li>
+ <li><span>WebVTT cue timings</span>.</li>
+ <li>Optionally, one or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters followed by <span>WebVTT cue settings</span>.</li>
+ <li>A <span>WebVTT line terminator</span>.</li>
+ <li>The <dfn>cue payload</dfn>: either <span>WebVTT cue text</span> or <span>WebVTT metadata text</span>.</li>
</ol>
- <p><span>WebSRT cue text</span> is syntactically a subset of
- <span>WebSRT metadata text</span>. Conformance checkers, when
- validating <span>WebSRT</span> files, may offer to restrict all cues
- to only having <span>WebSRT cue text</span> as their <span>cue
- payload</span>; <span>WebSRT metadata text</span> cues are only
+ <p><span>WebVTT cue text</span> is syntactically a subset of
+ <span>WebVTT metadata text</span>. Conformance checkers, when
+ validating <span>WebVTT</span> files, may offer to restrict all cues
+ to only having <span>WebVTT cue text</span> as their <span>cue
+ payload</span>; <span>WebVTT metadata text</span> cues are only
useful for scripted applications (using the <code
title="dom-timedtrack-kind-metadata">metadata</code> <span>timed
track kind</span>).</p>
- <p>A <span>WebSRT file</span> whose cues all have a <span>cue
- payload</span> that is <span>WebSRT cue text</span> is said to be a
- <dfn>WebSRT file using cue text</dfn>.</p>
+ <p>A <span>WebVTT file</span> whose cues all have a <span>cue
+ payload</span> that is <span>WebVTT cue text</span> is said to be a
+ <dfn>WebVTT file using cue text</dfn>.</p>
- <p>A <dfn>WebSRT line terminator</dfn> consists of one of the
+ <p>A <dfn>WebVTT line terminator</dfn> consists of one of the
following:</p>
<ul class="brief">
@@ -31738,13 +31738,13 @@
<li>A single U+000D CARRIAGE RETURN (CR) character.</li>
</ul>
- <p>A <dfn>WebSRT cue identifier</dfn> is any sequence of one or more
+ <p>A <dfn>WebVTT cue identifier</dfn> is any sequence of one or more
characters not containing the substring "<code title="">--></code>"
(U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS, U+003E GREATER-THAN
SIGN), nor containing any U+000A LINE FEED (LF) characters or U+000D
CARRIAGE RETURN (CR) characters.</p>
- <p>The <dfn>WebSRT cue timings</dfn> part of a <span>WebSRT
+ <p>The <dfn>WebVTT cue timings</dfn> part of a <span>WebVTT
cue</span> consists of the following components, in the given
order:</p>
@@ -31754,8 +31754,8 @@
the space between the arrow either optional or allow multiple
spaces or tabs -->
- <li>A <span>WebSRT timestamp</span> representing the start time
- offset of the cue. The time represented by this <span>WebSRT
+ <li>A <span>WebVTT timestamp</span> representing the start time
+ offset of the cue. The time represented by this <span>WebVTT
timestamp</span> must be greater than or equal to the start time
offsets of all previous cues in the file.</li>
@@ -31766,15 +31766,15 @@
<li>A U+0020 SPACE character.</li>
- <li>A <span>WebSRT timestamp</span> representing the end time
- offset of the cue. The time represented by this <span>WebSRT
+ <li>A <span>WebVTT timestamp</span> representing the end time
+ offset of the cue. The time represented by this <span>WebVTT
timestamp</span> must be greater than the start time offset of the
cue.</li>
</ol>
- <p>A <dfn>WebSRT timestamp</dfn> representing a time in seconds and
- fractions of a second is a <span>WebSRT timestamp</span>
+ <p>A <dfn>WebVTT timestamp</dfn> representing a time in seconds and
+ fractions of a second is a <span>WebVTT timestamp</span>
representing hours <var
title="">hours</var>, minutes <var title="">minutes</var>, seconds
<var title="">seconds</var>, and thousandths of a second <var
@@ -31805,7 +31805,7 @@
</ol>
- <p>A <span>WebSRT timestamp</span> representing hours <var
+ <p>A <span>WebVTT timestamp</span> representing hours <var
title="">hours</var>, minutes <var title="">minutes</var>, seconds
<var title="">seconds</var>, and thousandths of a second <var
title="">seconds-frac</var>, consists of the following components,
@@ -31847,22 +31847,22 @@
</ol>
- <p>The <dfn>WebSRT cue settings</dfn> part of a <span>WebSRT
+ <p>The <dfn>WebVTT cue settings</dfn> part of a <span>WebVTT
cue</span> consists of zero or more of the following components, in
any order, separated from each other by one or more U+0020 SPACE
characters or U+0009 CHARACTER TABULATION (tab) characters. Each
- component must not be included more than once per <span>WebSRT cue
+ component must not be included more than once per <span>WebVTT cue
settings</span> string.</p>
<ul class="brief">
- <li>A <span>WebSRT vertical text cue setting</span>.</li> <!-- D:vertical/vertical-lr -->
- <li>A <span>WebSRT line position cue setting</span>.</li> <!-- L:100% L:1 L:-1 -->
- <li>A <span>WebSRT text position cue setting</span>.</li> <!-- T:100% -->
- <li>A <span>WebSRT size cue setting</span>.</li> <!-- S:100% -->
- <li>A <span>WebSRT alignment cue setting</span>.</li> <!-- A:start/middle/end -->
+ <li>A <span>WebVTT vertical text cue setting</span>.</li> <!-- D:vertical/vertical-lr -->
+ <li>A <span>WebVTT line position cue setting</span>.</li> <!-- L:100% L:1 L:-1 -->
+ <li>A <span>WebVTT text position cue setting</span>.</li> <!-- T:100% -->
+ <li>A <span>WebVTT size cue setting</span>.</li> <!-- S:100% -->
+ <li>A <span>WebVTT alignment cue setting</span>.</li> <!-- A:start/middle/end -->
</ul>
- <p>A <dfn>WebSRT vertical text cue setting</dfn> consists of the
+ <p>A <dfn>WebVTT vertical text cue setting</dfn> consists of the
following components, in the order given:</p>
<ol>
@@ -31871,7 +31871,7 @@
<li>One of the following strings: "<code title="">vertical</code>", "<code title="">vertical-lr</code>".</li>
</ol>
- <p>A <dfn>WebSRT line position cue setting</dfn> consists of the
+ <p>A <dfn>WebVTT line position cue setting</dfn> consists of the
following components, in the order given:</p>
<ol>
@@ -31897,7 +31897,7 @@
</li>
</ol>
- <p>A <dfn>WebSRT text position cue setting</dfn> consists of the
+ <p>A <dfn>WebVTT text position cue setting</dfn> consists of the
following components, in the order given:</p>
<ol>
@@ -31907,7 +31907,7 @@
<li>A U+0025 PERCENT SIGN character (%).</li>
</ol>
- <p>A <dfn>WebSRT size cue setting</dfn> consists of the
+ <p>A <dfn>WebVTT size cue setting</dfn> consists of the
following components, in the order given:</p>
<ol>
@@ -31917,7 +31917,7 @@
<li>A U+0025 PERCENT SIGN character (%).</li>
</ol>
- <p>A <dfn>WebSRT alignment cue setting</dfn> consists of the
+ <p>A <dfn>WebVTT alignment cue setting</dfn> consists of the
following components, in the order given:</p>
<ol>
@@ -31926,96 +31926,96 @@
<li>One of the following strings: "<code title="">start</code>", "<code title="">middle</code>", "<code title="">end</code>"</li>
</ol>
- <p><dfn>WebSRT metadata text</dfn> consists of any sequence of one
+ <p><dfn>WebVTT metadata text</dfn> consists of any sequence of one
or more characters other than U+000A LINE FEED (LF) characters and
U+000D CARRIAGE RETURN (CR) characters, each optionally separated
- from the next by a <span>WebSRT line terminator</span>. (In other
+ from the next by a <span>WebVTT line terminator</span>. (In other
words, any text that does not have two consecutive <span
- title="WebSRT line terminator">WebSRT line terminators</span> and
- does not start or end with a <span>WebSRT line
+ title="WebVTT line terminator">WebVTT line terminators</span> and
+ does not start or end with a <span>WebVTT line
terminator</span>.)</p>
- <p><dfn>WebSRT cue text</dfn> consists of zero or more <span>WebSRT
+ <p><dfn>WebVTT cue text</dfn> consists of zero or more <span>WebVTT
cue components</span>, in any order, each optionally separated from
- the next by a <span>WebSRT line terminator</span>.</p>
+ the next by a <span>WebVTT line terminator</span>.</p>
- <p>The <dfn>WebSRT cue components</dfn> are:</p>
+ <p>The <dfn>WebVTT cue components</dfn> are:</p>
<ul>
- <li>A <span>WebSRT cue class span</span>.</li>
- <li>A <span>WebSRT cue italics span</span>.</li>
- <li>A <span>WebSRT cue bold span</span>.</li>
- <li>A <span>WebSRT cue ruby span</span>.</li>
- <li>A <span>WebSRT cue voice span</span>.</li>
+ <li>A <span>WebVTT cue class span</span>.</li>
+ <li>A <span>WebVTT cue italics span</span>.</li>
+ <li>A <span>WebVTT cue bold span</span>.</li>
+ <li>A <span>WebVTT cue ruby span</span>.</li>
+ <li>A <span>WebVTT cue voice span</span>.</li>
- <li>A <span>WebSRT cue timestamp</span>.</li>
+ <li>A <span>WebVTT cue timestamp</span>.</li>
- <li>A <span>WebSRT cue text span</span>, representing the text of the cue.</li>
+ <li>A <span>WebVTT cue text span</span>, representing the text of the cue.</li>
- <li>A <span>WebSRT cue amp escape</span>, representing a "&" character in the text of the cue.</li>
- <li>A <span>WebSRT cue lt escape</span>, representing a "<" character in the text of the cue.</li>
- <li>A <span>WebSRT cue gt escape</span>, representing a ">" character in the text of the cue.</li>
+ <li>A <span>WebVTT cue amp escape</span>, representing a "&" character in the text of the cue.</li>
+ <li>A <span>WebVTT cue lt escape</span>, representing a "<" character in the text of the cue.</li>
+ <li>A <span>WebVTT cue gt escape</span>, representing a ">" character in the text of the cue.</li>
</ul>
- <p><dfn>WebSRT cue internal text</dfn> consists of an optional
- <span>WebSRT line terminator</span>, followed by zero or more
- <span>WebSRT cue components</span>, in any order, each optionally
- followed by a <span>WebSRT line terminator</span>.</p>
+ <p><dfn>WebVTT cue internal text</dfn> consists of an optional
+ <span>WebVTT line terminator</span>, followed by zero or more
+ <span>WebVTT cue components</span>, in any order, each optionally
+ followed by a <span>WebVTT line terminator</span>.</p>
- <p>A <dfn>WebSRT cue class span</dfn> consists of a <span>WebSRT cue
+ <p>A <dfn>WebVTT cue class span</dfn> consists of a <span>WebVTT cue
span start tag</span> "<code title="">c</code>" that disallows an
- annotation, <span>WebSRT cue internal text</span> representing cue
- text, and a <span>WebSRT cue span end tag</span> "<code
+ annotation, <span>WebVTT cue internal text</span> representing cue
+ text, and a <span>WebVTT cue span end tag</span> "<code
title="">c</code>".</p>
- <p>A <dfn>WebSRT cue italics span</dfn> consists of a <span>WebSRT
+ <p>A <dfn>WebVTT cue italics span</dfn> consists of a <span>WebVTT
cue span start tag</span> "<code title="">i</code>" that disallows
- an annotation, <span>WebSRT cue internal text</span> representing
- the italicized text, and a <span>WebSRT cue span end tag</span>
+ an annotation, <span>WebVTT cue internal text</span> representing
+ the italicized text, and a <span>WebVTT cue span end tag</span>
"<code title="">i</code>".</p>
- <p>A <dfn>WebSRT cue bold span</dfn> consists of a <span>WebSRT cue
+ <p>A <dfn>WebVTT cue bold span</dfn> consists of a <span>WebVTT cue
span start tag</span> "<code title="">b</code>" that disallows an
- annotation, <span>WebSRT cue internal text</span> representing the
- boldened text, and a <span>WebSRT cue span end tag</span> "<code
+ annotation, <span>WebVTT cue internal text</span> representing the
+ boldened text, and a <span>WebVTT cue span end tag</span> "<code
title="">b</code>".</p>
- <p>A <dfn>WebSRT cue ruby span</dfn> consists of the following
+ <p>A <dfn>WebVTT cue ruby span</dfn> consists of the following
components, in the order given:</p>
<ol>
- <li>A <span>WebSRT cue span start tag</span> "<code title="">i</code>" that disallows an annotation.</li>
+ <li>A <span>WebVTT cue span start tag</span> "<code title="">i</code>" that disallows an annotation.</li>
<li>One or more occurrences of the following group of components, in the order given:
<ol>
- <li><span>WebSRT cue internal text</span>, representing the ruby base.</li>
- <li>A <span>WebSRT cue span start tag</span> "<code title="">rt</code>" that disallows an annotation.</li>
- <li>A <dfn>WebSRT cue ruby text span</dfn>: <span>WebSRT cue internal text</span>, representing the ruby text component of the ruby annotation.</li>
- <li>A <span>WebSRT cue span end tag</span> "<code title="">rt</code>".
+ <li><span>WebVTT cue internal text</span>, representing the ruby base.</li>
+ <li>A <span>WebVTT cue span start tag</span> "<code title="">rt</code>" that disallows an annotation.</li>
+ <li>A <dfn>WebVTT cue ruby text span</dfn>: <span>WebVTT cue internal text</span>, representing the ruby text component of the ruby annotation.</li>
+ <li>A <span>WebVTT cue span end tag</span> "<code title="">rt</code>".
If this is the last occurance of this group of components in the
- <span>WebSRT cue ruby span</span>, then this last end tag string
+ <span>WebVTT cue ruby span</span>, then this last end tag string
may be omitted.</li>
</ol>
</li>
- <li>If the last end tag string was not omitted: Optionally, a <span>WebSRT line terminator</span>.</li>
- <li>If the last end tag string was not omitted: Zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters, each optionally followed by a <span>WebSRT line terminator</span>.</li>
- <li>A <span>WebSRT cue span end tag</span> "<code title="">ruby</code>".</li>
+ <li>If the last end tag string was not omitted: Optionally, a <span>WebVTT line terminator</span>.</li>
+ <li>If the last end tag string was not omitted: Zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters, each optionally followed by a <span>WebVTT line terminator</span>.</li>
+ <li>A <span>WebVTT cue span end tag</span> "<code title="">ruby</code>".</li>
</ol>
- <p>A <dfn>WebSRT cue voice span</dfn> consists of the following
+ <p>A <dfn>WebVTT cue voice span</dfn> consists of the following
components, in the order given:</p>
<ol>
- <li>A <span>WebSRT cue span start tag</span> "<code title="">v</code>" that requires an annotation; the annotation represents the name of the voice.</li>
- <li><span>WebSRT cue internal text</span>.</li>
- <li>A <span>WebSRT cue span end tag</span> "<code title="">v</code>". If this <span>WebSRT cue voice span</span> is the only <span title="WebSRT cue components">component</span> of its <span>WebSRT cue text</span> sequence, then the end tag may be omitted for brevity.</li>
+ <li>A <span>WebVTT cue span start tag</span> "<code title="">v</code>" that requires an annotation; the annotation represents the name of the voice.</li>
+ <li><span>WebVTT cue internal text</span>.</li>
+ <li>A <span>WebVTT cue span end tag</span> "<code title="">v</code>". If this <span>WebVTT cue voice span</span> is the only <span title="WebVTT cue components">component</span> of its <span>WebVTT cue text</span> sequence, then the end tag may be omitted for brevity.</li>
</ol>
- <p>A <dfn>WebSRT cue span start tag</dfn> has a <var title="">tag
+ <p>A <dfn>WebVTT cue span start tag</dfn> has a <var title="">tag
name</var> and either allows, requires, and disallows an annotation,
and consists of the following components, in the order given:</p>
@@ -32049,15 +32049,15 @@
<dt>If the start tag allows an annotation:</dt>
- <dd>Optionally, a <span>WebSRT cue span start tag annotation</span>.</dd>
+ <dd>Optionally, a <span>WebVTT cue span start tag annotation</span>.</dd>
<dt>-->If the start tag requires an annotation:<!--</dt>
- <dd>A <span>WebSRT cue span start tag annotation</span>.</dd>
+ <dd>A <span>WebVTT cue span start tag annotation</span>.</dd>
</dl>
- <p>A <dfn>WebSRT cue span start tag annotation</dfn> consists of-->
+ <p>A <dfn>WebVTT cue span start tag annotation</dfn> consists of-->
one or more of the following components, the concatenation of
their representations having a value that contains at least one
@@ -32065,10 +32065,10 @@
(tab) characters:<!--</p>-->
<ul>
- <li><span>WebSRT cue span start tag annotation text</span>, representing the text of the annotation.</li>
- <li>A <span>WebSRT cue amp escape</span>, representing a "&" character in the text of the annotation.</li>
- <li>A <span>WebSRT cue lt escape</span>, representing a "<" character in the text of the annotation.</li>
- <li>A <span>WebSRT cue gt escape</span>, representing a ">" character in the text of the annotation.</li>
+ <li><span>WebVTT cue span start tag annotation text</span>, representing the text of the annotation.</li>
+ <li>A <span>WebVTT cue amp escape</span>, representing a "&" character in the text of the annotation.</li>
+ <li>A <span>WebVTT cue lt escape</span>, representing a "<" character in the text of the annotation.</li>
+ <li>A <span>WebVTT cue gt escape</span>, representing a ">" character in the text of the annotation.</li>
</ul>
</li>
@@ -32077,7 +32077,7 @@
</ol>
- <p>A <dfn>WebSRT cue span end tag</dfn> has a <var title="">tag
+ <p>A <dfn>WebVTT cue span end tag</dfn> has a <var title="">tag
name</var> and consists of the following components, in the order
given:</p>
@@ -32089,33 +32089,33 @@
</ol>
- <p>A <dfn>WebSRT cue timestamp</dfn> consists of a U+003C LESS-THAN
- SIGN character (<), followed by a <span>WebSRT timestamp</span>
+ <p>A <dfn>WebVTT cue timestamp</dfn> consists of a U+003C LESS-THAN
+ SIGN character (<), followed by a <span>WebVTT timestamp</span>
representing the time that the given point in the cue becomes
active, followed by a U+003E GREATER-THAN SIGN character (>). The
- time represented by the <span>WebSRT timestamp</span> must be
+ time represented by the <span>WebVTT timestamp</span> must be
greater than the times represented by any previous <span
- title="WebSRT cue timestamp">WebSRT cue timestamps</span> in the
+ title="WebVTT cue timestamp">WebVTT cue timestamps</span> in the
cue, as well as greater than the cue's start time offset, and less
than the cue's end time offset.</p>
- <p>A <dfn>WebSRT cue text span</dfn> consists of one or more
+ <p>A <dfn>WebVTT cue text span</dfn> consists of one or more
characters other than U+000A LINE FEED (LF) characters, U+000D
CARRIAGE RETURN (CR) characters, U+0026 AMPERSAND characters (&),
and U+003C LESS-THAN SIGN characters (<).</p>
- <p><dfn>WebSRT cue span start tag annotation text</dfn> consists of
+ <p><dfn>WebVTT cue span start tag annotation text</dfn> consists of
one or more characters other than U+000A LINE FEED (LF) characters,
U+000D CARRIAGE RETURN (CR) characters, U+0026 AMPERSAND characters
(&), and U+003E GREATER-THAN SIGN characters (>).</p>
- <p>A <dfn>WebSRT cue amp escape</dfn> is the five character string
+ <p>A <dfn>WebVTT cue amp escape</dfn> is the five character string
"<code title="">&</code>".</p>
- <p>A <dfn>WebSRT cue lt escape</dfn> is the five character string
+ <p>A <dfn>WebVTT cue lt escape</dfn> is the five character string
"<code title=""><</code>".</p>
- <p>A <dfn>WebSRT cue gt escape</dfn> is the five character string
+ <p>A <dfn>WebVTT cue gt escape</dfn> is the five character string
"<code title="">></code>".</p>
@@ -32124,22 +32124,22 @@
<h6>Parsing</h6>
- <p>A <dfn>WebSRT parser</dfn>, given an input byte stream and a
+ <p>A <dfn>WebVTT parser</dfn>, given an input byte stream and a
<span>timed track list of cues</span> <var title="">output</var>,
must <span title="decoded as UTF-8, with error handling">decode the
byte stream as UTF-8, with error handling</span>, and then must
- parse the resulting string according to the <span>WebSRT parser
+ parse the resulting string according to the <span>WebVTT parser
algorithm</span> below. This results in <span title="timed track
cue">timed track cues</span> being added to <var
title="">output</var>. <a href="#refsRFC3629">[RFC3629]</a></p>
- <p>A <span>WebSRT parser</span>, specifically its conversion and
+ <p>A <span>WebVTT parser</span>, specifically its conversion and
parsing steps, is typically run asynchronously, with the input byte
stream being updated incrementally as the resource is downloaded;
- this is called an <dfn>incremental WebSRT parser</dfn>.</p>
+ this is called an <dfn>incremental WebVTT parser</dfn>.</p>
- <p>A <span>WebSRT parser</span> verifies a file signature before
- parsing the provided byte stream. If the stream lacks this WebSRT
+ <p>A <span>WebVTT parser</span> verifies a file signature before
+ parsing the provided byte stream. If the stream lacks this WebVTT
file signature, then the parser aborts.</p>
<p>When converting the bytes into Unicode characters, if the
@@ -32148,7 +32148,7 @@
defined in this specification, and all U+0000 NULL characters must
be replaced by U+FFFD REPLACEMENT CHARACTERs.</p>
- <p>The <dfn>WebSRT parser algorithm</dfn> is as follows:</p>
+ <p>The <dfn>WebVTT parser algorithm</dfn> is as follows:</p>
<ol>
@@ -32158,7 +32158,7 @@
<li><p>Let <var title="">position</var> be a pointer into <var
title="">input</var>, initially pointing at the start of the
- string. In an <span>incremental WebSRT parser</span>, when this
+ string. In an <span>incremental WebVTT parser</span>, when this
algorithm (or further algorithms that it uses) moves the <var
title="">position</var> pointer, the user agent must wait until
appropriate further characters from the byte stream have been added
@@ -32182,20 +32182,20 @@
any.</p></li>
<li><p>If <var title="">line</var> is less than eleven characters
- long, then abort these steps. The file is not a <span>WebSRT
+ long, then abort these steps. The file is not a <span>WebVTT
file</span>.</p></li>
<li><p>If <var title="">line</var> is exactly eleven characters
long but does not exactly equal "<code
- title="">WEBSRT FILE</code>", then abort these steps. The file
- is not a <span>WebSRT file</span>.</p></li>
+ title="">WEBVTT FILE</code>", then abort these steps. The file
+ is not a <span>WebVTT file</span>.</p></li>
<li><p>If <var title="">line</var> is more than eleven characters
long but does the first elevent characters do not exactly equal
- "<code title="">WEBSRT FILE</code>", or the twelfth character
+ "<code title="">WEBVTT FILE</code>", or the twelfth character
is neither a U+0020 SPACE character nor a U+0009 CHARACTER
TABULATION (tab) character, then abort these steps. The file is not
- a <span>WebSRT file</span>.</p></li>
+ a <span>WebVTT file</span>.</p></li>
<li><p>If <var title="">position</var> is past the end of <var
title="">input</var>, then jump to the step labeled
@@ -32327,7 +32327,7 @@
discard <var title="">cue</var> and jump to the step labeled <i>cue
loop</i>.</p></li>
- <li><p><i>Timings</i>: <span>Collect WebSRT cue timings and
+ <li><p><i>Timings</i>: <span>Collect WebVTT cue timings and
settings</span> from <var title="">line</var>, using <var
title="">cue</var> for the results. If that fails, jump to the step
labeled <i>bad cue</i>.</p></li>
@@ -32374,8 +32374,8 @@
<li><p><i>Cue text processing</i>: Let the <span>timed track cue
text</span> of <var title="">cue</var> be <var title="">cue
text</var>, and let the rules for its interpretation be the
- <span>WebSRT cue text parsing rules</span>, the <span>WebSRT cue
- text rendering rules</span>, and the <span>WebSRT cue text DOM
+ <span>WebVTT cue text parsing rules</span>, the <span>WebVTT cue
+ text rendering rules</span>, and the <span>WebVTT cue text DOM
construction rules</span>.</p></li>
<li><p>Add <var title="">cue</var> to the <span>timed track list of
@@ -32417,12 +32417,12 @@
<li><p><i>End</i>: The file has ended. Abort these steps. The
- <span>WebSRT parser</span> has finished.</p></li>
+ <span>WebVTT parser</span> has finished.</p></li>
</ol>
<p>When the algorithm above requires that the user agent
- <dfn>collect WebSRT cue timings and settings</dfn> from a string
+ <dfn>collect WebVTT cue timings and settings</dfn> from a string
<var title="">input</var> for a <span>timed track cue</span> <var
title="">cue</var>, the user agent must run the following
algorithm.</p>
@@ -32438,7 +32438,7 @@
<li><p><span>Skip whitespace</span>.</p></li>
- <li><p><span>Collect a WebSRT timestamp</span>. If that algorithm
+ <li><p><span>Collect a WebVTT timestamp</span>. If that algorithm
fails, then abort these steps and return failure. Otherwise, let
<var title="">cue</var>'s <span>timed track cue start time</span>
be the collected time.</p></li>
@@ -32469,19 +32469,19 @@
<li><p><span>Skip whitespace</span>.</p></li>
- <li><p><span>Collect a WebSRT timestamp</span>. If that algorithm
+ <li><p><span>Collect a WebVTT timestamp</span>. If that algorithm
fails, then abort these steps and return failure. Otherwise, let
<var title="">cue</var>'s <span>timed track cue end time</span>
be the collected time.</p></li>
<li><p><span>Skip whitespace</span>.</p></li>
- <li><p><span>Parse the WebSRT settings</span> for <var
+ <li><p><span>Parse the WebVTT settings</span> for <var
title="">cue</var>.</p></li>
</ol>
- <p>When the user agent is to <dfn>parse the WebSRT settings</dfn>
+ <p>When the user agent is to <dfn>parse the WebVTT settings</dfn>
for a <span>timed track cue</span> <var title="">cue</var>, the
user agent must run the following steps:</p>
@@ -32749,7 +32749,7 @@
</ol>
<p>When this specification says that a user agent is to
- <dfn>collect a WebSRT timestamp</dfn>, the user agent must run the
+ <dfn>collect a WebVTT timestamp</dfn>, the user agent must run the
following steps:</p>
<ol>
@@ -32889,105 +32889,105 @@
</ol>
- <h6><dfn>WebSRT cue text parsing rules</dfn></h6>
+ <h6><dfn>WebVTT cue text parsing rules</dfn></h6>
- <p>A <dfn>WebSRT Node Object</dfn> is a conceptual construct used to
- represent components of <span>WebSRT cue text</span> so that its
+ <p>A <dfn>WebVTT Node Object</dfn> is a conceptual construct used to
+ represent components of <span>WebVTT cue text</span> so that its
processing can be described without reference to the underlying
syntax.</p>
- <p>There are two broad classes of <span title="WebSRT Node
- Object">WebSRT Node Objects</span>: <span title="WebSRT Internal
- Node Object">WebSRT Internal Node Objects</span> and <span
- title="WebSRT Leaf Node Object">WebSRT Leaf Node Objects</span>.</p>
+ <p>There are two broad classes of <span title="WebVTT Node
+ Object">WebVTT Node Objects</span>: <span title="WebVTT Internal
+ Node Object">WebVTT Internal Node Objects</span> and <span
+ title="WebVTT Leaf Node Object">WebVTT Leaf Node Objects</span>.</p>
- <p><dfn title="WebSRT Internal Node Object">WebSRT Internal Node
- Objects</dfn> are those that can contain further <span title="WebSRT
- Node Object">WebSRT Node Objects</span>. They are conceptually
- similar to elements in HTML or the DOM. <span title="WebSRT Internal
- Node Object">WebSRT Internal Node Objects</span> have an ordered
- list of child <span title="WebSRT Node Object">WebSRT Node
- Objects</span>. The <span>WebSRT Internal Node Object</span> is said
+ <p><dfn title="WebVTT Internal Node Object">WebVTT Internal Node
+ Objects</dfn> are those that can contain further <span title="WebVTT
+ Node Object">WebVTT Node Objects</span>. They are conceptually
+ similar to elements in HTML or the DOM. <span title="WebVTT Internal
+ Node Object">WebVTT Internal Node Objects</span> have an ordered
+ list of child <span title="WebVTT Node Object">WebVTT Node
+ Objects</span>. The <span>WebVTT Internal Node Object</span> is said
to be the <i>parent</i> of the children. Cycles do not occur; the
parent-child relationships so constructed form a tree structure.
- <span title="WebSRT Internal Node Object">WebSRT Internal Node
+ <span title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</span> also have an ordered list of class names, know as
- their <dfn title="WebSRT Node Object's applicable
+ their <dfn title="WebVTT Node Object's applicable
classes">applicable classes</dfn>.</p>
- <p>There are several concrete classes of <span title="WebSRT
- Internal Node Object">WebSRT Internal Node Objects</span>:</p>
+ <p>There are several concrete classes of <span title="WebVTT
+ Internal Node Object">WebVTT Internal Node Objects</span>:</p>
<dl>
- <dt><dfn title="List of WebSRT Node Objects">Lists of WebSRT Node Objects</dfn></dt>
+ <dt><dfn title="List of WebVTT Node Objects">Lists of WebVTT Node Objects</dfn></dt>
<dd>
- <p>These are used as root nodes for trees of <span title="WebSRT
- Node Object">WebSRT Node Objects</span>.</p>
+ <p>These are used as root nodes for trees of <span title="WebVTT
+ Node Object">WebVTT Node Objects</span>.</p>
</dd>
- <dt><dfn title="WebSRT Class Object">WebSRT Class Objects</dfn></dt>
+ <dt><dfn title="WebVTT Class Object">WebVTT Class Objects</dfn></dt>
<dd>
- <p>These represent spans of text (a <span>WebSRT cue class
- span</span>) in <span>WebSRT cue text</span>, and are used to
- annotate parts of the cue with <span title="WebSRT Node Object's
+ <p>These represent spans of text (a <span>WebVTT cue class
+ span</span>) in <span>WebVTT cue text</span>, and are used to
+ annotate parts of the cue with <span title="WebVTT Node Object's
applicable classes">applicable classes</span> without implying
further meaning (such as italics or bold).</p>
</dd>
- <dt><dfn title="WebSRT Italic Object">WebSRT Italic Objects</dfn></dt>
+ <dt><dfn title="WebVTT Italic Object">WebVTT Italic Objects</dfn></dt>
<dd>
- <p>These represent spans of italic text (a <span>WebSRT cue
- italics span</span>) in <span>WebSRT cue text</span>.</p>
+ <p>These represent spans of italic text (a <span>WebVTT cue
+ italics span</span>) in <span>WebVTT cue text</span>.</p>
</dd>
- <dt><dfn title="WebSRT Bold Object">WebSRT Bold Objects</dfn></dt>
+ <dt><dfn title="WebVTT Bold Object">WebVTT Bold Objects</dfn></dt>
<dd>
- <p>These represent spans of bold text (a <span>WebSRT cue
- bold span</span>) in <span>WebSRT cue text</span>.</p>
+ <p>These represent spans of bold text (a <span>WebVTT cue
+ bold span</span>) in <span>WebVTT cue text</span>.</p>
</dd>
- <dt><dfn title="WebSRT Ruby Object">WebSRT Ruby Objects</dfn></dt>
+ <dt><dfn title="WebVTT Ruby Object">WebVTT Ruby Objects</dfn></dt>
<dd>
- <p>These represent spans of ruby (a <span>WebSRT cue
- ruby span</span>) in <span>WebSRT cue text</span>.</p>
+ <p>These represent spans of ruby (a <span>WebVTT cue
+ ruby span</span>) in <span>WebVTT cue text</span>.</p>
</dd>
- <dt><dfn title="WebSRT Ruby Text Object">WebSRT Ruby Text Objects</dfn></dt>
+ <dt><dfn title="WebVTT Ruby Text Object">WebVTT Ruby Text Objects</dfn></dt>
<dd>
- <p>These represent spans of ruby text (a <span>WebSRT cue ruby
- text span</span>) in <span>WebSRT cue text</span>.</p>
+ <p>These represent spans of ruby text (a <span>WebVTT cue ruby
+ text span</span>) in <span>WebVTT cue text</span>.</p>
</dd>
- <dt><dfn title="WebSRT Voice Object">WebSRT Voice Objects</dfn></dt>
+ <dt><dfn title="WebVTT Voice Object">WebVTT Voice Objects</dfn></dt>
<dd>
<p>These represent spans of text associated with a specific voice
- (a <span>WebSRT cue voice span</span>) in <span>WebSRT cue
- text</span>. A <span>WebSRT Voice Object</span> has a value, which
+ (a <span>WebVTT cue voice span</span>) in <span>WebVTT cue
+ text</span>. A <span>WebVTT Voice Object</span> has a value, which
is the name of the voice.</p>
</dd>
</dl>
- <p><dfn title="WebSRT Leaf Node Object">WebSRT Leaf Node
+ <p><dfn title="WebVTT Leaf Node Object">WebVTT Leaf Node
Objects</dfn> are those that contain data, such as text, and cannot
- contain child <span title="WebSRT Node Object">WebSRT Node
+ contain child <span title="WebVTT Node Object">WebVTT Node
Objects</span>.</p>
- <p>There are two concrete classes of <span title="WebSRT Leaf Node
- Object">WebSRT Leaf Node Objects</span>:</p>
+ <p>There are two concrete classes of <span title="WebVTT Leaf Node
+ Object">WebVTT Leaf Node Objects</span>:</p>
<dl>
- <dt><dfn title="WebSRT Text Object">WebSRT Text Objects</dfn></dt>
+ <dt><dfn title="WebVTT Text Object">WebVTT Text Objects</dfn></dt>
<dd>
- <p>A fragment of text. A <span>WebSRT Text Object</span> has a
+ <p>A fragment of text. A <span>WebVTT Text Object</span> has a
value, which is the text it represents.</p>
</dd>
- <dt><dfn title="WebSRT Timestamp Object">WebSRT Timestamp Objects</dfn></dt>
+ <dt><dfn title="WebVTT Timestamp Object">WebVTT Timestamp Objects</dfn></dt>
<dd>
- <p>A timestamp. A <span>WebSRT Timestamp Object</span> has a
+ <p>A timestamp. A <span>WebVTT Timestamp Object</span> has a
value, in seconds and fractions of a second, which is the time
represented by the timestamp.</p>
</dd>
@@ -32995,8 +32995,8 @@
</dl>
<p>To parse a string <var title="">input</var> supposedly containing
- <span>WebSRT cue text</span>, user agents must use the following
- algorithm. This algorithm returns a <span>list of WebSRT Node
+ <span>WebVTT cue text</span>, user agents must use the following
+ algorithm. This algorithm returns a <span>list of WebVTT Node
Objects</span>.</p>
<ol>
@@ -33008,10 +33008,10 @@
title="">input</var>, initially pointing at the start of the
string.</p></li>
- <li><p>Let <var title="">result</var> be a <span>List of WebSRT
+ <li><p>Let <var title="">result</var> be a <span>List of WebVTT
Node Objects</span>, initially empty.</p></li>
- <li><p>Let <var title="">current</var> be the <span>WebSRT Internal
+ <li><p>Let <var title="">current</var> be the <span>WebVTT Internal
Node Object</span> <var title="">result</var>.</p></li>
<li><p><i>Loop</i>: If <var title="">position</var> is past the end
@@ -33019,7 +33019,7 @@
abort these steps.</p></li>
<li><p>Let <var title="">token</var> be the result of invoking the
- <span>WebSRT cue text tokeniser</span>.</p></li>
+ <span>WebVTT cue text tokeniser</span>.</p></li>
<li>
@@ -33033,11 +33033,11 @@
<ol>
- <li><p>Create a <span>WebSRT Text Object</span> whose value is
+ <li><p>Create a <span>WebVTT Text Object</span> whose value is
the value of the string token <var
title="">token</var>.</p></li>
- <li><p>Append the newly created <span>WebSRT Text Object</span>
+ <li><p>Append the newly created <span>WebVTT Text Object</span>
to <var title="">current</var>.</p></li>
</ol>
@@ -33059,40 +33059,40 @@
<dt>If the tag name is "<code title="">c</code>"</dt>
<dd>
- <p><span title="attach a WebSRT Internal Node
- Object">Attach</span> a <span>WebSRT Class Object</span>.</p>
+ <p><span title="attach a WebVTT Internal Node
+ Object">Attach</span> a <span>WebVTT Class Object</span>.</p>
</dd>
<dt>If the tag name is "<code title="">i</code>"</dt>
<dd>
- <p><span title="attach a WebSRT Internal Node
- Object">Attach</span> a <span>WebSRT Italic Object</span>.</p>
+ <p><span title="attach a WebVTT Internal Node
+ Object">Attach</span> a <span>WebVTT Italic Object</span>.</p>
</dd>
<dt>If the tag name is "<code title="">b</code>"</dt>
<dd>
- <p><span title="attach a WebSRT Internal Node
- Object">Attach</span> a <span>WebSRT Bold Object</span>.</p>
+ <p><span title="attach a WebVTT Internal Node
+ Object">Attach</span> a <span>WebVTT Bold Object</span>.</p>
</dd>
<dt>If the tag name is "<code title="">ruby</code>"</dt>
<dd>
- <p><span title="attach a WebSRT Internal Node
- Object">Attach</span> a <span>WebSRT Ruby Object</span>.</p>
+ <p><span title="attach a WebVTT Internal Node
+ Object">Attach</span> a <span>WebVTT Ruby Object</span>.</p>
</dd>
<dt>If the tag name is "<code title="">rt</code>"</dt>
<dd>
- <p>If <var title="">current</var> is a <span>WebSRT Ruby
- Object</span>, then <span title="attach a WebSRT Internal Node
- Object">attach</span> a <span>WebSRT Ruby Text
+ <p>If <var title="">current</var> is a <span>WebVTT Ruby
+ Object</span>, then <span title="attach a WebVTT Internal Node
+ Object">attach</span> a <span>WebVTT Ruby Text
Object</span>.</p>
</dd>
<dt>If the tag name is "<code title="">v</code>"</dt>
<dd>
- <p><span title="attach a WebSRT Internal Node
- Object">Attach</span> a <span>WebSRT Voice Object</span>, and
+ <p><span title="attach a WebVTT Internal Node
+ Object">Attach</span> a <span>WebVTT Voice Object</span>, and
set its value to the token's annotation string.</p>
</dd>
@@ -33103,10 +33103,10 @@
</dl>
- <p>When the steps above say to <dfn>attach a WebSRT Internal
+ <p>When the steps above say to <dfn>attach a WebVTT Internal
Node Object</dfn> of a particular class, the user agent must
first create an object of the specified class, then set its list
- of <span title="WebSRT Node Object's applicable
+ of <span title="WebVTT Node Object's applicable
classes">applicable classes</span> to the list of classes in the
token, append the newly created node object to <var
title="">current</var>, and finally let <var
@@ -33125,33 +33125,33 @@
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">c</code>" and <var title="">current</var> is
- a <span>WebSRT Class Object</span>.</li>
+ a <span>WebVTT Class Object</span>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">i</code>" and <var title="">current</var> is
- a <span>WebSRT Italic Object</span>.</li>
+ a <span>WebVTT Italic Object</span>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">b</code>" and <var title="">current</var> is
- a <span>WebSRT Bold Object</span>.</li>
+ a <span>WebVTT Bold Object</span>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">ruby</code>" and <var title="">current</var> is
- a <span>WebSRT Ruby Object</span>.</li>
+ a <span>WebVTT Ruby Object</span>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">rt</code>" and <var title="">current</var> is
- a <span>WebSRT Ruby Text Object</span>.</li>
+ a <span>WebVTT Ruby Text Object</span>.</li>
<li>The tag name of the end tag token <var title="">token</var>
is "<code title="">v</code>" and <var title="">current</var> is
- a <span>WebSRT Voice Object</span>.</li>
+ a <span>WebVTT Voice Object</span>.</li>
</ul>
<p>Otherwise, if the tag name of the end tag token <var
title="">token</var> is "<code title="">ruby</code>" and <var
- title="">current</var> is a <span>WebSRT Ruby Text
+ title="">current</var> is a <span>WebVTT Ruby Text
Object</span>, then let <var title="">current</var> be the
parent node of <var title="">current</var> of the parent node of
<var title="">current</var>.</p>
@@ -33171,14 +33171,14 @@
<var title="">input</var>, initially pointing at the start of
the string.</p></li>
- <li><p><span>Collect a WebSRT timestamp</span>.</p></li>
+ <li><p><span>Collect a WebVTT timestamp</span>.</p></li>
<li>
<p>If that algorithm does not fail, and if <var
title="">position</var> now points at the end of <var
title="">input</var> (i.e. there are no trailing characters
- after the timestamp), then create a <span>WebSRT Timestamp
+ after the timestamp), then create a <span>WebVTT Timestamp
Object</span> whose value is the collected time, then append
it to <var title="">current</var>.</p>
@@ -33198,7 +33198,7 @@
</ol>
- <p>The <dfn>WebSRT cue text tokeniser</dfn> is as follows. It emits
+ <p>The <dfn>WebVTT cue text tokeniser</dfn> is as follows. It emits
a token, which is either a string (whose value is a sequence of
Unicode characters), a start tag (with a tag name, a list of
classes, and optionally an annotation), an end tag (with a tag
@@ -33210,7 +33210,7 @@
title="">position</var> be the same variables as those of the same
name in the algorithm that invoked these steps.</p></li>
- <li><p>Let <var title="">tokeniser state</var> be <span>WebSRT data
+ <li><p>Let <var title="">tokeniser state</var> be <span>WebVTT data
state</span>.</p></li>
<li><p>Let <var title="">result</var> be the empty string.</p></li>
@@ -33232,7 +33232,7 @@
<dl>
- <dt><dfn>WebSRT data state</dfn></dt>
+ <dt><dfn>WebVTT data state</dfn></dt>
<dd>
@@ -33244,7 +33244,7 @@
<dt>U+0026 AMPERSAND (&)</dt>
<dd>
<p>Set <var title="">buffer</var> to <var title="">c</var>,
- set <var title="">tokeniser state</var> to the <span>WebSRT
+ set <var title="">tokeniser state</var> to the <span>WebVTT
escape state</span>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -33252,7 +33252,7 @@
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd>
<p>If <var title="">result</var> is the empty string, then set
- <var title="">tokeniser state</var> to the <span>WebSRT tag
+ <var title="">tokeniser state</var> to the <span>WebVTT tag
state</span> and jump to the step labeled <i>next</i>.</p>
<p>Otherwise, return a string token whose value is <var
title="">result</var> and abort these steps.</p>
@@ -33274,7 +33274,7 @@
</dd>
- <dt><dfn>WebSRT escape state</dfn></dt>
+ <dt><dfn>WebVTT escape state</dfn></dt>
<dd>
@@ -33305,7 +33305,7 @@
title="">result</var>.</p>
<p>Then, in any case, set <var title="">tokeniser state</var>
- to the <span>WebSRT data state</span>, and jump to the step
+ to the <span>WebVTT data state</span>, and jump to the step
labeled <i>next</i>.</p>
</dd>
@@ -33329,7 +33329,7 @@
<dd>
<p>Append <var title="">buffer</var> to <var
title="">result</var>, set <var title="">tokeniser state</var>
- to the <span>WebSRT data state</span>, and jump to the step
+ to the <span>WebVTT data state</span>, and jump to the step
labeled <i>next</i>.</p>
</dd>
@@ -33337,7 +33337,7 @@
</dd>
- <dt><dfn>WebSRT tag state</dfn></dt>
+ <dt><dfn>WebVTT tag state</dfn></dt>
<dd>
@@ -33350,7 +33350,7 @@
<dt>U+0009 CHARACTER TABULATION (tab) character</dt>
<dd>
<!-- assert: >result< is the empty string -->
- <p>Set <var title="">tokeniser state</var> to the <span>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <span>WebVTT
start tag annotation state</span>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -33358,14 +33358,14 @@
<dt>U+002E FULL STOP character (.)</dt>
<dd>
<!-- assert: >result< is the empty string -->
- <p>Set <var title="">tokeniser state</var> to the <span>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <span>WebVTT
start tag class state</span>, and jump to the step labeled
<i>next</i>.</p>
</dd>
<dt>U+002F SOLIDUS character (/)</dt>
<dd>
- <p>Set <var title="">tokeniser state</var> to the <span>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <span>WebVTT
end tag state</span>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -33373,7 +33373,7 @@
<dt>Characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)</dt>
<dd>
<p>Set <var title="">result</var> to <var title="">c</var>,
- set <var title="">tokeniser state</var> to the <span>WebSRT
+ set <var title="">tokeniser state</var> to the <span>WebVTT
timestamp tag state</span>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -33388,7 +33388,7 @@
<dt>Anything else</dt>
<dd>
<p>Set <var title="">result</var> to <var title="">c</var>,
- set <var title="">tokeniser state</var> to the <span>WebSRT
+ set <var title="">tokeniser state</var> to the <span>WebVTT
start tag state</span>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -33397,7 +33397,7 @@
</dd>
- <dt><dfn>WebSRT start tag state</dfn></dt>
+ <dt><dfn>WebVTT start tag state</dfn></dt>
<dd>
@@ -33409,14 +33409,14 @@
<dt>U+0020 SPACE character</dt>
<dt>U+0009 CHARACTER TABULATION (tab) character</dt>
<dd>
- <p>Set <var title="">tokeniser state</var> to the <span>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <span>WebVTT
start tag annotation state</span>, and jump to the step labeled
<i>next</i>.</p>
</dd>
<dt>U+002E FULL STOP character (.)</dt>
<dd>
- <p>Set <var title="">tokeniser state</var> to the <span>WebSRT
+ <p>Set <var title="">tokeniser state</var> to the <span>WebVTT
start tag class state</span>, and jump to the step labeled
<i>next</i>.</p>
</dd>
@@ -33439,7 +33439,7 @@
</dd>
- <dt><dfn>WebSRT start tag class state</dfn></dt>
+ <dt><dfn>WebVTT start tag class state</dfn></dt>
<dd>
@@ -33454,7 +33454,7 @@
<p>Append to <var title="">classes</var> an entry whose value
is <var title="">buffer</var>, set <var title="">buffer</var>
to the empty string, set <var title="">tokeniser state</var>
- to the <span>WebSRT start tag annotation state</span>, and
+ to the <span>WebVTT start tag annotation state</span>, and
jump to the step labeled <i>next</i>.</p>
</dd>
@@ -33486,7 +33486,7 @@
</dd>
- <dt><dfn>WebSRT start tag annotation state</dfn></dt>
+ <dt><dfn>WebVTT start tag annotation state</dfn></dt>
<dd>
@@ -33519,7 +33519,7 @@
</dd>
- <dt><dfn>WebSRT end tag state</dfn></dt>
+ <dt><dfn>WebVTT end tag state</dfn></dt>
<dd>
@@ -33545,7 +33545,7 @@
</dd>
- <dt><dfn>WebSRT timestamp tag state</dfn></dt>
+ <dt><dfn>WebVTT timestamp tag state</dfn></dt>
<dd>
@@ -33583,48 +33583,48 @@
</ol>
- <h6><dfn>WebSRT cue text DOM construction rules</dfn></h6>
+ <h6><dfn>WebVTT cue text DOM construction rules</dfn></h6>
- <p>To convert a <span>List of WebSRT Node Objects</span> to a DOM
+ <p>To convert a <span>List of WebVTT Node Objects</span> to a DOM
tree for <code>Document</code> <var title="">owner</var>, user
agents must create a tree of DOM nodes that is isomorphous to the
- tree of <span title="WebSRT Node Object">WebSRT Node Objects</span>,
- with the following mapping of <span title="WebSRT Node
- Object">WebSRT Node Objects</span> to DOM nodes:</p>
+ tree of <span title="WebVTT Node Object">WebVTT Node Objects</span>,
+ with the following mapping of <span title="WebVTT Node
+ Object">WebVTT Node Objects</span> to DOM nodes:</p>
<table>
<thead>
<tr>
- <th><span>WebSRT Node Object</span>
+ <th><span>WebVTT Node Object</span>
<th>DOM node
<tbody>
<tr>
- <td><span>List of WebSRT Node Objects</span>
+ <td><span>List of WebVTT Node Objects</span>
<td><code>DocumentFragment</code> node
<tr>
- <td><span>WebSRT Class Object</span>
+ <td><span>WebVTT Class Object</span>
<td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>span</code>".
<tr>
- <td><span>WebSRT Italic Object</span>
+ <td><span>WebVTT Italic Object</span>
<td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>i</code>".
<tr>
- <td><span>WebSRT Bold Object</span>
+ <td><span>WebVTT Bold Object</span>
<td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>b</code>".
<tr>
- <td><span>WebSRT Ruby Object</span>
+ <td><span>WebVTT Ruby Object</span>
<td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>ruby</code>".
<tr>
- <td><span>WebSRT Ruby Text Object</span>
+ <td><span>WebVTT Ruby Text Object</span>
<td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>rt</code>".
<tr>
- <td><span>WebSRT Voice Object</span>
- <td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>q</code>", a <code title="attr-title">title</code> attribute set to the <span>WebSRT Voice Object</span>'s value.
+ <td><span>WebVTT Voice Object</span>
+ <td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>q</code>", a <code title="attr-title">title</code> attribute set to the <span>WebVTT Voice Object</span>'s value.
<tr>
- <td><span>WebSRT Text Object</span>
- <td><code>Text</code> node whose character data is the value of the <span>WebSRT Text Object</span>.
+ <td><span>WebVTT Text Object</span>
+ <td><code>Text</code> node whose character data is the value of the <span>WebVTT Text Object</span>.
<tr>
- <td><span>WebSRT Timestamp Object</span>
- <td><code>ProcessingInstruction</code> node whose <code title="dom-ProcessingInstruction-target">target</code> is "<code title="">timestamp</code>" and whose <code title="dom-ProcessingInstruction-data">data</code> is a <span>WebSRT timestamp</span> representing the value of the <span>WebSRT Timestamp Object</span>, with all optional components included and with the seconds separator being a U+002E FULL STOP character (.).
+ <td><span>WebVTT Timestamp Object</span>
+ <td><code>ProcessingInstruction</code> node whose <code title="dom-ProcessingInstruction-target">target</code> is "<code title="">timestamp</code>" and whose <code title="dom-ProcessingInstruction-data">data</code> is a <span>WebVTT timestamp</span> representing the value of the <span>WebVTT Timestamp Object</span>, with all optional components included and with the seconds separator being a U+002E FULL STOP character (.).
</table>
<p><code>HTMLElement</code> nodes created as part of the mapping
@@ -33633,7 +33633,7 @@
<span>HTML namespace</span>, and must have a <code
title="attr-class">class</code> attribute set to the string obtained
by concatenating all the classes that apply to the corresponding
- <span>WebSRT Internal Node Object</span>, each separated from the
+ <span>WebVTT Internal Node Object</span>, each separated from the
next by a single U+0020 SPACE character.</p>
<p>The <code title="dom-Node-ownerDocument">ownerDocument</code>
@@ -33647,7 +33647,7 @@
</div>
<!--</div>-->
-<!--END websrt-->
+<!--END webvtt-->
<!--START w3c-html--><!--TT-->
@@ -97788,8 +97788,8 @@
<!--KEEP-END w3c-html--><!--TT-->
<p>Any subtitles or captions are expected to be overlayed directly
on top of their <code>video</code> element, as defined by the
- relevant rendering rules; for <span>WebSRT</span>, those are the
- <span>WebSRT cue text rendering rules</span> defined below.</p>
+ relevant rendering rules; for <span>WebVTT</span>, those are the
+ <span>WebVTT cue text rendering rules</span> defined below.</p>
<p>When the user agent starts <span title="expose a user interface
to the user">exposing a user interface</span> for a
@@ -97800,8 +97800,8 @@
title="timed track showing">showing</span> or <span title="timed
track showing by default">showing by default</span> (e.g., for <span
title="timed track">timed tracks</span> based on
- <span>WebSRT</span>, the <span>rules for updating the display of
- WebSRT timed tracks</span>).</p>
+ <span>WebVTT</span>, the <span>rules for updating the display of
+ WebVTT timed tracks</span>).</p>
<!--KEEP-START w3c-html--><!--TT-->
<p class="note">Resizing <code>video</code> and <code>canvas</code>
@@ -97827,10 +97827,10 @@
<p class="note">This section is intended to be moved to its own CSS
module once an editor is found to run with it.</p>
-<!--START websrt-->
- <h5><dfn>WebSRT cue text rendering rules</dfn></h5>
+<!--START webvtt-->
+ <h5><dfn>WebVTT cue text rendering rules</dfn></h5>
- <p>The <dfn>rules for updating the display of WebSRT timed
+ <p>The <dfn>rules for updating the display of WebVTT timed
tracks</dfn> render the <span title="timed track">timed
tracks</span> of a <span>media element</span> (specifically, a
<code>video</code> element), or of another playback mechanism, by
@@ -97873,7 +97873,7 @@
<li><p>Let <var title="">tracks</var> be the subset of <var
title="">video</var>'s <span>list of timed tracks</span> that have
as their <span>rules for updating the timed track rendering</span>
- these <span>rules for updating the display of WebSRT timed
+ these <span>rules for updating the display of WebVTT timed
tracks</span>, and whose <span>timed track mode</span> is <span
title="timed track showing">showing</span> or <span title="timed
track showing by default">showing by default</span>.</p></li>
@@ -97904,8 +97904,8 @@
<ol>
- <li><p>Let <var title="">nodes</var> be the <span>list of WebSRT
- Node Objects</span> obtained by applying the <span>WebSRT cue
+ <li><p>Let <var title="">nodes</var> be the <span>list of WebVTT
+ Node Objects</span> obtained by applying the <span>WebVTT cue
text parsing rules</span> to the <var title="">cue</var>'s
<span>timed track cue text</span>.</p>
@@ -97921,9 +97921,9 @@
<li><var title="">nodes</var> represents a single paragraph.</li>
<li>The paragraph's text consists of the concatenation of the
- values of each <span>WebSRT Text Object</span> in <var
+ values of each <span>WebVTT Text Object</span> in <var
title="">nodes</var>, in a pre-order, depth-first traversal,
- excluding <span title="WebSRT Ruby Text Object">WebSRT Ruby
+ excluding <span title="WebVTT Ruby Text Object">WebVTT Ruby
Text Objects</span> and their descendants.</li>
</ul>
@@ -98172,16 +98172,16 @@
<ul>
<li><p>The <i>document tree</i> is the tree of <span
- title="WebSRT Node Object">WebSRT Node Objects</span> rooted at
+ title="WebVTT Node Object">WebVTT Node Objects</span> rooted at
<var title="">nodes</var>.</p></li>
<li><p>For the purposes of processing by the CSS specification,
- <span title="WebSRT Internal Node Object">WebSRT Internal Node
+ <span title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</span> are equivalent to elements with the same
contents.</p></li>
<li>For the purposes of processing by the CSS
- specification, <span title="WebSRT Text Object">WebSRT Text
+ specification, <span title="WebVTT Text Object">WebVTT Text
Objects</span> are equivalent to text nodes.</li>
<li>No style sheets are associated with <var
@@ -98191,16 +98191,16 @@
<li>The children of the <var title="">nodes</var> must be
wrapped in an anonymous box whose 'display' property has the
- value 'inline'. This is the <dfn>WebSRT cue background
+ value 'inline'. This is the <dfn>WebVTT cue background
box</dfn>.</li>
- <li>Runs of children of <span title="WebSRT Ruby Object">WebSRT
- Ruby Objects</span> that are not <span title="WebSRT Ruby Text
- Object">WebSRT Ruby Text Objects</span> must be wrapped in
+ <li>Runs of children of <span title="WebVTT Ruby Object">WebVTT
+ Ruby Objects</span> that are not <span title="WebVTT Ruby Text
+ Object">WebVTT Ruby Text Objects</span> must be wrapped in
anonymous boxes whose 'display' property has the value
'ruby-base'. <a href="#refsCSSRUBY">[CSSRUBY]</a></li>
- <li>Properties on <span title="WebSRT Node Object">WebSRT Node
+ <li>Properties on <span title="WebVTT Node Object">WebVTT Node
Objects</span> have their values set as defined in the next
section. (That section uses some of the variables whose values
were calculated earlier in this algorithm.)</li>
@@ -98509,14 +98509,14 @@
</ol>
- <h5>Applying CSS properties to <span title="WebSRT Node Object">WebSRT Node Objects</span></h5>
+ <h5>Applying CSS properties to <span title="WebVTT Node Object">WebVTT Node Objects</span></h5>
- <p>When following the <span>rules for updating the display of WebSRT
+ <p>When following the <span>rules for updating the display of WebVTT
timed tracks</span>, user agents must set properties of <span
- title="WebSRT Node Object">WebSRT Node Objects</span> as defined in
+ title="WebVTT Node Object">WebVTT Node Objects</span> as defined in
this section. <a href="#refsCSS">[CSS]</a></p>
- <p>On the (root) <span>List of WebSRT Node Objects</span>, the
+ <p>On the (root) <span>List of WebVTT Node Objects</span>, the
'position' property must be set to 'absolute', the 'direction'
property must be set to <var title="">direction</var>, the
'block-flow' property must be set to <var title="">block-flow</var>,
@@ -98528,38 +98528,38 @@
title="">top</var>, <var title="">left</var>, <var
title="">width</var>, and <var title="">height</var> are the values
with those names determined by the <span>rules for updating the
- display of WebSRT timed tracks</span> for the <span>timed track
+ display of WebVTT timed tracks</span> for the <span>timed track
cue</span> from whose <span title="timed track cue text">text</span>
- the <span>List of WebSRT Node Objects</span> was constructed.</p>
+ the <span>List of WebVTT Node Objects</span> was constructed.</p>
- <p>The 'font' shorthand property on the (root) <span>List of WebSRT
+ <p>The 'font' shorthand property on the (root) <span>List of WebVTT
Node Objects</span> must be set to '0.1vh sans-serif'. <a
href="#refsCSSRUBY">[CSSRUBY]</a> <a
href="#refsCSSVALUES">[CSSVALUES]</a></p>
- <p>The 'color' property on the (root) <span>List of WebSRT Node
+ <p>The 'color' property on the (root) <span>List of WebVTT Node
Objects</span> must be set to 'rgba(255,255,255,0)'. <a
href="#refsCSSCOLOR">[CSSCOLOR]</a></p>
- <p>The 'background' shorthand property on the <span>WebSRT cue
+ <p>The 'background' shorthand property on the <span>WebVTT cue
background box</span> must be set to 'rgba(0,0,0,0.8)'. <a
href="#refsCSSCOLOR">[CSSCOLOR]</a></p>
<p>A text outline or stroke may also be set on the (root) <span>List
- of WebSRT Node Objects</span>, if supported.</p> <!-- 'text-outline'
+ of WebVTT Node Objects</span>, if supported.</p> <!-- 'text-outline'
is in CSS3 Text, but Tab says that's awaiting medical attention. -->
- <p>The 'font-style' property on <span title="WebSRT Italic
- Object">WebSRT Italic Objects</span> must be set to 'italic'.</p>
- <p>The 'font-weight' property on <span title="WebSRT Bold
- Object">WebSRT Bold Objects</span> must be set to 'bold'.</p>
+ <p>The 'font-style' property on <span title="WebVTT Italic
+ Object">WebVTT Italic Objects</span> must be set to 'italic'.</p>
+ <p>The 'font-weight' property on <span title="WebVTT Bold
+ Object">WebVTT Bold Objects</span> must be set to 'bold'.</p>
- <p>The 'display' property on <span title="WebSRT Ruby Object">WebSRT
+ <p>The 'display' property on <span title="WebVTT Ruby Object">WebVTT
Ruby Objects</span> must be set to 'ruby'. <a
href="#refsCSSRUBY">[CSSRUBY]</a></p>
- <p>The 'display' property on <span title="WebSRT Ruby Text
- Object">WebSRT Ruby Text Objects</span> must be set to
+ <p>The 'display' property on <span title="WebVTT Ruby Text
+ Object">WebVTT Ruby Text Objects</span> must be set to
'ruby-text'. <a href="#refsCSSRUBY">[CSSRUBY]</a></p>
<p>If there are style sheets that apply to the <span>media
@@ -98567,27 +98567,27 @@
interpreted as defined in the next section.</p>
<p>All other non-inherited properties must be set to their initial
- values; inherited properties on the root <span>List of WebSRT Node
+ values; inherited properties on the root <span>List of WebVTT Node
Objects</span> must inherit their values from the <span>media
element</span> for which the <span>timed track cue</span> is being
rendered, if any. If there is no <span>media element</span> (i.e. if
the <span>timed track</span> is being rendered for another media
playback mechanism), then inherited properties on the root
- <span>List of WebSRT Node Objects</span> must take their initial
+ <span>List of WebVTT Node Objects</span> must take their initial
values.</p>
<h5>CSS extensions</h5>
<p>When a user agent is rendering one or more <span title="timed
- track cue">timed track cues</span> according to the <span>WebSRT cue
- text rendering rules</span>, <span title="WebSRT Node Object">WebSRT
- Node Objects</span> in the <span>list of WebSRT Node Objects</span>
+ track cue">timed track cues</span> according to the <span>WebVTT cue
+ text rendering rules</span>, <span title="WebVTT Node Object">WebVTT
+ Node Objects</span> in the <span>list of WebVTT Node Objects</span>
used in the rendering can be matched by certain pseudo-selectors as
defined below. These selectors can begin or stop matching individual
- <span title="WebSRT Node Object">WebSRT Node Objects</span> while a
+ <span title="WebVTT Node Object">WebVTT Node Objects</span> while a
<span title="timed track cue">cue</span> is being rendered, even in
- between applications of the <span>WebSRT cue text rendering
+ between applications of the <span>WebVTT cue text rendering
rules</span> (which are only run when the set of active cues
changes). User agents that support the pseudo-element described
below must dynamically update renderings accordingly.</p>
@@ -98612,11 +98612,11 @@
<h6>The '::cue' pseudo-element</h6>
<p>The '<dfn title="pseudo-cue">::cue</dfn>' pseudo-element (with no
- argument) matches any <span>List of WebSRT Node Objects</span>
+ argument) matches any <span>List of WebVTT Node Objects</span>
constructed for the <i>matched element</i>, with the exception that
the properties corresponding to the 'background' shorthand must be
- applied to the <span>WebSRT cue background box</span> rather than
- the <span>List of WebSRT Node Objects</span>.</p>
+ applied to the <span>WebVTT cue background box</span> rather than
+ the <span>List of WebVTT Node Objects</span>.</p>
<p>The following properties apply to the '::cue' pseudo-element with
no argument; other properties set on the pseudo-element must be
@@ -98642,27 +98642,27 @@
<p>The '<dfn title="pseudo-cue-selector">::cue(<var
title="">selector</var>)</dfn>' pseudo-element with an argument must
have an argument that consists of a group of selectors. It matches
- any <span>WebSRT Internal Node Object</span> constructed for the
+ any <span>WebVTT Internal Node Object</span> constructed for the
<i>matched element</i> that also matches the given group of
selectors, with the nodes being treated as follows:</p>
<ul>
<li><p>The <i>document tree</i> against which the selectors are
- matched is the tree of <span title="WebSRT Node Object">WebSRT Node
- Objects</span> rooted at the <span>list of WebSRT Node
+ matched is the tree of <span title="WebVTT Node Object">WebVTT Node
+ Objects</span> rooted at the <span>list of WebVTT Node
Objects</span> for the cue.</p></li>
- <li><p><span title="WebSRT Internal Node Object">WebSRT Internal
+ <li><p><span title="WebVTT Internal Node Object">WebVTT Internal
Node Objects</span> are elements in the tree.</p></li>
- <li><span title="WebSRT Leaf Node Object">WebSRT Leaf Node
+ <li><span title="WebVTT Leaf Node Object">WebVTT Leaf Node
Objects</span> cannot be matched.</li>
<li>
<p>For the purposes of element type selectors, the names of <span
- title="WebSRT Internal Node Object">WebSRT Internal Node
+ title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</span> are as given by the following table, where objects
having the concrete class given in a cell in the first column have
the name given by the second column of the same row:</p>
@@ -98676,31 +98676,31 @@
<tbody>
<tr>
- <td><span title="WebSRT Class Object">WebSRT Class Objects</span>
+ <td><span title="WebVTT Class Object">WebVTT Class Objects</span>
<td><code title="">c</code>
<tr>
- <td><span title="WebSRT Italic Object">WebSRT Italic Objects</span>
+ <td><span title="WebVTT Italic Object">WebVTT Italic Objects</span>
<td><code title="">i</code>
<tr>
- <td><span title="WebSRT Bold Object">WebSRT Bold Objects</span>
+ <td><span title="WebVTT Bold Object">WebVTT Bold Objects</span>
<td><code title="">b</code>
<tr>
- <td><span title="WebSRT Ruby Object">WebSRT Ruby Objects</span>
+ <td><span title="WebVTT Ruby Object">WebVTT Ruby Objects</span>
<td><code title="">ruby</code>
<tr>
- <td><span title="WebSRT Ruby Text Object">WebSRT Ruby Text Objects</span>
+ <td><span title="WebVTT Ruby Text Object">WebVTT Ruby Text Objects</span>
<td><code title="">rt</code>
<tr>
- <td><span title="WebSRT Voice Object">WebSRT Voice Objects</span>
+ <td><span title="WebVTT Voice Object">WebVTT Voice Objects</span>
<td><code title="">v</code>
<tr>
- <td>Other elements (specifically, <span title="List of WebSRT Node Objects">Lists of WebSRT Node Objects</span>)
+ <td>Other elements (specifically, <span title="List of WebVTT Node Objects">Lists of WebVTT Node Objects</span>)
<td>No explicit name.
</table>
@@ -98708,21 +98708,21 @@
</li>
<li><p>For the purposes of element type and universal selectors,
- <span title="WebSRT Internal Node Object">WebSRT Internal Node
+ <span title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</span> are considered as being in the namespace expressed
as the empty string.</p></li>
<li><p>For the purposes of attribute selector matching, <span
- title="WebSRT Internal Node Object">WebSRT Internal Node
+ title="WebVTT Internal Node Object">WebVTT Internal Node
Objects</span> have no attributes, except for <span
- title="WebSRT Voice Object">WebSRT Voice Objects</span>, which
+ title="WebVTT Voice Object">WebVTT Voice Objects</span>, which
have a single attribute named "<code title="">voice</code>"
- whose value is the value of the <span>WebSRT Voice
+ whose value is the value of the <span>WebVTT Voice
Object</span>.</p></li>
<li><p>For the purposes of class selector matching, <span
- title="WebSRT Internal Node Object">WebSRT Internal Node
- Objects</span> have the classes described as the <span>WebSRT
+ title="WebVTT Internal Node Object">WebVTT Internal Node
+ Objects</span> have the classes described as the <span>WebVTT
Node Object's applicable classes</span>.</p></li> <!-- ok, this
isn't especially well-defined, but the Selectors spec doesn't
really give one much to go on here. -->
@@ -98771,42 +98771,42 @@
<p>As a special exception, the properties corresponding to the
'background' shorthand, when they would have been applied to the
- <span>List of WebSRT Node Objects</span>, must instead be applied to
- the <span>WebSRT cue background box</span>.</p>
+ <span>List of WebVTT Node Objects</span>, must instead be applied to
+ the <span>WebVTT cue background box</span>.</p>
<h6>The ':past' and ':future' pseudo-classes</h6>
<p>The <dfn title="past-pseudo-class">':past'</dfn> and <dfn
title="future-pseudo-class">':future'</dfn> pseudo-classes only
- match <span title="WebSRT Node Object">WebSRT Node Objects</span>.</p>
+ match <span title="WebVTT Node Object">WebVTT Node Objects</span>.</p>
- <p>The ':past' pseudo-class only matches <span title="WebSRT Node
- Object">WebSRT Node Objects</span> that are <i>in the past</i>.</p>
+ <p>The ':past' pseudo-class only matches <span title="WebVTT Node
+ Object">WebVTT Node Objects</span> that are <i>in the past</i>.</p>
- <p>A <span>WebSRT Node Object</span> <var title="">c</var> is
+ <p>A <span>WebVTT Node Object</span> <var title="">c</var> is
<dfn>in the past</dfn> if, in a pre-order, depth-first traversal of
- the <span>timed track cue</span>'s <span>List of WebSRT Node
- Objects</span>, there exists a <span>WebSRT Timestamp Object</span>
+ the <span>timed track cue</span>'s <span>List of WebVTT Node
+ Objects</span>, there exists a <span>WebVTT Timestamp Object</span>
whose value is less than the <span>current playback position</span>
of the <span>media element</span> that is the <i>matched
- element</i>, entirely after the <span>WebSRT Node Object</span> <var
+ element</i>, entirely after the <span>WebVTT Node Object</span> <var
title="">c</var>.</p>
- <p>The ':future' pseudo-class only matches <span title="WebSRT Node
- Object">WebSRT Node Objects</span> that are <i>in the future</i>.</p>
+ <p>The ':future' pseudo-class only matches <span title="WebVTT Node
+ Object">WebVTT Node Objects</span> that are <i>in the future</i>.</p>
- <p>A <span>WebSRT Node Object</span> <var title="">c</var> is
+ <p>A <span>WebVTT Node Object</span> <var title="">c</var> is
<dfn>in the future</dfn> if, in a pre-order, depth-first traversal
- of the <span>timed track cue</span>'s <span>List of WebSRT Node
- Objects</span>, there exists a <span>WebSRT Timestamp Object</span>
+ of the <span>timed track cue</span>'s <span>List of WebVTT Node
+ Objects</span>, there exists a <span>WebVTT Timestamp Object</span>
whose value is greater than the <span>current playback
position</span> of the <span>media element</span> that is the
- <i>matched element</i>, entirely before the <span>WebSRT Node
+ <i>matched element</i>, entirely before the <span>WebVTT Node
Object</span> <var title="">c</var>.</p>
</div>
-<!--END websrt-->
+<!--END webvtt-->
<!--</div>-->
<!--KEEP-START w3c-html--><!--TT-->
@@ -102681,7 +102681,7 @@
<!--END w3c-html--><!--TT-->
<div data-component="other Hixie drafts (editor: Ian Hickson)">
- <h3><dfn><code>text/srt</code></dfn></h3>
+ <h3><dfn><code>text/vtt</code></dfn></h3>
<p>This registration is for community review and will be submitted
to the IESG for review, approval, and registration with IANA.</p>
@@ -102695,7 +102695,7 @@
<dt>Type name:</dt>
<dd>text</dd>
<dt>Subtype name:</dt>
- <dd>srt</dd>
+ <dd>vtt</dd>
<dt>Required parameters:</dt>
<dd>No parameters</dd>
<dt>Optional parameters:</dt>
@@ -102731,21 +102731,21 @@
<dl>
<dt>Magic number(s):</dt>
<dd>
- <p>WebSRT files all begin with one of the following byte sequences:</p>
+ <p>WebVTT files all begin with one of the following byte sequences:</p>
<ul class="brief">
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 0A
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 0D
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 20
- <li> EF BB BF 57 45 42 53 52 54 20 46 49 4C 45 09
- <li> 57 45 42 53 52 54 20 46 49 4C 45 0A
- <li> 57 45 42 53 52 54 20 46 49 4C 45 0D
- <li> 57 45 42 53 52 54 20 46 49 4C 45 20
- <li> 57 45 42 53 52 54 20 46 49 4C 45 09
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 0A
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 0D
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 20
+ <li> EF BB BF 57 45 42 56 54 54 20 46 49 4C 45 09
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 0A
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 0D
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 20
+ <li> 57 45 42 56 54 54 20 46 49 4C 45 09
</ul>
- <p class="note">(An optional UTF-8 BOM, the ASCII string "<code title="">WEBSRT FILE</code>", and finally a space, tab, or line break.)
+ <p class="note">(An optional UTF-8 BOM, the ASCII string "<code title="">WEBVTT FILE</code>", and finally a space, tab, or line break.)
</dd>
<dt>File extension(s):</dt>
- <dd>"<code title="">srt</code>"</dd>
+ <dd>"<code title="">vtt</code>"</dd>
<dt>Macintosh file type code(s):</dt>
<dd>No specific Macintosh file type codes are recommended for this type.</dd>
</dl>
@@ -102763,7 +102763,7 @@
</dl>
<p>Fragment identifiers have no meaning with
- <code>text/srt</code> resources.</p>
+ <code>text/vtt</code> resources.</p>
</div>
<!--START w3c-html--><!--TT-->
@@ -106657,7 +106657,7 @@
<!--START html-device--><!--START microdata--><!--START 2dcontext--><!--START postmsg--><!--START w3c-html-->
<!--START websocket-api--><!--START storage--><!--START database--><!--START eventsource--><!--START workers-->
<!--START whatwg-workers--><!--START vocabs--><!--START vCard--><!--START vEvent--><!--START work-->
-<!--START websrt-->
+<!--START webvtt-->
<h2 class="no-num" id="references">References</h2><!--REFS-->
@@ -107510,7 +107510,7 @@
<!--REFERENCES OFF-->
</dl>
-<!--END websrt-->
+<!--END webvtt-->
<!--END whatwg-workers--><!--END vocabs--><!--END vCard--><!--END vEvent--><!--END work-->
<!--END websocket-api--><!--END storage--><!--END database--><!--END eventsource--><!--END workers-->
<!--END html-device--><!--END microdata--><!--END 2dcontext--><!--END postmsg--><!--END w3c-html-->
@@ -108093,7 +108093,7 @@
<!--END w3c-html--><!--TT-->
<p>Thanks to the SubRip community, including in particular Zuggy and
ai4spam, for their work on the SubRip software program whose SRT
- file format was used as the basis for the WebSRT timed track file
+ file format was used as the basis for the WebVTT timed track file
format.</p>
<!--START w3c-html--><!--TT-->
@@ -108277,10 +108277,10 @@
<li><img alt="A calendar grid with a clock in the upper right
hand corner." src="sample-datetime-ui-3"></li>
-->
-<!--START websrt-->
+<!--START webvtt-->
</body>
</html>
-<!--END websrt-->
+<!--END webvtt-->
<!--END html--><!--END w3c-html-->
<!--END complete--><!--END epub-->
<!--END validation-->
\ No newline at end of file
More information about the Commit-Watchers
mailing list