- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 30 Nov 2010 20:51:46 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv11839
Modified Files:
Overview.html
Log Message:
Remove some text from W3C version as requested by a11y task force. (whatwg r5688)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4555
retrieving revision 1.4556
diff -u -d -r1.4555 -r1.4556
--- Overview.html 30 Nov 2010 20:15:42 -0000 1.4555
+++ Overview.html 30 Nov 2010 20:51:42 -0000 1.4556
@@ -816,10 +816,8 @@
<li><a href="#timed-track-model"><span class="secno">4.8.10.10.1 </span>Timed track model</a></li>
<li><a href="#sourcing-in-band-timed-tracks"><span class="secno">4.8.10.10.2 </span>Sourcing in-band timed tracks</a></li>
<li><a href="#sourcing-out-of-band-timed-tracks"><span class="secno">4.8.10.10.3 </span>Sourcing out-of-band timed tracks</a></li>
- <li><a href="#guidelines-for-exposing-cues-in-various-formats-as-timed-track-cues"><span class="secno">4.8.10.10.4 </span>Guidelines for exposing cues in various formats as
- 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="#timed-track-api"><span class="secno">4.8.10.10.4 </span>Timed track API</a></li>
+ <li><a href="#cue-events"><span class="secno">4.8.10.10.5 </span>Event definitions</a></ol></li>
<li><a href="#user-interface"><span class="secno">4.8.10.11 </span>User interface</a></li>
<li><a href="#time-ranges"><span class="secno">4.8.10.12 </span>Time ranges</a></li>
<li><a href="#mediaevents"><span class="secno">4.8.10.13 </span>Event summary</a></li>
@@ -21635,16 +21633,14 @@
URL</a>. Otherwise, the element's <a href="#track-url">track URL</a> is the
empty string.</p>
- </div><p>If the elements's <a href="#track-url">track URL</a> identifies a
- <span>WebSRT</span> 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
- <span>WebSRT</span> file must be a <span>WebSRT file using cue
- text</span>.<p>If the elements's <a href="#track-url">track URL</a> identifies a
- <span>WebSRT</span> resource, then the <dfn id="attr-track-charset" title="attr-track-charset"><code>charset</code></dfn> attribute may
+ </div><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 <span>WebSRT</span> file. <a href="#refsIANACHARSET">[IANACHARSET]</a><p>The <dfn id="attr-track-srclang" title="attr-track-srclang"><code>srclang</code></dfn>
+ of the resource in question. <a href="#refsIANACHARSET">[IANACHARSET]</a><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
be a valid BCP 47 language tag. This attribute must be present if
the element's <code title="attr-track-kind"><a href="#attr-track-kind">kind</a></code> attribute is
@@ -23785,9 +23781,8 @@
<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
- <span>WebSRT</span>, 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>.
+ </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
@@ -24120,8 +24115,8 @@
<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 <span>WebSRT</span>, 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>.
+ </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
@@ -24184,50 +24179,9 @@
consecutive lines displayed to the right of each other<!-- used for
mongolian -->).</p>
- <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
- track cue line position">line position</a> percentages are
- relative to the height of the 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 width
- of the video.</p>
-
- <p>Otherwise, <a href="#timed-track-cue-line-position" title="timed track cue line position">line
- position</a> percentages are relative to the width of the
- 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>
-
- </dd>
-
- <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
- line position">line's position</a> is a line position
- (positioned to a multiple of the line dimensions of the first line
- of the cue), or whether it is a percentage of the dimension of the
- video.</p>
- </dd>
- <dt><dfn id="timed-track-cue-line-position" title="timed track cue line position">A line position</dfn>
- <dd>
- <p>Either a number giving the position of the lines of the cue, to
- be interpreted as defined by the <a href="#timed-track-cue-writing-direction" title="timed track cue
- writing direction">writing direction</a> and <a href="#timed-track-cue-snap-to-lines-flag" title="timed
- track cue snap-to-lines flag">snap-to-lines flag</a> of the
- cue, or the special value <dfn id="timed-track-cue-automatic-line-position" title="timed track cue automatic line
- position">auto</dfn>, which means the position is to depend on
- the other active tracks.</p>
</dd>
- <dt><dfn id="timed-track-cue-text-position" title="timed track cue text position">A text position</dfn>
- <dd>
- <p>A number giving the position of the text of the cue within each
- line, to be interpreted as a percentage of the video, as defined
- by the <a href="#timed-track-cue-writing-direction" title="timed track cue writing direction">writing
- direction</a>.</p>
- </dd>
<dt><dfn id="timed-track-cue-size" title="timed track cue size">A size</dfn>
<dd>
@@ -24237,17 +24191,6 @@
track cue writing direction">writing direction</a>.</p>
</dd>
- <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
- text is aligned towards its start side), <dfn id="timed-track-cue-middle-alignment" title="timed track
- cue middle alignment">middle alignment</dfn> (the text is aligned
- centered between its start and end sides), <dfn id="timed-track-cue-end-alignment" title="timed track
- cue end alignment">end alignment</dfn> (the text is aligned
- towards its end side). Which sides are the start and end sides
- 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>
<dt><dfn id="timed-track-cue-voice-identifier" title="timed track cue voice identifier">A voice identifier</dfn>
<dd>
@@ -24285,10 +24228,7 @@
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 <span>WebSRT</span>, 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>.
</dd>
<dt>The <dfn id="timed-track-cue-display-state" title="timed track cue display state">display state</dfn>
@@ -24344,8 +24284,8 @@
specification.</li>
<li><p>Populate the new <a href="#timed-track">timed track</a>'s <a href="#timed-track-list-of-cues" title="timed track list of cues">list of cues</a> with the cues
- parsed so far, folllowing the <a href="#guidelines-for-exposing-cues-in-various-formats-as-timed-track-cues">guidelines for exposing
- cues</a>, and begin updating it dynamically as
+ parsed so far, folllowing the <span>guidelines for exposing
+ cues</span>, and begin updating it dynamically as
necessary.</li>
<li>
@@ -24536,8 +24476,7 @@
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 <span>WebSRT parser</span> if the <a href="#content-type" title="Content-Type">Content Type metadata</a> is
- <code>text/srt</code>) as it is received, with the <a href="#timed-track-list-of-cues">timed
+ 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
@@ -24624,73 +24563,7 @@
<li><p>Jump to the step labeled <i>download</i>.</li>
- </ol></div><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
- <a href="#timed-track-cue" title="timed track cue">timed track cues</a></h6>
-
- <p>How a specific format's timed track cues are to be interpreted
- for the purposes of processing by an HTML user agent is defined by
- that format. In the absence of such a specification, this section
- provides some constraints within which implementations can attempt
- to consistently expose such formats.</p>
-
- <p>To support the <a href="#timed-track">timed track</a> model of HTML, each unit
- of timed data is converted to a <a href="#timed-track-cue">timed track cue</a>. Where
- the mapping of the format's features to the aspects of a <a href="#timed-track-cue">timed
- track cue</a> as defined in this specification are not defined,
- implementations must ensure that the mapping is consistent with the
- definitions of the aspects of a <a href="#timed-track-cue">timed track cue</a> as
- defined above, as well as with the following constraints:</p>
-
- <dl><dt>The <a href="#timed-track-cue-identifier">timed track cue identifier</a>
- <dd>
- <p>Should be set to the empty string if the format has no
- obvious analogue to a per-cue identifier.</p>
- </dd>
-
- <dt>The <a href="#timed-track-cue-pause-on-exit-flag">timed track cue pause-on-exit flag</a>
- <dd>
- <p>Should be set to false.</p>
- </dd>
-
- <dt>The <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a>
- <dd>
- <p>Should be set to <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing
- direction">horizontal</a> if the concept of writing direction
- doesn't really apply (e.g. the cue consists of a bitmap
- image).</p>
- </dd>
-
- <dt>The <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a>
- <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>
- </dd>
-
- <dt>The <a href="#timed-track-cue-line-position">timed track cue line position</a>
- <dt>The <a href="#timed-track-cue-text-position">timed track cue text position</a>
- <dt>The <a href="#timed-track-cue-size">timed track cue size</a>
- <dt>The <a href="#timed-track-cue-alignment">timed track cue alignment</a>
- </dt></dt></dt><dd>
- <p>If the 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
- rendering rules</a>, then these should be set to the values
- that would give the same effect for <span>WebSRT</span>
- cues. Otherwise, they should be set to zero.</p>
- </dd>
-
- <dt>The <a href="#timed-track-cue-voice-identifier">timed track cue voice identifier</a>
- <dd>
- <p>Should be set to the empty string if the format has no
- obvious analogue to cue voices. The <a href="#timed-track-cue-voice-identifier">timed track cue voice
- identifier</a> may be set to strings that cannot be expressed
- using <span>WebSRT</span>, if the format supports voices that do
- not correspond to the voices used by WebSRT.</p>
- </dd>
-
- </dl></div><h6 id="timed-track-api"><span class="secno">4.8.10.10.5 </span>Timed track API</h6><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-tracks"><a href="#dom-media-tracks">tracks</a></code> . <code title="">length</code></dt>
+ </ol></div><h6 id="timed-track-api"><span class="secno">4.8.10.10.4 </span>Timed track API</h6><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-tracks"><a href="#dom-media-tracks">tracks</a></code> . <code title="">length</code></dt>
<dd>
<p>Returns the number of <a href="#timed-track" title="timed track">timed tracks</a> associated with the <a href="#media-element">media element</a> (e.g. from <code><a href="#the-track-element">track</a></code> elements). This is the number of <a href="#timed-track" title="timed track">timed tracks</a> in the <a href="#media-element">media element</a>'s <a href="#list-of-timed-tracks">list of timed tracks</a>.</p>
</dd>
@@ -24981,10 +24854,8 @@
<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
- <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>
+ list of cues</a> to an empty list.
+ </p>
</li>
@@ -25124,7 +24995,7 @@
otherwise. If the argument is the empty string, then the method must
return null.</p>
- </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)]
+ </div><hr><pre class="idl">
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>;
@@ -25133,12 +25004,6 @@
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>;
- 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>;
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>();
@@ -25146,19 +25011,7 @@
readonly attribute <a href="#function">Function</a> <a href="#handler-timedtrackcue-onenter" title="handler-TimedTrackCue-onenter">onenter</a>;
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>
- <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 <span>WebSRT cue settings</span>. If omitted, the empty string is assumed.</p>
- <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>
-
- <dt><var title="">cue</var> . <a href="#dom-timedtrackcue-track" title="dom-TimedTrackCue-track">track</a></dt>
+};</pre><dl class="domintro"><dt><var title="">cue</var> . <a href="#dom-timedtrackcue-track" title="dom-TimedTrackCue-track">track</a></dt>
<dd>
<p>Returns the <code><a href="#timedtrack">TimedTrack</a></code> object to which this
<a href="#timed-track-cue">timed track cue</a> belongs, if any, or null
@@ -25185,49 +25038,6 @@
<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>
- <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>
- <dl class="switch"><dt>If it is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a></dt>
- <dd><p>The string "<code title="">horizontal</code>".</dd>
- <dt>If it is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a></dt>
- <dd><p>The string "<code title="">vertical</code>".</dd>
- <dt>If it is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a></dt>
- <dd><p>The string "<code title="">vertical-lr</code>".</dd>
- </dl></dd>
-
- <dt><var title="">cue</var> . <a href="#dom-timedtrackcue-snaptolines" title="dom-TimedTrackCue-snapToLines">snapToLines</a></dt>
- <dd>
- <p>Returns true if the <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a> is set, false otherwise.</p>
- </dd>
-
- <dt><var title="">cue</var> . <a href="#dom-timedtrackcue-lineposition" title="dom-TimedTrackCue-linePosition">linePosition</a></dt>
- <dd>
- <p>Returns the <a href="#timed-track-cue-line-position">timed track cue line position</a>. In the
- case of the value being <a href="#timed-track-cue-automatic-line-position" title="timed track cue automatic
- line position">auto</a>, the appropriate default is returned.</p>
- </dd>
-
- <dt><var title="">cue</var> . <a href="#dom-timedtrackcue-textposition" title="dom-TimedTrackCue-textPosition">textPosition</a></dt>
- <dd>
- <p>Returns the <a href="#timed-track-cue-text-position">timed track cue text position</a>.</p>
- </dd>
-
- <dt><var title="">cue</var> . <a href="#dom-timedtrackcue-size" title="dom-TimedTrackCue-size">size</a></dt>
- <dd>
- <p>Returns the <a href="#timed-track-cue-size">timed track cue size</a>.</p>
- </dd>
-
- <dt><var title="">cue</var> . <a href="#dom-timedtrackcue-alignment" title="dom-TimedTrackCue-alignment">alignment</a></dt>
- <dd>
- <p>Returns a string representing the <a href="#timed-track-cue-alignment">timed track cue alignment</a>, as follows:</p>
- <dl class="switch"><dt>If it is <a href="#timed-track-cue-start-alignment" title="timed track cue start alignment">start alignment</a></dt>
- <dd><p>The string "<code title="">start</code>".</dd>
- <dt>If it is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle alignment</a></dt>
- <dd><p>The string "<code title="">middle</code>".</dd>
- <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>
<dt><var title="">cue</var> . <a href="#dom-timedtrackcue-voice" title="dom-TimedTrackCue-voice">voice</a></dt>
<dd>
@@ -25246,74 +25056,8 @@
</dl><div class="impl">
- <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>
-
- <ol><li><p>Create a new <a href="#timed-track-cue">timed track cue</a> that is not
- associated with any <a href="#timed-track">timed track</a>. Let <var title="">cue</var> be that <a href="#timed-track-cue">timed track cue</a>.</li>
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-identifier">timed track cue
- identifier</a> be the value of the <var title="">id</var>
- argument.</li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-start-time">timed track cue start
- time</a> be the value of the <var title="">startTime</var>
- argument, interpreted as a time in seconds.</li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-end-time">timed track cue end
- time</a> be the value of the <var title="">endTime</var>
- argument, interpreted as a time in seconds.</li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-pause-on-exit-flag">timed track cue
- pause-on-exit flag</a> be true if the <var title="">pauseOnExit</var> is present and true. Otherwise, let it
- be false.</li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-voice-identifier">timed track cue voice
- identifier</a> be the value of the <var title="">voice</var>
- argument, if it is present, or the empty string otherwise.</li>
-
- <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 <span>WebSRT cue
- text parsing rules</span>, the <a href="#websrt-cue-text-rendering-rules">WebSRT cue text rendering
- rules</a>, and the <span>WebSRT cue text DOM construction
- rules</span>.</li>
-
- <!-- default settings -->
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-writing-direction">timed track cue
- writing direction</a> be <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue
- horizontal writing direction">horizontal</a>.</li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-snap-to-lines-flag">timed track cue
- snap-to-lines flag</a> be true.</li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-line-position">timed track cue line
- position</a> be <a href="#timed-track-cue-automatic-line-position" title="timed track cue automatic line
- position">auto</a>.</li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-text-position">timed track cue
- text position</a> be 50.</li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-size">timed track cue
- size</a> be 100.</li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#timed-track-cue-alignment">timed track cue
- alignment</a> be <a href="#timed-track-cue-middle-alignment" title="timed track cue middle
- alignment">middle alignment</a>.</li>
-
- <li><p>Let <var title="">input</var> be the string given by the
- <var title="">settings</var> argument.</li>
-
- <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><span>Parse the WebSRT settings</span> 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><p>The <dfn id="dom-timedtrackcue-track" title="dom-TimedTrackCue-track"><code>track</code></dfn>
+ <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,
@@ -25345,56 +25089,6 @@
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>
- <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
- the <code><a href="#timedtrackcue">TimedTrackCue</a></code> object represents is set; or false
- otherwise.</p>
-
- <p>The <dfn id="dom-timedtrackcue-lineposition" title="dom-TimedTrackCue-linePosition"><code>linePosition</code></dfn>
- attribute must return the <a href="#timed-track-cue-line-position">timed track cue line position</a>
- of the <a href="#timed-track-cue">timed track cue</a> that the
- <code><a href="#timedtrackcue">TimedTrackCue</a></code> object represents, if that value is
- numeric. Otherwise, the value is the special value <a href="#timed-track-cue-automatic-line-position" title="timed track cue automatic line position">auto</a>; 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 the <code><a href="#timedtrackcue">TimedTrackCue</a></code> object
- represents is not set, the attribute must return the value 100;
- otherwise, it must return the value returned by the following
- algorithm:</p>
-
- <ol><li><p>Let <var title="">cue</var> be the <a href="#timed-track-cue">timed track
- cue</a> that the <code><a href="#timedtrackcue">TimedTrackCue</a></code> object
- represents.</li>
-
- <li><p>If <var title="">cue</var> is not associated with a
- <a href="#timed-track">timed track</a>, return −1 and abort these
- steps.</li>
-
- <li><p>Let <var title="">track</var> be the <a href="#timed-track">timed
- track</a> that the <var title="">cue</var> is associated
- with.</li>
-
- <li><p>Let <var title="">n</var> be the number of <a href="#timed-track" title="timed track">timed tracks</a> whose <a href="#timed-track-mode">timed track
- mode</a> is <a href="#timed-track-showing" title="timed track showing">showing</a> and
- that are in the <a href="#media-element">media element</a>'s <a href="#list-of-timed-tracks">list of timed
- tracks</a> before <var title="">track</var>.</li>
-
- <li><p>Return <var title="">n</var>.</li>
-
- </ol><p>The <dfn id="dom-timedtrackcue-textposition" title="dom-TimedTrackCue-textPosition"><code>textPosition</code></dfn>
- attribute must return the <a href="#timed-track-cue-text-position">timed track cue text position</a>
- of the <a href="#timed-track-cue">timed track cue</a> that the
- <code><a href="#timedtrackcue">TimedTrackCue</a></code> object represents.</p>
-
- <p>The <dfn id="dom-timedtrackcue-size" title="dom-TimedTrackCue-size"><code>size</code></dfn>
- attribute must return the <a href="#timed-track-cue-size">timed track cue size</a> of the
- <a href="#timed-track-cue">timed track cue</a> that the <code><a href="#timedtrackcue">TimedTrackCue</a></code>
- object represents.</p>
-
- <p>The <dfn id="dom-timedtrackcue-alignment" title="dom-TimedTrackCue-alignment"><code>alignment</code></dfn>
- 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>
<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
@@ -25408,13 +25102,12 @@
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 <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>
+ so.
+ </p>
</div><div class="impl">
- <h6 id="cue-events"><span class="secno">4.8.10.10.6 </span>Event definitions</h6>
+ <h6 id="cue-events"><span class="secno">4.8.10.10.5 </span>Event definitions</h6>
<p>The following are the <a href="#event-handlers">event handlers</a> that must be
supported, as IDL attributes, by all objects implementing the
@@ -63735,67 +63428,67 @@
following list:</p>
<dl class="switch"><dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-start-alignment" title="timed track cue start alignment">start</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue start alignment">start</span>,
and <var title="">direction</var> is 'ltr'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-end-alignment" title="timed track cue end alignment">end</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue end alignment">end</span>,
and <var title="">direction</var> is 'rtl'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-start-alignment" title="timed track cue start alignment">start</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue start alignment">start</span></dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-start-alignment" title="timed track cue start alignment">start</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue start alignment">start</span></dt>
<dd>
- <p>Let <var title="">maximum size</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a> subtracted from 100.</p>
+ <p>Let <var title="">maximum size</var> be the <span>timed track cue text position</span> subtracted from 100.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-end-alignment" title="timed track cue end alignment">end</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue end alignment">end</span>,
and <var title="">direction</var> is 'ltr'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-start-alignment" title="timed track cue start alignment">start</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue start alignment">start</span>,
and <var title="">direction</var> is 'rtl'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-end-alignment" title="timed track cue end alignment">end</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue end alignment">end</span></dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-end-alignment" title="timed track cue end alignment">end</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue end alignment">end</span></dt>
<dd>
- <p>Let <var title="">maximum size</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a>.</p>
+ <p>Let <var title="">maximum size</var> be the <span>timed track cue text position</span>.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
- the <a href="#timed-track-cue-text-position">timed track cue text position</a> is less than or equal to 50,
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
+ the <span>timed track cue text position</span> is less than or equal to 50,
and <var title="">direction</var> is 'ltr'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
- the <a href="#timed-track-cue-text-position">timed track cue text position</a> is greater than <!-- or equal to --> 50,
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
+ the <span>timed track cue text position</span> is greater than <!-- or equal to --> 50,
and <var title="">direction</var> is 'rtl'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
- and the <a href="#timed-track-cue-text-position">timed track cue text position</a> is less than or equal to 50</dt>
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
+ and the <span>timed track cue text position</span> is less than or equal to 50</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
- and the <a href="#timed-track-cue-text-position">timed track cue text position</a> is less than or equal to 50</dt>
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
+ and the <span>timed track cue text position</span> is less than or equal to 50</dt>
<dd>
- <p>Let <var title="">maximum size</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a> multiplied by two.</p>
+ <p>Let <var title="">maximum size</var> be the <span>timed track cue text position</span> multiplied by two.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
- the <a href="#timed-track-cue-text-position">timed track cue text position</a> is greater than <!-- or equal to --> 50,
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
+ the <span>timed track cue text position</span> is greater than <!-- or equal to --> 50,
and <var title="">direction</var> is 'ltr'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
- the <a href="#timed-track-cue-text-position">timed track cue text position</a> is less than or equal to 50,
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
+ the <span>timed track cue text position</span> is less than or equal to 50,
and <var title="">direction</var> is 'rtl'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
- and the <a href="#timed-track-cue-text-position">timed track cue text position</a> is greater than <!-- or equal to --> 50</dt>
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
+ and the <span>timed track cue text position</span> is greater than <!-- or equal to --> 50</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
- and the <a href="#timed-track-cue-text-position">timed track cue text position</a> is greater than <!-- or equal to --> 50</dt>
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
+ and the <span>timed track cue text position</span> is greater than <!-- or equal to --> 50</dt>
<dd>
- <p>Let <var title="">maximum size</var> be the result of subtracting <a href="#timed-track-cue-text-position">timed track cue text position</a> from 100 and then multiplying the result by two.</p>
+ <p>Let <var title="">maximum size</var> be the result of subtracting <span>timed track cue text position</span> from 100 and then multiplying the result by two.</p>
</dd>
</dl></li>
@@ -63817,62 +63510,62 @@
appropriate rules from the following list:</p>
<dl class="switch"><dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-start-alignment" title="timed track cue start alignment">start</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue start alignment">start</span>,
and <var title="">direction</var> is 'ltr'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-end-alignment" title="timed track cue end alignment">end</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue end alignment">end</span>,
and <var title="">direction</var> is 'rtl'</dt>
<dd>
- <p>Let <var title="">x-position</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a>.</p>
+ <p>Let <var title="">x-position</var> be the <span>timed track cue text position</span>.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-end-alignment" title="timed track cue end alignment">end</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue end alignment">end</span>,
and <var title="">direction</var> is 'ltr'</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-start-alignment" title="timed track cue start alignment">start</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue start alignment">start</span>,
and <var title="">direction</var> is 'rtl'</dt>
<dd>
- <p>Let <var title="">x-position</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a> subtracted from 100.</p>
+ <p>Let <var title="">x-position</var> be the <span>timed track cue text position</span> subtracted from 100.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-start-alignment" title="timed track cue start alignment">start</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue start alignment">start</span></dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-start-alignment" title="timed track cue start alignment">start</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue start alignment">start</span></dt>
<dd>
- <p>Let <var title="">y-position</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a>.</p>
+ <p>Let <var title="">y-position</var> be the <span>timed track cue text position</span>.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-end-alignment" title="timed track cue end alignment">end</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue end alignment">end</span></dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-end-alignment" title="timed track cue end alignment">end</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue end alignment">end</span></dt>
<dd>
- <p>Let <var title="">y-position</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a> subtracted from 100.</p>
+ <p>Let <var title="">y-position</var> be the <span>timed track cue text position</span> subtracted from 100.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
and <var title="">direction</var> is 'ltr'</dt>
<dd>
- <p>Let <var title="">x-position</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a> minus half of <var title="">size</var>.</p>
+ <p>Let <var title="">x-position</var> be the <span>timed track cue text position</span> minus half of <var title="">size</var>.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a>,
+ the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span>,
and <var title="">direction</var> is 'rtl'</dt>
<dd>
- <p>Let <var title="">x-position-reverse</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a> minus half of <var title="">size</var>.</p>
+ <p>Let <var title="">x-position-reverse</var> be the <span>timed track cue text position</span> minus half of <var title="">size</var>.</p>
<p>Let <var title="">x-position</var> be <var title="">x-position-reverse</var> subtracted from 100.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span></dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a>,
- and the <a href="#timed-track-cue-alignment">timed track cue alignment</a> is <a href="#timed-track-cue-middle-alignment" title="timed track cue middle alignment">middle</a></dt>
+ and the <span>timed track cue alignment</span> is <span title="timed track cue middle alignment">middle</span></dt>
<dd>
- <p>Let <var title="">y-position</var> be the <a href="#timed-track-cue-text-position">timed track cue text position</a> minus half of <var title="">size</var>.</p>
+ <p>Let <var title="">y-position</var> be the <span>timed track cue text position</span> minus half of <var title="">size</var>.</p>
</dd>
</dl></li>
@@ -63884,31 +63577,31 @@
appropriate rules from the following list:</p>
<dl class="switch"><dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- and the <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a> is set</dt>
+ and the <span>timed track cue snap-to-lines flag</span> is set</dt>
<dd>
<p>Let <var title="">y-position</var> be zero.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
- and the <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a> is not set</dt>
+ and the <span>timed track cue snap-to-lines flag</span> is not set</dt>
<dd>
- <p>Let <var title="">y-position</var> be the <a href="#timed-track-cue-line-position">timed track cue line position</a>.</p>
+ <p>Let <var title="">y-position</var> be the <span>timed track cue line position</span>.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a>,
- and the <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a> is set</dt>
+ and the <span>timed track cue snap-to-lines flag</span> is set</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a>,
- and the <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a> is set</dt>
+ and the <span>timed track cue snap-to-lines flag</span> is set</dt>
<dd>
<p>Let <var title="">x-position</var> be zero.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a>,
- and the <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a> is not set</dt>
+ and the <span>timed track cue snap-to-lines flag</span> is not set</dt>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a>,
- and the <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a> is not set</dt>
+ and the <span>timed track cue snap-to-lines flag</span> is not set</dt>
<dd>
- <p>Let <var title="">x-position</var> be the <a href="#timed-track-cue-line-position">timed track cue line position</a>.</p>
+ <p>Let <var title="">x-position</var> be the <span>timed track cue line position</span>.</p>
</dd>
</dl></li>
@@ -63976,7 +63669,7 @@
<p>Adjust the positions of <var title="">boxes</var> according
to the appropriate steps from the following list:</p>
- <dl class="switch"><dt>If <var title="">cue</var>'s <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a> is set</dt>
+ <dl class="switch"><dt>If <var title="">cue</var>'s <span>timed track cue snap-to-lines flag</span> is set</dt>
<dd>
@@ -64013,7 +63706,7 @@
step labeled <i>done positioning</i> below.</li>
<li><p>Let <var title="">line position</var> be the
- <a href="#timed-track-cue-line-position">timed track cue line position</a>.</li>
+ <span>timed track cue line position</span>.</li>
<li><p><strong>Vertical Growing Left</strong>: Add one to
<var title="">line position</var> then negate it.</li>
@@ -64102,7 +63795,7 @@
</ol></dd>
- <dt>If <var title="">cue</var>'s <a href="#timed-track-cue-snap-to-lines-flag">timed track cue snap-to-lines flag</a> is not set</dt>
+ <dt>If <var title="">cue</var>'s <span>timed track cue snap-to-lines flag</span> is not set</dt>
<dd>
<ol><li>
@@ -64114,32 +63807,32 @@
and <var title="">direction</var> is 'ltr'</dt>
<dd>
<p>Let <var title="">x</var> be a percentage given by the
- <a href="#timed-track-cue-text-position">timed track cue text position</a>, and let <var title="">y</var> be a percentage given by the <a href="#timed-track-cue-line-position">timed
- track cue line position</a>.</p>
+ <span>timed track cue text position</span>, and let <var title="">y</var> be a percentage given by the <span>timed
+ track cue line position</span>.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-horizontal-writing-direction" title="timed track cue horizontal writing direction">horizontal</a>,
and <var title="">direction</var> is 'rtl'</dt>
<dd>
<p>Let <var title="">x</var> be a percentage given by the
- <a href="#timed-track-cue-text-position">timed track cue text position</a> subtracted from
+ <span>timed track cue text position</span> subtracted from
100, and let <var title="">y</var> be a percentage given
- by the <a href="#timed-track-cue-line-position">timed track cue line position</a>.</p>
+ by the <span>timed track cue line position</span>.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-left-writing-direction" title="timed track cue vertical growing left writing direction">vertical growing left</a></dt>
<dd>
<p>Let <var title="">x</var> be a percentage given by the
- <a href="#timed-track-cue-line-position">timed track cue line position</a> subtracted from
+ <span>timed track cue line position</span> subtracted from
100, and let <var title="">y</var> be a percentage given
- by the <a href="#timed-track-cue-text-position">timed track cue text position</a>.</p>
+ by the <span>timed track cue text position</span>.</p>
</dd>
<dt>If the <a href="#timed-track-cue-writing-direction">timed track cue writing direction</a> is <a href="#timed-track-cue-vertical-growing-right-writing-direction" title="timed track cue vertical growing right writing direction">vertical growing right</a></dt>
<dd>
<p>Let <var title="">x</var> be a percentage given by the
- <a href="#timed-track-cue-line-position">timed track cue line position</a>, and let <var title="">y</var> be a percentage given by the <a href="#timed-track-cue-text-position">timed
- track cue text position</a>.</p>
+ <span>timed track cue line position</span>, and let <var title="">y</var> be a percentage given by the <span>timed
+ track cue text position</span>.</p>
</dd>
</dl></li>
Received on Tuesday, 30 November 2010 20:51:51 UTC