- From: CVS User pjgenste <cvsmail@w3.org>
- Date: Sun, 22 Mar 2015 01:48:45 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/webvtt
In directory roscoe:/tmp/cvs-serv8731
Modified Files:
Overview.html
Log Message:
Sync WebVTT with Git commit 2045f93583f1edd4b243f31beff2d93a74cc1e25
--- /sources/public/html5/webvtt/Overview.html 2015/03/17 08:17:51 1.215
+++ /sources/public/html5/webvtt/Overview.html 2015/03/22 01:48:44 1.216
@@ -3,7 +3,7 @@
<head>
<title>WebVTT: The Web Video Text Tracks Format</title>
<meta charset="utf-8">
- <meta name="revision" content="f0362b8cbb0fb34d3c7c1e03e3d7f0159a8930a1">
+ <meta name="revision" content="2045f93583f1edd4b243f31beff2d93a74cc1e25">
@@ -305,7 +305,7 @@
</p>
<h1 class="title p-name" id="title">WebVTT: The Web Video Text Tracks Format</h1>
- <h2 id="draft-community-group-report-17-march-2015">Draft Community Group Report <time class="dt-published" datetime="2015-03-17">17 March 2015</time></h2>
+ <h2 id="draft-community-group-report-22-march-2015">Draft Community Group Report <time class="dt-published" datetime="2015-03-22">22 March 2015</time></h2>
<dl>
@@ -924,9 +924,9 @@
value <dfn title="WebVTT cue automatic line position" id="dfn-webvtt-cue-automatic-line-position">auto</dfn>, which means the position is
to depend on the other showing tracks.</p>
- <p>A <a href="#dfn-webvtt-cue" class="internalDFN">WebVTT cue</a> has a <dfn id="dfn-webvtt-cue-computed-line-position">WebVTT cue computed line position</dfn> whose value is that
- returned by the following algorithm, which is defined in terms of the other aspects of the
- cue:</p>
+ <p>A <a href="#dfn-webvtt-cue" class="internalDFN">WebVTT cue</a> has a <dfn title="cue computed line position" id="dfn-cue-computed-line-position">computed line
+ position</dfn> whose value is that returned by the following algorithm, which is defined in
+ terms of the other aspects of the cue:</p>
<ol>
@@ -1010,9 +1010,9 @@
be interpreted as a percentage of the video dimensions, otherwise as a percentage of the
region dimensions.</p>
- <p>A <a href="#dfn-webvtt-cue" class="internalDFN">WebVTT cue</a> has a <dfn id="dfn-webvtt-cue-computed-text-position">WebVTT cue computed text position</dfn> whose value is that
- returned by the following algorithm, which is defined in terms of the other aspects of the
- cue:</p>
+ <p>A <a href="#dfn-webvtt-cue" class="internalDFN">WebVTT cue</a> has a <dfn title="cue computed text position" id="dfn-cue-computed-text-position">computed text
+ position</dfn> whose value is that returned by the following algorithm, which is defined in
+ terms of the other aspects of the cue:</p>
<ol>
@@ -1074,9 +1074,9 @@
</dl>
- <p>A <a href="#dfn-webvtt-cue" class="internalDFN">WebVTT cue</a> has a <dfn id="dfn-webvtt-cue-computed-text-position-alignment">WebVTT cue computed text position alignment</dfn> whose
- value is that returned by the following algorithm, which is defined in terms of other aspects
- of the cue:</p>
+ <p>A <a href="#dfn-webvtt-cue" class="internalDFN">WebVTT cue</a> has a <dfn title="cue computed text position alignment" id="dfn-cue-computed-text-position-alignment">computed text
+ position alignment</dfn> whose value is that returned by the following algorithm, which is
+ defined in terms of other aspects of the cue:</p>
<ol>
@@ -1962,8 +1962,9 @@
cue setting</a>. For horizontal cues, this is the horizontal position. The text position is
given as a percentage of the video frame. The positioning is calculated relative to the <a title="WebVTT cue text position start alignment" href="#dfn-webvtt-cue-text-position-start-alignment" class="internalDFN">start</a>, <a title="WebVTT cue text position
middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle</a>, or <a title="WebVTT cue text position end alignment" href="#dfn-webvtt-cue-text-position-end-alignment" class="internalDFN">end</a> of
- the cue box, depending on the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed 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>
+ the cue box, depending on the cue's <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed
+ text position alignment</a>, which is overridden by the <a href="#dfn-webvtt-text-position-cue-setting" class="internalDFN">WebVTT text position cue
+ setting</a>.</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>
@@ -3979,21 +3980,23 @@
<i>paragraph direction</i> is left-to-right), let <var>direction</var> be 'ltr', otherwise,
let it be 'rtl'.</p></li>
- <li><p>Let <var>offset</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a> multiplied by
- <var>region</var>'s <a href="#dfn-webvtt-region-width" class="internalDFN">WebVTT region width</a> and divided by 100 (i.e. interpret it as a
- percentage of the region width).</p></li>
+ <li><p>Let <var>offset</var> be <var>cue</var>'s <a title="cue computed text
+ position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text position</a> multiplied by <var>region</var>'s <a href="#dfn-webvtt-region-width" class="internalDFN">WebVTT region
+ width</a> and divided by 100 (i.e. interpret it as a percentage of the region
+ width).</p></li>
<li>
- <p>Adjust <var>offset</var> using the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a>
- as follows:</p>
+ <p>Adjust <var>offset</var> using <var>cue</var>'s <a title="cue computed text position
+ alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position alignment</a> as follows:</p>
<dl class="switch">
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue
- text position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle alignment</a></dt>
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle
+ alignment</a></dt>
<dd><p>Subtract half of <var>region</var>'s <a href="#dfn-webvtt-region-width" class="internalDFN">WebVTT region width</a> from
<var>offset</var>.</p></dd>
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue
- text position end alignment" href="#dfn-webvtt-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt>
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position end alignment" href="#dfn-webvtt-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt>
<dd><p>Subtract <var>region</var>'s <a href="#dfn-webvtt-region-width" class="internalDFN">WebVTT region width</a> from
<var>offset</var>.</p></dd>
</dl>
@@ -4080,33 +4083,34 @@
<dl class="switch">
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position start alignment" href="#dfn-webvtt-cue-text-position-start-alignment" class="internalDFN">start</a></dt>
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position start alignment" href="#dfn-webvtt-cue-text-position-start-alignment" class="internalDFN">start</a></dt>
<dd>
- <p>Let <var>maximum size</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a> subtracted
- from 100.</p>
+ <p>Let <var>maximum size</var> be the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text
+ position</a> subtracted from 100.</p>
</dd>
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position end alignment" href="#dfn-webvtt-cue-text-position-end-alignment" class="internalDFN">end</a></dt>
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position end alignment" href="#dfn-webvtt-cue-text-position-end-alignment" class="internalDFN">end</a></dt>
<dd>
- <p>Let <var>maximum size</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a>.</p>
+ <p>Let <var>maximum size</var> be the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text
+ position</a>.</p>
</dd>
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle</a>, and the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a> is
- less than or equal to 50</dt>
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle</a>, and the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text position</a> is less than or equal to
+ 50</dt>
<dd>
- <p>Let <var>maximum size</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a> multiplied by
- two.</p>
+ <p>Let <var>maximum size</var> be the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text
+ position</a> multiplied by two.</p>
</dd>
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle</a>, and the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a> is
- greater than <!-- or equal to --> 50</dt>
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle</a>, and the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text position</a> is greater than <!-- or equal
+ to --> 50</dt>
<dd>
- <p>Let <var>maximum size</var> be the result of subtracting <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text
- position</a> from 100 and then multiplying the result by two.</p>
+ <p>Let <var>maximum size</var> be the result of subtracting <a title="cue computed text
+ position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text position</a> from 100 and then multiplying the result by two.</p>
</dd>
</dl>
@@ -4134,19 +4138,22 @@
direction" href="#dfn-webvtt-cue-horizontal-writing-direction" class="internalDFN">horizontal</a></dt>
<dd>
<dl class="switch">
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position start alignment" href="#dfn-webvtt-cue-text-position-start-alignment" class="internalDFN">start alignment</a></dt>
- <dd><p>Let <var>x-position</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a>.</p></dd>
-
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle alignment</a></dt>
- <dd><p>Let <var>x-position</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a> minus half
- of <var>size</var>.</p></dd>
-
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position end alignment" href="#dfn-webvtt-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt>
- <dd><p>Let <var>x-position</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a> minus
- <var>size</var>.</p></dd>
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position start alignment" href="#dfn-webvtt-cue-text-position-start-alignment" class="internalDFN">start
+ alignment</a></dt>
+ <dd><p>Let <var>x-position</var> be the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text
+ position</a>.</p></dd>
+
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle
+ alignment</a></dt>
+ <dd><p>Let <var>x-position</var> be the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text
+ position</a> minus half of <var>size</var>.</p></dd>
+
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position end alignment" href="#dfn-webvtt-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt>
+ <dd><p>Let <var>x-position</var> be the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text
+ position</a> minus <var>size</var>.</p></dd>
</dl>
</dd>
@@ -4155,19 +4162,22 @@
writing direction" href="#dfn-webvtt-cue-vertical-growing-right-writing-direction" class="internalDFN">vertical growing right</a></dt>
<dd>
<dl class="switch">
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position start alignment" href="#dfn-webvtt-cue-text-position-start-alignment" class="internalDFN">start alignment</a></dt>
- <dd><p>Let <var>y-position</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a>.</p></dd>
-
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle alignment</a></dt>
- <dd><p>Let <var>y-position</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a> minus half
- of <var>size</var>.</p></dd>
-
- <dt>If the <a href="#dfn-webvtt-cue-computed-text-position-alignment" class="internalDFN">WebVTT cue computed text position alignment</a> is <a title="WebVTT cue text
- position end alignment" href="#dfn-webvtt-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt>
- <dd><p>Let <var>y-position</var> be the <a href="#dfn-webvtt-cue-computed-text-position" class="internalDFN">WebVTT cue computed text position</a> minus
- <var>size</var>.</p></dd>
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position start alignment" href="#dfn-webvtt-cue-text-position-start-alignment" class="internalDFN">start
+ alignment</a></dt>
+ <dd><p>Let <var>y-position</var> be the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text
+ position</a>.</p></dd>
+
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position middle alignment" href="#dfn-webvtt-cue-text-position-middle-alignment" class="internalDFN">middle
+ alignment</a></dt>
+ <dd><p>Let <var>y-position</var> be the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text
+ position</a> minus half of <var>size</var>.</p></dd>
+
+ <dt>If the <a title="cue computed text position alignment" href="#dfn-cue-computed-text-position-alignment" class="internalDFN">computed text position
+ alignment</a> is <a title="WebVTT cue text position end alignment" href="#dfn-webvtt-cue-text-position-end-alignment" class="internalDFN">end alignment</a></dt>
+ <dd><p>Let <var>y-position</var> be the <a title="cue computed text position" href="#dfn-cue-computed-text-position" class="internalDFN">computed text
+ position</a> minus <var>size</var>.</p></dd>
</dl>
</dd>
@@ -4188,12 +4198,14 @@
<dt>If the <a href="#dfn-webvtt-cue-writing-direction" class="internalDFN">WebVTT cue writing direction</a> is <a title="WebVTT cue horizontal writing
direction" href="#dfn-webvtt-cue-horizontal-writing-direction" class="internalDFN">horizontal</a></dt>
- <dd><p>Let <var>y-position</var> be the <a href="#dfn-webvtt-cue-computed-line-position" class="internalDFN">WebVTT cue computed line position</a>.</p></dd>
+ <dd><p>Let <var>y-position</var> be the <a title="cue computed line position" href="#dfn-cue-computed-line-position" class="internalDFN">computed line
+ position</a>.</p></dd>
<dt>If the <a href="#dfn-webvtt-cue-writing-direction" class="internalDFN">WebVTT cue writing direction</a> is <a title="WebVTT cue vertical growing
left writing direction" href="#dfn-webvtt-cue-vertical-growing-left-writing-direction" class="internalDFN">vertical growing left</a> or <a title="WebVTT cue vertical growing
right writing direction" href="#dfn-webvtt-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-webvtt-cue-computed-line-position" class="internalDFN">WebVTT cue computed line position</a>.</p></dd>
+ <dd><p>Let <var>x-position</var> be the <a title="cue computed line position" href="#dfn-cue-computed-line-position" class="internalDFN">computed line
+ position</a>.</p></dd>
</dl>
</dd>
@@ -4436,8 +4448,8 @@
<li><p>If <var>step</var> is zero, then jump to the step labeled <i>done positioning</i>
below.</p></li>
- <li><p>Let <var>line position</var> be the <a href="#dfn-webvtt-cue-computed-line-position" class="internalDFN">WebVTT cue computed line
- position</a>.</p></li>
+ <li><p>Let <var>line position</var> be <var>cue</var>'s <a title="cue computed line
+ position" href="#dfn-cue-computed-line-position" class="internalDFN">computed line position</a>.</p></li>
<li><p>Round <var>line position</var> to an integer by adding 0.5 and then flooring
it.</p></li>
Received on Sunday, 22 March 2015 01:48:47 UTC