- From: CVS User pjgenste <cvsmail@w3.org>
- Date: Wed, 15 Oct 2014 08:53:31 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/webvtt In directory roscoe:/tmp/cvs-serv14739 Modified Files: Overview.html Log Message: Sync WebVTT with Git commit 005e6ec4e20bbd34b115348cbe171a1688d2e42f --- /sources/public/html5/webvtt/Overview.html 2014/10/15 08:29:14 1.176 +++ /sources/public/html5/webvtt/Overview.html 2014/10/15 08:53:31 1.177 @@ -4171,66 +4171,14 @@ <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></dt> - <dd> - <dl class="switch"> - <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue line start - alignment" href="#dfn-text-track-cue-line-start-alignment" class="internalDFN">start alignment</a></dt> - <dd><p>Let <var>y-position</var> be the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line - position</a>.</p></dd> - - <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text - position middle alignment" href="#dfn-text-track-cue-text-position-middle-alignment" class="internalDFN">middle alignment</a></dt> - <dd><p>Let <var>y-position</var> be the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line position</a> - minus half of the cue box height.</p></dd> - - <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text - position end alignment" href="#dfn-text-track-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt> - <dd><p>Let <var>y-position</var> be the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line position</a> - minus the cue box height.</p></dd> - </dl> - </dd> + <dd><p>Let <var>y-position</var> be the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line + 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 vertical - growing left writing direction" href="#dfn-text-track-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a></dt> - <dd> - <dl class="switch"> - <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text - position start alignment" href="#dfn-text-track-cue-text-position-start-alignment" class="internalDFN">start alignment</a></dt> - <dd><p>Let <var>x-position</var> be 100 minus the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line - position</a> minus the cue box width.</p></dd> - - <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text - position middle alignment" href="#dfn-text-track-cue-text-position-middle-alignment" class="internalDFN">middle alignment</a></dt> - <dd><p>Let <var>x-position</var> be 100 minus the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line - position</a> minus half of the cue box width.</p></dd> - - <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text - position end alignment" href="#dfn-text-track-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt> - <dd><p>Let <var>x-position</var> be 100 minus the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line - position</a>.</p></dd> - </dl> - </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 vertical - growing right writing direction" href="#dfn-text-track-cue-vertical-growing-right-writing-direction" class="internalDFN">vertical growing right</a></dt> - <dd> - <dl class="switch"> - <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text - position start alignment" href="#dfn-text-track-cue-text-position-start-alignment" class="internalDFN">start alignment</a></dt> - <dd><p>Let <var>x-position</var> be the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line - position</a>.</p></dd> - - <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text - position middle alignment" href="#dfn-text-track-cue-text-position-middle-alignment" class="internalDFN">middle alignment</a></dt> - <dd><p>Let <var>x-position</var> be the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line position</a> - plus half of the cue box width.</p></dd> - - <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text - position end alignment" href="#dfn-text-track-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt> - <dd><p>Let <var>x-position</var> be the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line position</a> - plus the cue box width.</p></dd> - </dl> - </dd> + growing left writing direction" href="#dfn-text-track-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a> or <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></dt> + <dd><p>Let <var>x-position</var> be the <a href="#dfn-text-track-cue-computed-line-position" class="internalDFN">text track cue computed line + position</a>.</p></dd> </dl> </dd> @@ -4252,6 +4200,10 @@ </dd> </dl> + + <div class="note"><div class="note-title" aria-level="4" role="heading" id="h_note_31"><span>Note</span></div><p class="">These are not final positions, they are merely temporary positions used to + calculate box dimensions below.</p></div> + </li> <li><p>Let <var>left</var> be '<var>x-position</var> vw' and <var>top</var> be @@ -4511,6 +4463,46 @@ <ol> + <li><p>Let <var>bounding box</var> be the bounding box of the boxes in + <var>boxes</var>.</p></li> + + <li> + <p>Run the appropriate steps from the following list:</p> + + <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></dt> + <dd> + <dl class="switch"> + <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text + position middle alignment" href="#dfn-text-track-cue-text-position-middle-alignment" class="internalDFN">middle alignment</a></dt> + <dd><p>Move all the boxes in <var>boxes</var> up by half of the height of <var>bounding + box</var>.</p></dd> + + <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text + position end alignment" href="#dfn-text-track-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt> + <dd><p>Move all the boxes in <var>boxes</var> up by the height of <var>bounding + box</var>.</p></dd> + </dl> + </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 vertical + growing left writing direction" href="#dfn-text-track-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a> or <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></dt> + <dd> + <dl class="switch"> + <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text + position middle alignment" href="#dfn-text-track-cue-text-position-middle-alignment" class="internalDFN">middle alignment</a></dt> + <dd><p>Move all the boxes in <var>boxes</var> left by half of the width of + <var>bounding box</var>.</p></dd> + + <dt>If the <a href="#dfn-text-track-cue-line-alignment" class="internalDFN">text track cue line alignment</a> is <a title="text track cue text + position end alignment" href="#dfn-text-track-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt> + <dd><p>Move all the boxes in <var>boxes</var> left by the width of <var>bounding + box</var>.</p></dd> + </dl> + </dd> + </li> + <li><p>If none of the boxes in <var>boxes</var> would overlap any of the boxes in <var>output</var>, and all the boxes in <var>output</var> are within the <var>video</var>'s rendering area, then jump to the step labeled <i>done positioning</i> @@ -4706,7 +4698,7 @@ following sections affect the styling of parts of <a title="text track cue" href="#dfn-text-track-cue" class="internalDFN">text track cues</a> that are being rendered for the <i>matched element</i>.</p> - <div class="note"><div class="note-title" aria-level="4" role="heading" id="h_note_31"><span>Note</span></div><p class="">If the <i>matched element</i> is not a <a href="#dfn-video" class="internalDFN"><code>video</code></a> element, the + <div class="note"><div class="note-title" aria-level="4" role="heading" id="h_note_32"><span>Note</span></div><p class="">If the <i>matched element</i> is not a <a href="#dfn-video" class="internalDFN"><code>video</code></a> element, the pseudo-elements defined below won't have any effect according to this specification.</p></div> <p>A CSS user agent that implements the <a title="text track" href="#dfn-text-track" class="internalDFN">text tracks</a> model must @@ -4912,7 +4904,7 @@ section, that element is the matched element. The pseudo-element defined below affects the styling of text track regions that are being rendered for the matched element.</p> - <div class="note"><div class="note-title" aria-level="5" role="heading" id="h_note_32"><span>Note</span></div><p class="">If the matched element is not a video element, the pseudo-element defined + <div class="note"><div class="note-title" aria-level="5" role="heading" id="h_note_33"><span>Note</span></div><p class="">If the matched element is not a video element, the pseudo-element defined below won't have any effect according to this specification.</p></div> <p>The '<dfn title="pseudo-region" id="dfn-pseudo-region">::cue-region</dfn>' pseudo-element (with no argument) @@ -5574,7 +5566,7 @@ <li> 57 45 42 56 54 54 09 </li> <li> 57 45 42 56 54 54 EOF </li> </ul> - <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_33"><span>Note</span></div><p class="">(An optional UTF-8 BOM, the ASCII string "<code>WEBVTT</code>", and finally + <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_34"><span>Note</span></div><p class="">(An optional UTF-8 BOM, the ASCII string "<code>WEBVTT</code>", and finally a space, tab, line break, or the end of the file.)</p></div> </dd> <dt>File extension(s):</dt>
Received on Wednesday, 15 October 2014 08:53:32 UTC