[html5] r5688 - [e] (0) Remove some text from W3C version as requested by a11y task force. Fixin [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Nov 30 12:51:37 PST 2010
Author: ianh
Date: 2010-11-30 12:51:36 -0800 (Tue, 30 Nov 2010)
New Revision: 5688
Modified:
complete.html
index
source
Log:
[e] (0) Remove some text from W3C version as requested by a11y task force.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11207
Modified: complete.html
===================================================================
--- complete.html 2010-11-30 20:15:33 UTC (rev 5687)
+++ complete.html 2010-11-30 20:51:36 UTC (rev 5688)
@@ -24833,18 +24833,21 @@
</div>
+<!--TTSRT-->
<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
text</a>.</p>
+<!--TTSRT-->
- <p>If the elements's <a href=#track-url>track URL</a> identifies a
- <a href=#websrt>WebSRT</a> resource, then the <dfn id=attr-track-charset title=attr-track-charset><code>charset</code></dfn> attribute may
+ <p>If the elements's <a href=#track-url>track URL</a> identifies a resource
+ that <dfn id=supports-external-timed-track-character-encoding-overrides>supports external timed track character encoding
+ overrides</dfn>, then the <dfn id=attr-track-charset title=attr-track-charset><code>charset</code></dfn> attribute may
be specified. If the attribute is set, its value must be a valid
character encoding name, must be an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for the <a href=#preferred-mime-name>preferred MIME
name</a> for that encoding, and must match the character encoding
- of the <a href=#websrt>WebSRT</a> file. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
+ of the resource in question. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
<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
@@ -27117,9 +27120,13 @@
<li><p>Run the <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track
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> (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>).</li>
+ tracks</a> in <var title="">affected tracks</var> that are <a href=#timed-track-showing title="timed track showing">showing</a>.
+<!--TTSRT-->
+ 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-->
+ </li>
<!--KEEP-START w3c-html--><!--TT-->
</ol><!--KEEP-END w3c-html--><!--TT--><p>For the purposes of the algorithm above, a <a href=#timed-track-cue>timed track
@@ -27471,8 +27478,12 @@
<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> (e.g., 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>).</p>
+ 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-->
+ </p>
<p>The <a href=#timed-track-list-of-cues title="timed track list of cues">list of cues of a
timed track</a> can change dynamically, either because the
@@ -27543,6 +27554,7 @@
consecutive lines displayed to the right of each other<!-- used for
mongolian -->).</p>
+<!--TTSRT-->
<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
@@ -27557,9 +27569,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-->
</dd>
+<!--TTSRT-->
<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
@@ -27587,6 +27601,7 @@
by the <a href=#timed-track-cue-writing-direction title="timed track cue writing direction">writing
direction</a>.</p>
</dd>
+<!--TTSRT-->
<dt><dfn id=timed-track-cue-size title="timed track cue size">A size</dfn>
<dd>
@@ -27596,6 +27611,7 @@
track cue writing direction">writing direction</a>.</p>
</dd>
+<!--TTSRT-->
<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
@@ -27607,6 +27623,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-->
<dt><dfn id=timed-track-cue-voice-identifier title="timed track cue voice identifier">A voice identifier</dfn>
<dd>
@@ -27650,10 +27667,12 @@
incident, the user agent must, after having unset the 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> (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>
-
+ tracks</a>.
+<!--TTSRT-->
+ 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-->
</dd>
<dt>The <dfn id=timed-track-cue-display-state title="timed track cue display state">display state</dfn>
@@ -27913,8 +27932,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
- (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>) as it is received, with the <a href=#timed-track-list-of-cues>timed
+<!--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-->
+ 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. If
the <code><a href=#the-track-element>track</a></code> element has a <code title=attr-track-charset><a href=#attr-track-charset>charset</a></code> attribute that specifies
a supported character encoding, then that encoding must be given
@@ -28004,6 +28026,7 @@
</ol></div>
+<!--TTSRT-->
<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
@@ -28071,6 +28094,7 @@
</dd>
</dl></div>
+<!--TTSRT-->
<h6 id=timed-track-api><span class=secno>4.8.10.10.5 </span>Timed track API</h6>
@@ -28374,10 +28398,13 @@
<a href=#timed-track-readiness-state>timed track readiness state</a> to the <a href=#timed-track-loaded>timed track
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, associated with the
+ list of cues</a> to an empty list.
+<!--TTSRT-->
+ 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>
- as its <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track
- rendering</a>.</p>
+ as its <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track rendering</a>.
+<!--TTSRT-->
+ </p>
</li>
@@ -28525,7 +28552,10 @@
</div>
- <hr><pre class=idl>[<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 DOMString voice, in optional boolean pauseOnExit)]
+ <hr><pre class=idl>
+<!--TTSRT-->
+[<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 DOMString voice, in optional boolean pauseOnExit)]
+<!--TTSRT-->
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>;
@@ -28534,12 +28564,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-->
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-->
readonly attribute DOMString <a href=#dom-timedtrackcue-voice title=dom-TimedTrackCue-voice>voice</a>;
DOMString <a href=#dom-timedtrackcue-getcueassource() title=dom-TimedTrackCue-getCueAsSource()>getCueAsSource</a>();
@@ -28549,7 +28581,7 @@
readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrackcue-onexit title=handler-TimedTrackCue-onexit>onexit</a>;
};</pre>
- <dl class=domintro><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="">voice</var> [, <var title="">pauseOnExit</var> ] ] ] )</dt>
+ <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="">voice</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>
@@ -28560,6 +28592,7 @@
<p>The <var title="">voice</var> argument sets the <a href=#timed-track-cue-voice-identifier>timed track cue voice identifier</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-->
<dt><var title="">cue</var> . <a href=#dom-timedtrackcue-track title=dom-TimedTrackCue-track>track</a></dt>
<dd>
@@ -28588,6 +28621,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-->
<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>
@@ -28631,6 +28665,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-->
<dt><var title="">cue</var> . <a href=#dom-timedtrackcue-voice title=dom-TimedTrackCue-voice>voice</a></dt>
<dd>
@@ -28649,6 +28684,7 @@
</dl><div class=impl>
+<!--TTSRT-->
<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="">voice</var>, <var title="">pauseOnExit</var>)</code></dfn> constructor, when invoked,
must run the following steps:</p>
@@ -28716,7 +28752,7 @@
<li><p>Return the <code><a href=#timedtrackcue>TimedTrackCue</a></code> object representing
<var title="">cue</var>.</li>
- </ol><p>The <dfn id=dom-timedtrackcue-track title=dom-TimedTrackCue-track><code>track</code></dfn>
+ </ol><!--TTSRT--><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,
@@ -28748,6 +28784,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-->
<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
@@ -28798,6 +28835,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-->
<p>The <dfn id=dom-timedtrackcue-voice title=dom-TimedTrackCue-voice><code>voice</code></dfn>
attribute must return the <a href=#timed-track-cue-voice-identifier>timed track cue voice
@@ -28811,9 +28849,13 @@
method must convert the <a href=#timed-track-cue-text>timed track cue text</a> to a
<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. (For example, for <a href=#websrt>WebSRT</a>, those rules are the
+ 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
- text DOM construction rules</a>.)</p>
+ text DOM construction rules</a>.
+<!--TTSRT-->
+ </p>
</div>
@@ -29120,8 +29162,14 @@
<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>The string "<code title=""></ruby></code>".</li>
- </ol><div class=impl>
+ </ol><p>For historical reasons, <a href=#websrt-file title="WebSRT file">WebSRT
+ files</a> <a href=#supports-external-timed-track-character-encoding-overrides title="supports external timed track character
+ encoding overrides">support external timed track character encoding
+ overrides</a>.</p>
+
+ <div class=impl>
+
<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, a
Modified: index
===================================================================
--- index 2010-11-30 20:15:33 UTC (rev 5687)
+++ index 2010-11-30 20:51:36 UTC (rev 5688)
@@ -1300,7 +1300,7 @@
<ul class=brief><li>The <code><a href=#devices>device</a></code> element.</li>
<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>
- <li>The <a href=#timed-track>timed track</a> model for <a href=#media-element title="media element">media elements</a>, the <a href=#websrt>WebSRT</a> format, and related features.</li>
+ <li>The <a href=#websrt>WebSRT</a> formata and some <a href=#timed-track>timed track</a> API features.</li>
<li>Rules for <a href=#atom>converting HTML to Atom</a>.</li>
</ul><p>Features that are part of HTML (and this specification) but that
are currently published as separate specifications as well, and are
@@ -24813,18 +24813,21 @@
</div>
+<!--TTSRT-->
<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
text</a>.</p>
+<!--TTSRT-->
- <p>If the elements's <a href=#track-url>track URL</a> identifies a
- <a href=#websrt>WebSRT</a> resource, then the <dfn id=attr-track-charset title=attr-track-charset><code>charset</code></dfn> attribute may
+ <p>If the elements's <a href=#track-url>track URL</a> identifies a resource
+ that <dfn id=supports-external-timed-track-character-encoding-overrides>supports external timed track character encoding
+ overrides</dfn>, then the <dfn id=attr-track-charset title=attr-track-charset><code>charset</code></dfn> attribute may
be specified. If the attribute is set, its value must be a valid
character encoding name, must be an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for the <a href=#preferred-mime-name>preferred MIME
name</a> for that encoding, and must match the character encoding
- of the <a href=#websrt>WebSRT</a> file. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
+ of the resource in question. <a href=#refsIANACHARSET>[IANACHARSET]</a></p>
<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
@@ -27097,9 +27100,13 @@
<li><p>Run the <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track
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> (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>).</li>
+ tracks</a> in <var title="">affected tracks</var> that are <a href=#timed-track-showing title="timed track showing">showing</a>.
+<!--TTSRT-->
+ 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-->
+ </li>
<!--KEEP-START w3c-html--><!--TT-->
</ol><!--KEEP-END w3c-html--><!--TT--><p>For the purposes of the algorithm above, a <a href=#timed-track-cue>timed track
@@ -27451,8 +27458,12 @@
<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> (e.g., 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>).</p>
+ 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-->
+ </p>
<p>The <a href=#timed-track-list-of-cues title="timed track list of cues">list of cues of a
timed track</a> can change dynamically, either because the
@@ -27523,6 +27534,7 @@
consecutive lines displayed to the right of each other<!-- used for
mongolian -->).</p>
+<!--TTSRT-->
<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
@@ -27537,9 +27549,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-->
</dd>
+<!--TTSRT-->
<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
@@ -27567,6 +27581,7 @@
by the <a href=#timed-track-cue-writing-direction title="timed track cue writing direction">writing
direction</a>.</p>
</dd>
+<!--TTSRT-->
<dt><dfn id=timed-track-cue-size title="timed track cue size">A size</dfn>
<dd>
@@ -27576,6 +27591,7 @@
track cue writing direction">writing direction</a>.</p>
</dd>
+<!--TTSRT-->
<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
@@ -27587,6 +27603,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-->
<dt><dfn id=timed-track-cue-voice-identifier title="timed track cue voice identifier">A voice identifier</dfn>
<dd>
@@ -27630,10 +27647,12 @@
incident, the user agent must, after having unset the 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> (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>
-
+ tracks</a>.
+<!--TTSRT-->
+ 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-->
</dd>
<dt>The <dfn id=timed-track-cue-display-state title="timed track cue display state">display state</dfn>
@@ -27893,8 +27912,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
- (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>) as it is received, with the <a href=#timed-track-list-of-cues>timed
+<!--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-->
+ 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. If
the <code><a href=#the-track-element>track</a></code> element has a <code title=attr-track-charset><a href=#attr-track-charset>charset</a></code> attribute that specifies
a supported character encoding, then that encoding must be given
@@ -27984,6 +28006,7 @@
</ol></div>
+<!--TTSRT-->
<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
@@ -28051,6 +28074,7 @@
</dd>
</dl></div>
+<!--TTSRT-->
<h6 id=timed-track-api><span class=secno>4.8.10.10.5 </span>Timed track API</h6>
@@ -28354,10 +28378,13 @@
<a href=#timed-track-readiness-state>timed track readiness state</a> to the <a href=#timed-track-loaded>timed track
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, associated with the
+ list of cues</a> to an empty list.
+<!--TTSRT-->
+ 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>
- as its <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track
- rendering</a>.</p>
+ as its <a href=#rules-for-updating-the-timed-track-rendering>rules for updating the timed track rendering</a>.
+<!--TTSRT-->
+ </p>
</li>
@@ -28505,7 +28532,10 @@
</div>
- <hr><pre class=idl>[<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 DOMString voice, in optional boolean pauseOnExit)]
+ <hr><pre class=idl>
+<!--TTSRT-->
+[<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 DOMString voice, in optional boolean pauseOnExit)]
+<!--TTSRT-->
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>;
@@ -28514,12 +28544,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-->
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-->
readonly attribute DOMString <a href=#dom-timedtrackcue-voice title=dom-TimedTrackCue-voice>voice</a>;
DOMString <a href=#dom-timedtrackcue-getcueassource() title=dom-TimedTrackCue-getCueAsSource()>getCueAsSource</a>();
@@ -28529,7 +28561,7 @@
readonly attribute <a href=#function>Function</a> <a href=#handler-timedtrackcue-onexit title=handler-TimedTrackCue-onexit>onexit</a>;
};</pre>
- <dl class=domintro><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="">voice</var> [, <var title="">pauseOnExit</var> ] ] ] )</dt>
+ <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="">voice</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>
@@ -28540,6 +28572,7 @@
<p>The <var title="">voice</var> argument sets the <a href=#timed-track-cue-voice-identifier>timed track cue voice identifier</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-->
<dt><var title="">cue</var> . <a href=#dom-timedtrackcue-track title=dom-TimedTrackCue-track>track</a></dt>
<dd>
@@ -28568,6 +28601,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-->
<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>
@@ -28611,6 +28645,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-->
<dt><var title="">cue</var> . <a href=#dom-timedtrackcue-voice title=dom-TimedTrackCue-voice>voice</a></dt>
<dd>
@@ -28629,6 +28664,7 @@
</dl><div class=impl>
+<!--TTSRT-->
<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="">voice</var>, <var title="">pauseOnExit</var>)</code></dfn> constructor, when invoked,
must run the following steps:</p>
@@ -28696,7 +28732,7 @@
<li><p>Return the <code><a href=#timedtrackcue>TimedTrackCue</a></code> object representing
<var title="">cue</var>.</li>
- </ol><p>The <dfn id=dom-timedtrackcue-track title=dom-TimedTrackCue-track><code>track</code></dfn>
+ </ol><!--TTSRT--><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,
@@ -28728,6 +28764,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-->
<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
@@ -28778,6 +28815,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-->
<p>The <dfn id=dom-timedtrackcue-voice title=dom-TimedTrackCue-voice><code>voice</code></dfn>
attribute must return the <a href=#timed-track-cue-voice-identifier>timed track cue voice
@@ -28791,9 +28829,13 @@
method must convert the <a href=#timed-track-cue-text>timed track cue text</a> to a
<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. (For example, for <a href=#websrt>WebSRT</a>, those rules are the
+ 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
- text DOM construction rules</a>.)</p>
+ text DOM construction rules</a>.
+<!--TTSRT-->
+ </p>
</div>
@@ -29100,8 +29142,14 @@
<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>The string "<code title=""></ruby></code>".</li>
- </ol><div class=impl>
+ </ol><p>For historical reasons, <a href=#websrt-file title="WebSRT file">WebSRT
+ files</a> <a href=#supports-external-timed-track-character-encoding-overrides title="supports external timed track character
+ encoding overrides">support external timed track character encoding
+ overrides</a>.</p>
+
+ <div class=impl>
+
<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, a
Modified: source
===================================================================
--- source 2010-11-30 20:15:33 UTC (rev 5687)
+++ source 2010-11-30 20:51:36 UTC (rev 5688)
@@ -76,7 +76,7 @@
<ul class="brief">
<li>The <code>device</code> element.</li>
<li>The <code title="attr-hyperlink-ping">ping</code> attribute and related <span>hyperlink auditing</span> features.</li>
- <li>The <span>timed track</span> model for <span title="media element">media elements</span>, the <span>WebSRT</span> format, and related features.</li>
+ <li>The <span>WebSRT</span> formata and some <span>timed track</span> API features.</li>
<li>Rules for <a href="#atom">converting HTML to Atom</a>.</li>
</ul>
@@ -26707,21 +26707,24 @@
</div>
+<!--END w3c-html--><!--TTSRT-->
<p>If the elements's <span>track URL</span> identifies a
<span>WebSRT</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
text</span>.</p>
+<!--START w3c-html--><!--TTSRT-->
- <p>If the elements's <span>track URL</span> identifies a
- <span>WebSRT</span> resource, then the <dfn
+ <p>If the elements's <span>track URL</span> identifies a resource
+ that <dfn>supports external timed track character encoding
+ overrides</dfn>, then the <dfn
title="attr-track-charset"><code>charset</code></dfn> attribute may
be specified. If the attribute is set, its value must be a valid
character encoding name, must be an <span>ASCII
case-insensitive</span> match for the <span>preferred MIME
name</span> for that encoding, and must match the character encoding
- of the <span>WebSRT</span> file. <a
+ of the resource in question. <a
href="#refsIANACHARSET">[IANACHARSET]</a></p>
<p>The <dfn title="attr-track-srclang"><code>srclang</code></dfn>
@@ -29436,10 +29439,13 @@
<li><p>Run the <span>rules for updating the timed track
rendering</span> of each of the <span title="timed track">timed
tracks</span> in <var title="">affected tracks</var> that are <span
- title="timed track showing">showing</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></li>
+ title="timed track showing">showing</span>.
+<!--END w3c-html--><!--TTSRT-->
+ 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-->
+ </p></li>
<!--KEEP-START w3c-html--><!--TT-->
</ol>
@@ -29842,8 +29848,12 @@
<p>A list of <span title="timed track cue">timed track
cues</span>, along with <dfn>rules for updating the timed track
- rendering</dfn> (e.g., for <span>WebSRT</span>, the <span>rules
- for updating the display of WebSRT timed tracks</span>).</p>
+ 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-->
+ </p>
<p>The <span title="timed track list of cues">list of cues of a
timed track</span> can change dynamically, either because the
@@ -29921,6 +29931,7 @@
consecutive lines displayed to the right of each other<!-- used for
mongolian -->).</p>
+<!--END w3c-html--><!--TTSRT-->
<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
@@ -29935,9 +29946,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-->
</dd>
+<!--END w3c-html--><!--TTSRT-->
<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
@@ -29965,6 +29978,7 @@
by the <span title="timed track cue writing direction">writing
direction</span>.</p>
</dd>
+<!--START w3c-html--><!--TTSRT-->
<dt><dfn title="timed track cue size">A size</dfn>
<dd>
@@ -29974,6 +29988,7 @@
track cue writing direction">writing direction</span>.</p>
</dd>
+<!--END w3c-html--><!--TTSRT-->
<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
@@ -29987,6 +30002,7 @@
title="timed track cue writing direction">writing
direction</span>. <a href="#refsBIDI">[BIDI]</a></p>
</dd>
+<!--START w3c-html--><!--TTSRT-->
<dt><dfn title="timed track cue voice identifier">A voice identifier</dfn>
<dd>
@@ -30037,10 +30053,12 @@
incident, the user agent must, after having unset the 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> (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>
-
+ tracks</span>.
+<!--END w3c-html--><!--TTSRT-->
+ 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-->
</dd>
<dt>The <dfn title="timed track cue display state">display state</dfn>
@@ -30339,9 +30357,12 @@
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
- title="Content-Type">Content Type metadata</span> is
- <code>text/srt</code>) as it is received, with the <span>timed
+ title="Content-Type">Content Type metadata</span> is
+ <code>text/srt</code>)
+<!--START w3c-html--><!--TTSRT-->
+ as it is received, with the <span>timed
track list of cues</span> being used for that parser's output. If
the <code>track</code> element has a <code
title="attr-track-charset">charset</code> attribute that specifies
@@ -30447,6 +30468,7 @@
</div>
+<!--END w3c-html--><!--TTSRT-->
<div class="impl">
<h6><dfn>Guidelines for exposing cues</dfn> in various formats as
@@ -30518,6 +30540,7 @@
</dl>
</div>
+<!--START w3c-html--><!--TTSRT-->
<h6>Timed track API</h6>
@@ -30864,10 +30887,13 @@
<span>timed track readiness state</span> to the <span>timed track
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, associated with the
+ list of cues</span> to an empty list.
+<!--END w3c-html--><!--TTSRT-->
+ Associate the <span>timed track list of cues</span> with the
<span>rules for updating the display of WebSRT timed tracks</span>
- as its <span>rules for updating the timed track
- rendering</span>.</p>
+ as its <span>rules for updating the timed track rendering</span>.
+<!--START w3c-html--><!--TTSRT-->
+ </p>
</li>
@@ -31039,7 +31065,10 @@
<hr>
- <pre class="idl">[<span title="dom-TimedTrackCue">Constructor</span>(in DOMString id, in double startTime, in double endTime, in DOMString text, in optional DOMString settings, in optional DOMString voice, in optional boolean pauseOnExit)]
+ <pre class="idl">
+<!--END w3c-html--><!--TTSRT-->
+[<span title="dom-TimedTrackCue">Constructor</span>(in DOMString id, in double startTime, in double endTime, in DOMString text, in optional DOMString settings, in optional DOMString voice, in optional boolean pauseOnExit)]
+<!--START w3c-html--><!--TTSRT-->
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>;
@@ -31048,12 +31077,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-->
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-->
readonly attribute DOMString <span title="dom-TimedTrackCue-voice">voice</span>;
DOMString <span title="dom-TimedTrackCue-getCueAsSource()">getCueAsSource</span>();
@@ -31065,6 +31096,7 @@
<dl class="domintro">
+<!--END w3c-html--><!--TTSRT-->
<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="">voice</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>
@@ -31076,6 +31108,7 @@
<p>The <var title="">voice</var> argument sets the <span>timed track cue voice identifier</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-->
<dt><var title="">cue</var> . <span title="dom-TimedTrackCue-track">track</span></dt>
<dd>
@@ -31104,6 +31137,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-->
<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>
@@ -31151,6 +31185,7 @@
<dd><p>The string "<code title="">end</code>".</p></dd>
</dl>
</dd>
+<!--START w3c-html--><!--TTSRT-->
<dt><var title="">cue</var> . <span title="dom-TimedTrackCue-voice">voice</span></dt>
<dd>
@@ -31171,6 +31206,7 @@
<div class="impl">
+<!--END w3c-html--><!--TTSRT-->
<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
@@ -31249,6 +31285,7 @@
<var title="">cue</var>.</p></li>
</ol>
+<!--START w3c-html--><!--TTSRT-->
<p>The <dfn title="dom-TimedTrackCue-track"><code>track</code></dfn>
attribute must return the <code>TimedTrack</code> object of the
@@ -31286,6 +31323,7 @@
direction</span> of the <span>timed track cue</span> that the
<code>TimedTrackCue</code> object represents.</p>
+<!--END w3c-html--><!--TTSRT-->
<p>The <dfn
title="dom-TimedTrackCue-snapToLines"><code>snapToLines</code></dfn>
attribute must return true if the <span>timed track cue
@@ -31346,6 +31384,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-->
<p>The <dfn title="dom-TimedTrackCue-voice"><code>voice</code></dfn>
attribute must return the <span>timed track cue voice
@@ -31361,9 +31400,13 @@
method must convert the <span>timed track cue text</span> to a
<code>DocumentFragment</code> for the <span>media element</span>'s
<code>Document</code>, using the appropriate rules for doing
- so. (For example, for <span>WebSRT</span>, those rules are the
+ 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
- text DOM construction rules</span>.)</p>
+ text DOM construction rules</span>.
+<!--START w3c-html--><!--TTSRT-->
+ </p>
</div>
@@ -31760,6 +31803,12 @@
<li>The string "<code title=""></ruby></code>".</li>
</ol>
+ <p>For historical reasons, <span title="WebSRT file">WebSRT
+ files</span> <span title="supports external timed track character
+ encoding overrides">support external timed track character encoding
+ overrides</span>.</p>
+
+
<div class="impl">
<h6>Parsing</h6>
More information about the Commit-Watchers
mailing list