- From: CVS User pjgenste <cvsmail@w3.org>
- Date: Tue, 10 Jun 2014 03:24:18 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/webvtt In directory roscoe:/tmp/cvs-serv23086 Modified Files: Overview.html Log Message: Sync WebVTT with Git commit 890af22cc81c18baa0052478fafb2e45d32608d8 --- /sources/public/html5/webvtt/Overview.html 2014/06/09 23:06:27 1.152 +++ /sources/public/html5/webvtt/Overview.html 2014/06/10 03:24:18 1.153 @@ -271,7 +271,7 @@ </p> <h1 class="title p-name" id="title">WebVTT: The Web Video Text Tracks Format</h1> - <h2 id="draft-community-group-report-09-june-2014">Draft Community Group Report <time class="dt-published" datetime="2014-06-09">09 June 2014</time></h2> + <h2 id="draft-community-group-report-10-june-2014">Draft Community Group Report <time class="dt-published" datetime="2014-06-10">10 June 2014</time></h2> <dl> @@ -862,15 +862,6 @@ </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 <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a>, 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> - - <p>By default, the <a href="#dfn-text-track-cue-size" class="internalDFN">text track cue size</a> is 100%.</p> - - </dd> - <dt><dfn title="text track cue text position" id="dfn-text-track-cue-text-position">A text position</dfn></dt> <dd> <p>The text position defines positioning of the <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a> in the @@ -975,6 +966,15 @@ </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 <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a>, 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> + + <p>By default, the <a href="#dfn-text-track-cue-size" class="internalDFN">text track cue size</a> is 100%.</p> + + </dd> + <dt><dfn title="text track cue text alignment" id="dfn-text-track-cue-text-alignment">A text alignment</dfn></dt> <dd> @@ -1736,8 +1736,8 @@ <ul class="brief"> <li>A <a href="#dfn-webvtt-vertical-text-cue-setting" class="internalDFN">WebVTT vertical text cue setting</a>.</li> <li>A <a href="#dfn-webvtt-line-position-cue-setting" class="internalDFN">WebVTT line position cue setting</a>.</li> - <li>A <a href="#dfn-webvtt-size-cue-setting" class="internalDFN">WebVTT size cue setting</a>.</li> <li>A <a href="#dfn-webvtt-text-position-cue-setting" class="internalDFN">WebVTT text position cue setting</a>.</li> + <li>A <a href="#dfn-webvtt-size-cue-setting" class="internalDFN">WebVTT size cue setting</a>.</li> <li>A <a href="#dfn-webvtt-alignment-cue-setting" class="internalDFN">WebVTT alignment cue setting</a>.</li> <li>A <a href="#dfn-webvtt-region-cue-setting" class="internalDFN">WebVTT region cue setting</a>.</li> </ul> @@ -1811,22 +1811,6 @@ line is numbered 0), negative line numbers from the end of the frame (the last line is numbered −1).</p></div> - <p>A <dfn id="dfn-webvtt-size-cue-setting">WebVTT size cue setting</dfn> consists of the - following components, in the order given:</p> - - <ol> - <li><p>The string "<code>size</code>" as the <a href="#dfn-webvtt-cue-setting-name" class="internalDFN">WebVTT cue setting name</a>.</p></li> - <li><p>A U+003A COLON character (:).</p></li> - <li><p>As the <a href="#dfn-webvtt-cue-setting-value" class="internalDFN">WebVTT cue setting value</a>: a - <a href="#dfn-webvtt-percentage" class="internalDFN">WebVTT percentage</a>.</p></li> - </ol> - - <div class="note"><div class="note-title" aria-level="4" role="heading" id="h_note_24"><span>Note</span></div><p class="">A <a href="#dfn-webvtt-size-cue-setting" class="internalDFN">WebVTT size cue setting</a> configures - the size of the <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a> in the same direction as the - <a href="#dfn-webvtt-text-position-cue-setting" class="internalDFN">WebVTT text position cue setting</a>. For horizontal cues, this is the width - of the <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a>. It is given as a percentage of the width of the - frame.</p></div> - <p>A <dfn id="dfn-webvtt-text-position-cue-setting">WebVTT text position cue setting</dfn> consists of the following components, in the order given:</p> @@ -1849,7 +1833,7 @@ </li> </ol> - <div class="note"><div class="note-title" aria-level="4" role="heading" id="h_note_25"><span>Note</span></div><p class="">A <a href="#dfn-webvtt-text-position-cue-setting" class="internalDFN">WebVTT text position cue setting</a> configures the position of the + <div class="note"><div class="note-title" aria-level="4" role="heading" id="h_note_24"><span>Note</span></div><p class="">A <a href="#dfn-webvtt-text-position-cue-setting" class="internalDFN">WebVTT text position cue setting</a> configures the position of the <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a> in the direction orthogonal to the <a href="#dfn-webvtt-line-position-cue-setting" class="internalDFN">WebVTT line position cue setting</a>. For horizontal cues, this is the horizontal position. The text position is given as a percentage of the video frame. @@ -1859,6 +1843,22 @@ of the cue box, depending on the <a href="#dfn-default-text-track-cue-text-position-alignment" class="internalDFN">default text track cue text position alignment</a> value, which is overridden by the <a href="#dfn-webvtt-text-position-cue-setting" class="internalDFN">WebVTT text position cue setting</a> alignment value.</p></div> + <p>A <dfn id="dfn-webvtt-size-cue-setting">WebVTT size cue setting</dfn> consists of the + following components, in the order given:</p> + + <ol> + <li><p>The string "<code>size</code>" as the <a href="#dfn-webvtt-cue-setting-name" class="internalDFN">WebVTT cue setting name</a>.</p></li> + <li><p>A U+003A COLON character (:).</p></li> + <li><p>As the <a href="#dfn-webvtt-cue-setting-value" class="internalDFN">WebVTT cue setting value</a>: a + <a href="#dfn-webvtt-percentage" class="internalDFN">WebVTT percentage</a>.</p></li> + </ol> + + <div class="note"><div class="note-title" aria-level="4" role="heading" id="h_note_25"><span>Note</span></div><p class="">A <a href="#dfn-webvtt-size-cue-setting" class="internalDFN">WebVTT size cue setting</a> configures + the size of the <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a> in the same direction as the + <a href="#dfn-webvtt-text-position-cue-setting" class="internalDFN">WebVTT text position cue setting</a>. For horizontal cues, this is the width + of the <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a>. It is given as a percentage of the width of the + frame.</p></div> + <p>A <dfn id="dfn-webvtt-alignment-cue-setting">WebVTT alignment cue setting</dfn> consists of the following components, in the order given:</p> @@ -2694,23 +2694,6 @@ </dd> - <dt>If <var>name</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for "<code>size</code>"</dt> - - <dd> - - <ol> - - <li><p>If <a href="#dfn-parse-a-percentage-string" class="internalDFN">parse a percentage string</a> from <var>value</var> doesn't fail, - let <var>number</var> be the returned <var>percentage</var>, otherwise jump to - the step labeled <i>next setting</i>.</p></li> - - <li><p>Let <var>cue</var>'s <a href="#dfn-text-track-cue-size" class="internalDFN">text track cue - size</a> be <var>number</var>.</p></li> - - </ol> - - </dd> - <dt>If <var>name</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for "<code>position</code>"</dt> <dd> @@ -2750,6 +2733,23 @@ </ol> + </dd> + + <dt>If <var>name</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for "<code>size</code>"</dt> + + <dd> + + <ol> + + <li><p>If <a href="#dfn-parse-a-percentage-string" class="internalDFN">parse a percentage string</a> from <var>value</var> doesn't fail, + let <var>number</var> be the returned <var>percentage</var>, otherwise jump to + the step labeled <i>next setting</i>.</p></li> + + <li><p>Let <var>cue</var>'s <a href="#dfn-text-track-cue-size" class="internalDFN">text track cue + size</a> be <var>number</var>.</p></li> + + </ol> + </dd> <dt>If <var>name</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for "<code>align</code>"</dt>
Received on Tuesday, 10 June 2014 03:24:20 UTC