- From: CVS User spfeiffe <cvsmail@w3.org>
- Date: Mon, 15 Apr 2013 00:30:01 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/webvtt In directory roscoe:/tmp/cvs-serv8861 Modified Files: Overview.html Log Message: $COMMIT_MSG --- /sources/public/html5/webvtt/Overview.html 2013/04/14 22:49:19 1.63 +++ /sources/public/html5/webvtt/Overview.html 2013/04/15 00:30:01 1.64 @@ -4,10 +4,11 @@ <meta charset="ascii"> <title>WebVTT: The Web Video Text Tracks Format</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> - <!-- local copy: - <script src='../../respec/js/require.js' data-main='../../respec/js/profile-w3c-common' async class='remove'></script> - --> + <!-- local copy: --> + <!-- remote copy: + <script src='https://www.w3.org/Tools/respec/respec-w3c-common' class='remove' async></script> + --> <style> pre { @@ -271,7 +272,7 @@ </p> <h1 class="title" id="title">WebVTT: The Web Video Text Tracks Format</h1> - <h2 id="draft-community-group-specification-14-april-2013">Draft Community Group Specification 14 April 2013</h2> + <h2 id="draft-community-group-specification-15-april-2013">Draft Community Group Specification 15 April 2013</h2> <dl> @@ -580,38 +581,38 @@ <ul class="brief"> <li><dfn id="dfn-html-elements">HTML elements</dfn> - </li><li><dfn id="dfn-script-s-document">script's document</dfn> - </li><li><dfn id="dfn-entry-script">entry script</dfn> + </li><li><dfn id="dfn-script-s-document">Script's document</dfn> + </li><li><dfn id="dfn-entry-script">Entry script</dfn> </li><li><dfn id="dfn-mime-type">MIME type</dfn> </li><li><dfn id="dfn-utf-8-decode">UTF-8 decode</dfn> - </li><li><dfn id="dfn-case-sensitive">case-sensitive</dfn> + </li><li><dfn id="dfn-case-sensitive">Case-sensitive</dfn> </li><li><dfn id="dfn-collect-a-sequence-of-characters">Collect a sequence of characters</dfn> </li><li><dfn id="dfn-ascii-digits">ASCII digits</dfn> </li><li><dfn id="dfn-alphanumeric-ascii-characters">Alphanumeric ASCII characters</dfn> - </li><li><dfn id="dfn-space-character">space character</dfn> + </li><li><dfn id="dfn-space-character">Space character</dfn> </li><li><dfn id="dfn-skip-whitespace">Skip whitespace</dfn> - </li><li><dfn id="dfn-split-a-string-on-spaces">split a string on spaces</dfn> + </li><li><dfn id="dfn-split-a-string-on-spaces">Split a string on spaces</dfn> </li><li><dfn id="dfn-html-namespace">HTML namespace</dfn> - </li><li><dfn id="dfn-media-element">media element</dfn> - </li><li><dfn id="dfn-current-playback-position">current playback position</dfn> - </li><li><dfn id="dfn-expose-a-user-interface-to-the-user">expose a user interface to the user</dfn> - </li><li><dfn id="dfn-list-of-text-tracks">list of text tracks</dfn> - </li><li><dfn id="dfn-text-track">text track</dfn> - </li><li><dfn id="dfn-text-track-kind">text track kind</dfn> - </li><li><dfn id="dfn-text-track-mode">text track mode</dfn> - </li><li><dfn id="dfn-text-track-showing">text track showing</dfn> - </li><li><dfn id="dfn-text-track-cue">text track cue</dfn> - </li><li><dfn id="dfn-text-track-list-of-cues">text track list of cues</dfn> - </li><li><dfn id="dfn-text-track-cue-order">text track cue order</dfn> - </li><li><dfn id="dfn-text-track-cue-identifier">text track cue identifier</dfn> - </li><li><dfn id="dfn-text-track-cue-start-time">text track cue start time</dfn> - </li><li><dfn id="dfn-text-track-cue-end-time">text track cue end time</dfn> - </li><li><dfn id="dfn-text-track-cue-pause-on-exit-flag">text track cue pause-on-exit flag</dfn> - </li><li><dfn id="dfn-text-track-cue-text">text track cue text</dfn> - </li><li><dfn id="dfn-text-track-cue-active-flag">text track cue active flag</dfn> - </li><li><dfn id="dfn-text-track-cue-display-state">text track cue display state</dfn> - </li><li><dfn id="dfn-rules-for-updating-the-text-track-rendering">rules for updating the text track rendering</dfn> - </li><li><dfn id="dfn-rules-for-rendering-the-cue-in-isolation">rules for rendering the cue in isolation</dfn> + </li><li><dfn id="dfn-media-element">Media element</dfn> + </li><li><dfn id="dfn-current-playback-position">Current playback position</dfn> + </li><li><dfn id="dfn-expose-a-user-interface-to-the-user">Expose a user interface to the user</dfn> + </li><li><dfn id="dfn-list-of-text-tracks">List of text tracks</dfn> + </li><li><dfn id="dfn-text-track">Text track</dfn> + </li><li><dfn id="dfn-text-track-kind">Text track kind</dfn> + </li><li><dfn id="dfn-text-track-mode">Text track mode</dfn> + </li><li><dfn id="dfn-text-track-showing">Text track showing</dfn> + </li><li><dfn id="dfn-text-track-cue">Text track cue</dfn> + </li><li><dfn id="dfn-text-track-list-of-cues">Text track list of cues</dfn> + </li><li><dfn id="dfn-text-track-cue-order">Text track cue order</dfn> + </li><li><dfn id="dfn-text-track-cue-identifier">Text track cue identifier</dfn> + </li><li><dfn id="dfn-text-track-cue-start-time">Text track cue start time</dfn> + </li><li><dfn id="dfn-text-track-cue-end-time">Text track cue end time</dfn> + </li><li><dfn id="dfn-text-track-cue-pause-on-exit-flag">Text track cue pause-on-exit flag</dfn> + </li><li><dfn id="dfn-text-track-cue-text">Text track cue text</dfn> + </li><li><dfn id="dfn-text-track-cue-active-flag">Text track cue active flag</dfn> + </li><li><dfn id="dfn-text-track-cue-display-state">Text track cue display state</dfn> + </li><li><dfn id="dfn-rules-for-updating-the-text-track-rendering">Rules for updating the text track rendering</dfn> + </li><li><dfn id="dfn-rules-for-rendering-the-cue-in-isolation">Rules for rendering the cue in isolation</dfn> </li><li><dfn id="dfn-texttrackcue"><code>TextTrackCue</code></dfn> interface </li></ul> </section> @@ -625,7 +626,7 @@ <dl> - <dt><dfn title="Text track cue writing direction" id="dfn-text-track-cue-writing-direction">A writing direction</dfn> + <dt><dfn title="text track cue writing direction" id="dfn-text-track-cue-writing-direction">A writing direction</dfn> </dt><dd> <p>A writing direction, either <dfn title="text track cue horizontal writing direction" id="dfn-text-track-cue-horizontal-writing-direction">horizontal</dfn> (a line extends horizontally and is positioned vertically, with @@ -636,7 +637,7 @@ growing right</dfn> (a line extends vertically and is positioned horizontally, with consecutive lines displayed to the right of each other<!-- used for mongolian -->).</p> - <p>If the <a title="Text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, then <a title="text + <p>If the <a title="text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, then <a title="text track cue line position" href="#dfn-text-track-cue-line-position" class="internalDFN">line position</a> percentages are relative to the height of the video, and <a title="text track cue text position" href="#dfn-text-track-cue-text-position" class="internalDFN">text position</a> and <a title="text track cue size" href="#dfn-text-track-cue-size" class="internalDFN">size</a> percentages are relative to the width of the video.</p> @@ -663,7 +664,7 @@ <dt><dfn title="text track cue line position" id="dfn-text-track-cue-line-position">A line position</dfn> </dt><dd> <p>Either a number giving the position of the lines of the cue, to be interpreted as defined by - the <a title="Text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing direction</a> and <a title="text track cue snap-to-lines flag" href="#dfn-text-track-cue-snap-to-lines-flag" class="internalDFN">snap-to-lines flag</a> of the cue, or the special + the <a title="text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing direction</a> and <a title="text track cue snap-to-lines flag" href="#dfn-text-track-cue-snap-to-lines-flag" class="internalDFN">snap-to-lines flag</a> of the cue, or the special value <dfn title="text track cue automatic line position" id="dfn-text-track-cue-automatic-line-position">auto</dfn>, which means the position is to depend on the other active tracks.</p> @@ -716,18 +717,18 @@ <dt><dfn title="text track cue text position" id="dfn-text-track-cue-text-position">A text position</dfn> </dt><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 title="Text track cue writing + percentage of the video, as defined by the <a title="text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing direction</a>.</p> </dd> <dt><dfn title="text track cue size" id="dfn-text-track-cue-size">A size</dfn> </dt><dd> <p>A number giving the size of the box within which the text of each line of the cue is to be - aligned, to be interpreted as a percentage of the video, as defined by the <a title="Text + aligned, to be interpreted as a percentage of the video, as defined by the <a title="text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing direction</a>.</p> </dd> - <dt><dfn title="Text track cue alignment" id="dfn-text-track-cue-alignment">An alignment</dfn> + <dt><dfn title="text track cue alignment" id="dfn-text-track-cue-alignment">An alignment</dfn> </dt><dd> <p>An alignment for the text of each line of the cue, one of:</p> @@ -752,7 +753,7 @@ </dl> <p>Which sides are the start and end sides depends on the Unicode bidirectional algorithm and - the <a title="Text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing direction</a>. <a href="#refsBIDI">[BIDI]</a></p> + the <a title="text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing direction</a>. <a href="#refsBIDI">[BIDI]</a></p> </dd> @@ -764,9 +765,9 @@ <div class="impl"> <p>When a WebVTT <a href="#dfn-text-track-cue" class="internalDFN">text track cue</a> whose <a title="text track cue active flag" href="#dfn-text-track-cue-active-flag" class="internalDFN">active - flag</a> is set has its <a title="Text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing + flag</a> is set has its <a title="text track cue writing direction" href="#dfn-text-track-cue-writing-direction" class="internalDFN">writing direction</a>, <a title="text track cue snap-to-lines flag" href="#dfn-text-track-cue-snap-to-lines-flag" class="internalDFN">snap-to-lines flag</a>, <a title="text track cue line position" href="#dfn-text-track-cue-line-position" class="internalDFN">line position</a>, <a title="text track cue text - position" href="#dfn-text-track-cue-text-position" class="internalDFN">text position</a>, <a title="text track cue size" href="#dfn-text-track-cue-size" class="internalDFN">size</a>, <a title="Text + position" href="#dfn-text-track-cue-text-position" class="internalDFN">text position</a>, <a title="text track cue size" href="#dfn-text-track-cue-size" class="internalDFN">size</a>, <a title="text track cue alignment" href="#dfn-text-track-cue-alignment" class="internalDFN">alignment</a>, or <a title="text track cue text" href="#dfn-text-track-cue-text" class="internalDFN">text</a> change value, then the user agent must empty the <a href="#dfn-text-track-cue-display-state" class="internalDFN">text track cue display state</a>, and then immediately run the <a href="#dfn-text-track" class="internalDFN">text track</a>'s <a href="#dfn-rules-for-updating-the-display-of-webvtt-text-tracks" class="internalDFN">rules for updating the display of WebVTT text @@ -1548,7 +1549,7 @@ <li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-pause-on-exit-flag" class="internalDFN">text track cue pause-on-exit flag</a> be false.</p></li> - <li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue + <li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> be <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>.</p></li> @@ -1565,7 +1566,7 @@ <li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-size" class="internalDFN">text track cue size</a> be 100.</p></li> - <li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue + <li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> be <a title="text track cue middle alignment" href="#dfn-text-track-cue-middle-alignment" class="internalDFN">middle alignment</a>.</p></li> @@ -1766,12 +1767,12 @@ <li><p>If <var title="">value</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for the string "<code title="">rl</code>", then let <var title="">cue</var>'s - <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> be <a title="text track cue vertical growing left writing + <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> be <a title="text track cue vertical growing left writing direction" href="#dfn-text-track-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a>.</p></li> <li><p>Otherwise, if <var title="">value</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for the string "<code title="">lr</code>", then let <var title="">cue</var>'s - <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> be <a title="text track cue vertical growing right writing + <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> be <a title="text track cue vertical growing right writing direction" href="#dfn-text-track-cue-vertical-growing-right-writing-direction" class="internalDFN">vertical growing right</a>.</p></li> </ol> @@ -1905,27 +1906,27 @@ <li><p>If <var title="">value</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for the string "<code title="">start</code>", then let <var title="">cue</var>'s - <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> be <a title="text + <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> be <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start alignment</a>.</p></li> <li><p>If <var title="">value</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for the string "<code title="">middle</code>", then let <var title="">cue</var>'s - <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> be <a title="text + <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> be <a title="text track cue middle alignment" href="#dfn-text-track-cue-middle-alignment" class="internalDFN">middle alignment</a>.</p></li> <li><p>If <var title="">value</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for the string "<code title="">end</code>", then let <var title="">cue</var>'s - <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> be <a title="text + <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> be <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end alignment</a>.</p></li> <li><p>If <var title="">value</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for the string "<code title="">left</code>", then let <var title="">cue</var>'s - <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> be <a title="text + <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> be <a title="text track cue left alignment" href="#dfn-text-track-cue-left-alignment" class="internalDFN">left alignment</a>.</p></li> <li><p>If <var title="">value</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for the string "<code title="">right</code>", then let <var title="">cue</var>'s - <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> be <a title="text + <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> be <a title="text track cue right alignment" href="#dfn-text-track-cue-right-alignment" class="internalDFN">right alignment</a>.</p></li> </ol> @@ -2171,7 +2172,7 @@ <p>To parse a string <var title="">input</var> supposedly containing <a href="#dfn-webvtt-cue-text" class="internalDFN">WebVTT cue text</a>, user agents must use the following - algorithm. This algorithm returns a <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">List of WebVTT Node + algorithm. This algorithm returns a <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">list of WebVTT Node Objects</a>.</p> <ol> @@ -2182,7 +2183,7 @@ <li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the string.</p></li> - <li><p>Let <var title="">result</var> be a <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">List of WebVTT + <li><p>Let <var title="">result</var> be a <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">list of WebVTT Node Objects</a>, initially empty.</p></li> <li><p>Let <var title="">current</var> be the <a href="#dfn-webvtt-internal-node-object" class="internalDFN">WebVTT Internal @@ -2849,7 +2850,7 @@ <section id="webvtt-cue-text-dom-construction-rules"> <h3><span class="secno">4.4 </span><dfn id="dfn-webvtt-cue-text-dom-construction-rules">WebVTT cue text DOM construction rules</dfn></h3> - <p>To convert a <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">List of WebVTT Node Objects</a> to a DOM + <p>To convert a <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">list of WebVTT Node Objects</a> to a DOM tree for <code>Document</code> <var title="">owner</var>, user agents must create a tree of DOM nodes that is isomorphous to the tree of <a title="WebVTT Node Object" href="#dfn-webvtt-node-object" class="internalDFN">WebVTT Node Objects</a>, @@ -2927,7 +2928,7 @@ <ol> - <li><p>Let <var title="">nodes</var> be the <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">List of WebVTT Node Objects</a> obtained by + <li><p>Let <var title="">nodes</var> be the <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">list of WebVTT Node Objects</a> obtained by applying the <a href="#dfn-webvtt-cue-text-parsing-rules" class="internalDFN">WebVTT cue text parsing rules</a> to the <var title="">cue</var>'s <a href="#dfn-text-track-cue-text" class="internalDFN">text track cue text</a>.</p> @@ -3006,7 +3007,7 @@ <ol> - <li><p>Let <var title="">nodes</var> be the <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">List of WebVTT + <li><p>Let <var title="">nodes</var> be the <a href="#dfn-list-of-webvtt-node-objects" class="internalDFN">list of WebVTT Node Objects</a> obtained by applying the <a href="#dfn-webvtt-cue-text-parsing-rules" class="internalDFN">WebVTT cue text parsing rules</a> to the <var title="">cue</var>'s <a href="#dfn-text-track-cue-text" class="internalDFN">text track cue text</a>.</p> @@ -3036,12 +3037,12 @@ </li> - <li><p>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is + <li><p>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, then let <var title="">writing-mode</var> be 'horizontal-tb'. Otherwise, if the - <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue vertical growing left writing + <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue vertical growing left writing direction" href="#dfn-text-track-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a>, then let <var title="">writing-mode</var> be 'vertical-rl'. Otherwise, the - <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue vertical growing right writing + <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue vertical growing right writing direction" href="#dfn-text-track-cue-vertical-growing-right-writing-direction" class="internalDFN">vertical growing right</a>; let <var title="">writing-mode</var> be 'vertical-lr'.</p></li> <li> @@ -3052,49 +3053,49 @@ <dl class="switch"> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a>, + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a>, and <var title="">direction</var> is 'ltr'</dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a>, + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a>, and <var title="">direction</var> is 'rtl'</dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue left alignment" href="#dfn-text-track-cue-left-alignment" class="internalDFN">left</a></dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue vertical growing left writing direction" href="#dfn-text-track-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a>, - and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a> + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue left alignment" href="#dfn-text-track-cue-left-alignment" class="internalDFN">left</a></dt> + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue vertical growing left writing direction" href="#dfn-text-track-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a>, + and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a> or <a title="text track cue left alignment" href="#dfn-text-track-cue-left-alignment" class="internalDFN">left</a></dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue vertical growing right writing direction" href="#dfn-text-track-cue-vertical-growing-right-writing-direction" class="internalDFN">vertical growing right</a>, - and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a> + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue vertical growing right writing direction" href="#dfn-text-track-cue-vertical-growing-right-writing-direction" class="internalDFN">vertical growing right</a>, + and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a> or <a title="text track cue left alignment" href="#dfn-text-track-cue-left-alignment" class="internalDFN">left</a></dt> <dd> <p>Let <var title="">maximum size</var> be the <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a> subtracted from 100.</p> </dd> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a>, + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a>, and <var title="">direction</var> is 'ltr'</dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a>, + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a>, and <var title="">direction</var> is 'rtl'</dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue right alignment" href="#dfn-text-track-cue-right-alignment" class="internalDFN">right</a></dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue vertical growing left writing direction" href="#dfn-text-track-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a>, - and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a> + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue right alignment" href="#dfn-text-track-cue-right-alignment" class="internalDFN">right</a></dt> + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue vertical growing left writing direction" href="#dfn-text-track-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a>, + and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a> or <a title="text track cue right alignment" href="#dfn-text-track-cue-right-alignment" class="internalDFN">right</a></dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue vertical growing right writing direction" href="#dfn-text-track-cue-vertical-growing-right-writing-direction" class="internalDFN">vertical growing right</a>, - and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a> + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue vertical growing right writing direction" href="#dfn-text-track-cue-vertical-growing-right-writing-direction" class="internalDFN">vertical growing right</a>, + and the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a> or <a title="text track cue right alignment" href="#dfn-text-track-cue-right-alignment" class="internalDFN">right</a></dt> <dd> <p>Let <var title="">maximum size</var> be the <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a>.</p> </dd> - <dt>If the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue middle alignment" href="#dfn-text-track-cue-middle-alignment" class="internalDFN">middle</a>, + <dt>If the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue middle alignment" href="#dfn-text-track-cue-middle-alignment" class="internalDFN">middle</a>, the <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a> is less than or equal to 50</dt> <dd> <p>Let <var title="">maximum size</var> be the <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a> multiplied by two.</p> </dd> - <dt>If the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue middle alignment" href="#dfn-text-track-cue-middle-alignment" class="internalDFN">middle</a>, + <dt>If the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue middle alignment" href="#dfn-text-track-cue-middle-alignment" class="internalDFN">middle</a>, the <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a> is greater than <!-- or equal to --> 50</dt> <dd> <p>Let <var title="">maximum size</var> be the result of subtracting <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a> from 100 and then multiplying the result by two.</p> @@ -3107,7 +3108,7 @@ <li><p>If the <a href="#dfn-text-track-cue-size" class="internalDFN">text track cue size</a> is less than <var title="">maximum size</var>, then let <var title="">size</var> be <a href="#dfn-text-track-cue-size" class="internalDFN">text track cue size</a>. Otherwise, let <var title="">size</var> be <var title="">maximum size</var>.</p></li> - <li><p>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is + <li><p>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, then let <var title="">width</var> be '<var title="">size</var> vw' and <var title="">height</var> be 'auto'. Otherwise, let <var title="">width</var> be 'auto' and <var title="">height</var> be @@ -3122,84 +3123,84 @@ <dl class="switch"> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a>, + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue start alignment" href="#dfn-text-track-cue-start-alignment" class="internalDFN">start</a>, and <var title="">direction</var> is 'ltr'</dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue left alignment" href="#dfn-text-track-cue-left-alignment" class="internalDFN">left</a>, + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue left alignment" href="#dfn-text-track-cue-left-alignment" class="internalDFN">left</a>, and <var title="">direction</var> is 'ltr'</dt> <dd> <p>Let <var title="">x-position</var> be the <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a>.</p> </dd> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a>, + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue end alignment" href="#dfn-text-track-cue-end-alignment" class="internalDFN">end</a>, and <var title="">direction</var> is 'rtl'</dt> - <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">Text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, - the <a href="#dfn-text-track-cue-alignment" class="internalDFN">Text track cue alignment</a> is <a title="text track cue left alignment" href="#dfn-text-track-cue-left-alignment" class="internalDFN">left</a>, + <dt>If the <a href="#dfn-text-track-cue-writing-direction" class="internalDFN">text track cue writing direction</a> is <a title="text track cue horizontal writing direction" href="#dfn-text-track-cue-horizontal-writing-direction" class="internalDFN">horizontal</a>, + the <a href="#dfn-text-track-cue-alignment" class="internalDFN">text track cue alignment</a> is <a title="text track cue left alignment" href="#dfn-text-track-cue-left-alignment" class="internalDFN">left</a>, and <var title="">direction</var> is 'rtl'</dt> <dd> <p>Let <var title="">x-position</var> be the <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a> subtracted from 100.</p> </dd> [428 lines skipped]
Received on Monday, 15 April 2013 00:30:04 UTC