- From: CVS User pjgenste <cvsmail@w3.org>
- Date: Mon, 27 Jan 2014 07:42:26 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/webvtt
In directory roscoe:/tmp/cvs-serv13070
Modified Files:
Overview.html
Log Message:
Sync WebVTT with Git commit ba085999dccd1cef5ed06e5125e05732060d7a30
--- /sources/public/html5/webvtt/Overview.html 2014/01/27 02:02:37 1.89
+++ /sources/public/html5/webvtt/Overview.html 2014/01/27 07:42:26 1.90
@@ -287,7 +287,7 @@
</p>
<h1 class="title p-name" id="title" property="dcterms:title">WebVTT: The Web Video Text Tracks Format</h1>
- <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-01-27T02:02:32.000Z" id="draft-community-group-specification-27-january-2014">Draft Community Group Specification <time class="dt-published" datetime="2014-01-27">27 January 2014</time></h2>
+ <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-01-27T07:42:20.000Z" id="draft-community-group-specification-27-january-2014">Draft Community Group Specification <time class="dt-published" datetime="2014-01-27">27 January 2014</time></h2>
<dl>
@@ -1309,7 +1309,8 @@
<li>A U+002E DOT character (.).</li>
<li>One or more <a href="#dfn-ascii-digits" class="internalDFN">ASCII digits</a>.</li>
</ol>
- </li><li>A U+0025 PERCENT SIGN character (%).</li>
+ </li>
+ <li>A U+0025 PERCENT SIGN character (%).</li>
</ol>
</section><!-- end file structure -->
@@ -1765,10 +1766,7 @@
<dl>
<dt>To represent a specific position relative to the video frame</dt>
<dd>
- <ol>
- <li>One or more <a href="#dfn-ascii-digits" class="internalDFN">ASCII digits</a>.</li>
- <li>A U+0025 PERCENT SIGN character (%).</li>
- </ol>
+ <p>A <a href="#dfn-webvtt-percentage-value" class="internalDFN">WebVTT percentage value</a>.</p>
</dd>
<dt>Or to represent a line number</dt>
<dd>
@@ -1809,12 +1807,8 @@
<ol>
<li><p>The string "<code title="">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>As the <a href="#dfn-webvtt-cue-setting-value" class="internalDFN">WebVTT cue setting value</a>:
- <ol>
- <li>One or more <a href="#dfn-ascii-digits" class="internalDFN">ASCII digits</a>.</li>
- <li>A U+0025 PERCENT SIGN character (%).</li>
- </ol>
- </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-value" class="internalDFN">WebVTT percentage value</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
@@ -1831,12 +1825,7 @@
<li><p>A U+003A COLON character (:).</p></li>
<li>As the <a href="#dfn-webvtt-cue-setting-value" class="internalDFN">WebVTT cue setting value</a>:
<ol>
- <li>a position value consisting of:
- <ol>
- <li>One or more <a href="#dfn-ascii-digits" class="internalDFN">ASCII digits</a>.</li>
- <li>A U+0025 PERCENT SIGN character (%).</li>
- </ol>
- </li>
+ <li>a position value consisting of: a <a href="#dfn-webvtt-percentage-value" class="internalDFN">WebVTT percentage value</a>.</li>
<li>an optional alignment value consisting of:
<ol>
<li>A U+002C COMMA character (,).</li>
@@ -2591,34 +2580,43 @@
<li><p>Otherwise let <var title="">linepos</var> be the full <var title="">value</var> string
and <var title="">linealign</var> be the empty string.</p></li>
- <li><p>If <var title="">linepos</var> contains any characters other than U+002D HYPHEN-MINUS
- characters (-), U+0025 PERCENT SIGN characters (%), and <a href="#dfn-ascii-digits" class="internalDFN">ASCII digits</a>, then
- jump to the step labeled <i>next setting</i>.</p></li>
<li><p>If <var title="">linepos</var> does not contain at least one <a title="ASCII
digits" href="#dfn-ascii-digits" class="internalDFN">ASCII digit</a>, then jump to the step labeled <i>next setting</i>.</p></li>
<li><p>If any character in <var title="">linepos</var> other
- than the first character is a U+002D HYPHEN-MINUS character
- (-), then jump to the step labeled <i>next setting</i>.</p></li>
-
- <li><p>If any character in <var title="">linepos</var> other
than the last character is a U+0025 PERCENT SIGN character
(%), then jump to the step labeled <i>next setting</i>.</p></li>
- <li><p>If the first character in <var title="">linepos</var> is
- a U+002D HYPHEN-MINUS character (-) <em>and</em> the last
- character in <var title="">linepos</var> is a U+0025 PERCENT SIGN character (%),
- then jump to the step labeled <i>next setting</i>.</p></li>
-
- <li><p>Ignoring the trailing percent sign, if any, interpret
- <var title="">linepos</var> as a (potentially signed) integer,
- and let <var title="">number</var> be that number.</p></li>
+ <li>
+ <dl>
+ <dt><p>If the last character in <var title="">linepos</var> is
+ a U+0025 PERCENT SIGN character (%)</p></dt>
+
+ <dd><p>If <a href="#dfn-parse-a-percentage-string" class="internalDFN">parse a percentage string</a> from
+ <var title="">linepos</var> doesn't fail, let <var title="">number</var>
+ be the returned <var>percentage</var>, otherwise jump to the
+ step labeled <i>next setting</i>.</p>
+ </dd>
- <li><p>If the last character in <var title="">linepos</var> is
- a U+0025 PERCENT SIGN character (%), but <var title="">number</var> is not in the range
- 0 ≤ <var title="">number</var> ≤ 100, then jump to the
- step labeled <i>next setting</i>.</p></li>
+ <dt><p>Otherwise</p></dt>
+
+ <dd>
+ <ol>
+ <li><p>If <var title="">linepos</var> contains any characters other than
+ U+002D HYPHEN-MINUS characters (-) and <a href="#dfn-ascii-digits" class="internalDFN">ASCII digits</a>, then
+ jump to the step labeled <i>next setting</i>.</p></li>
+
+ <li><p>If any character in <var title="">linepos</var> other
+ than the first character is a U+002D HYPHEN-MINUS character
+ (-), then jump to the step labeled <i>next setting</i>.</p></li>
+
+ <li><p>Interpret <var title="">linepos</var> as a (potentially signed)
+ integer, and let <var title="">number</var> be that number.</p></li>
+ </ol>
+ </dd>
+ </dl>
+ </li>
<li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-line-position" class="internalDFN">text track cue line position</a>
be <var title="">number</var>.</p></li>
@@ -2653,29 +2651,11 @@
<ol>
- <li><p>If <var title="">value</var> contains any characters other than U+0025 PERCENT SIGN
- characters (%) and <a href="#dfn-ascii-digits" class="internalDFN">ASCII digits</a>, then jump to the step labeled <i>next
- setting</i>.</p></li>
-
- <li><p>If <var title="">value</var> does not contain at least one <a title="ASCII
- digits" href="#dfn-ascii-digits" class="internalDFN">ASCII digit</a>, then jump to the step labeled <i>next setting</i>.</p></li>
-
- <li><p>If any character in <var title="">value</var> other
- than the last character is a U+0025 PERCENT SIGN character
- (%), then jump to the step labeled <i>next
- setting</i>.</p></li>
-
- <li><p>If the last character in <var title="">value</var> is
- not a U+0025 PERCENT SIGN character (%), then jump to the
- step labeled <i>next setting</i>.</p></li>
-
- <li><p>Ignoring the trailing percent sign, interpret <var title="">value</var> as an integer, and let <var title="">number</var> be that number.</p></li>
+ <li><p>If <a href="#dfn-parse-a-percentage-string" class="internalDFN">parse a percentage string</a> from <var title="">value</var> doesn't fail,
+ let <var title="">number</var> be the returned <var>percentage</var>, otherwise jump to
+ the step labeled <i>next setting</i>.</p>
- <li><p>If <var title="">number</var> is not in the range
- 0 ≤ <var title="">number</var> ≤ 100, then jump to the
- step labeled <i>next setting</i>.</p></li>
-
- <li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-size" class="internalDFN">text track cue
+ </li><li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-size" class="internalDFN">text track cue
size</a> be <var title="">number</var>.</p></li>
</ol>
@@ -2698,29 +2678,11 @@
<li><p>Otherwise let <var title="">colpos</var> be the full <var title="">value</var> string
and <var title="">colalign</var> be the empty string.</p></li>
- <li><p>If <var title="">colpos</var> contains any characters other than U+0025 PERCENT SIGN
- characters (%) and <a href="#dfn-ascii-digits" class="internalDFN">ASCII digits</a>, then jump to the step labeled
- <i>next setting</i>.</p></li>
-
- <li><p>If <var title="">colpos</var> does not contain at least one <a title="ASCII
- digits" href="#dfn-ascii-digits" class="internalDFN">ASCII digit</a>, then jump to the step labeled <i>next setting</i>.</p></li>
-
- <li><p>If any character in <var title="">colpos</var> other
- than the last character is a U+0025 PERCENT SIGN character
- (%), then jump to the step labeled <i>next setting</i>.</p></li>
-
- <li><p>If the last character in <var title="">colpos</var> is
- not a U+0025 PERCENT SIGN character (%), then jump to the
- step labeled <i>next setting</i>.</p></li>
-
- <li><p>Ignoring the trailing percent sign, interpret <var title="">colpos</var> as an integer,
- and let <var title="">number</var> be that number.</p></li>
-
- <li><p>If <var title="">number</var> is not in the range
- 0 ≤ <var title="">number</var> ≤ 100, then jump to the
- step labeled <i>next setting</i>.</p></li>
+ <li><p>If <a href="#dfn-parse-a-percentage-string" class="internalDFN">parse a percentage string</a> from <var title="">colpos</var> doesn't fail,
+ let <var title="">number</var> be the returned <var>percentage</var>, otherwise jump to
+ the step labeled <i>next setting</i>.</p>
- <li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a> be
+ </li><li><p>Let <var title="">cue</var>'s <a href="#dfn-text-track-cue-text-position" class="internalDFN">text track cue text position</a> be
<var title="">number</var> and let <var title="">positionSet</var> be true.</p></li>
<li><p>If <var title="">colalign</var> is a <a href="#dfn-case-sensitive" class="internalDFN">case-sensitive</a> match for the string
@@ -4996,11 +4958,11 @@
attribute DOMString <a title="dom-VTTCue-regionId" href="#dfn-dom-vttcue-regionid" class="internalDFN">regionId</a>;
attribute <a href="#dfn-directionsetting" class="internalDFN">DirectionSetting</a> <a title="dom-VTTCue-vertical" href="#dfn-dom-vttcue-vertical" class="internalDFN">vertical</a>;
attribute boolean <a title="dom-VTTCue-snapToLines" href="#dfn-dom-vttcue-snaptolines" class="internalDFN">snapToLines</a>;
- attribute (long or <a href="#dfn-autokeyword" class="internalDFN">AutoKeyword</a>) <a title="dom-VTTCue-line" href="#dfn-dom-vttcue-line" class="internalDFN">line</a>;
+ attribute (double or <a href="#dfn-autokeyword" class="internalDFN">AutoKeyword</a>) <a title="dom-VTTCue-line" href="#dfn-dom-vttcue-line" class="internalDFN">line</a>;
attribute <a href="#dfn-alignsetting" class="internalDFN">AlignSetting</a> <a title="dom-VTTCue-lineAlign" href="#dfn-dom-vttcue-linealign" class="internalDFN">lineAlign</a>;
- attribute long <a title="dom-VTTCue-position" href="#dfn-dom-vttcue-position" class="internalDFN">position</a>;
+ attribute double <a title="dom-VTTCue-position" href="#dfn-dom-vttcue-position" class="internalDFN">position</a>;
attribute <a href="#dfn-alignsetting" class="internalDFN">AlignSetting</a> <a title="dom-VTTCue-positionAlign" href="#dfn-dom-vttcue-positionalign" class="internalDFN">positionAlign</a>;
- attribute long <a title="dom-VTTCue-size" href="#dfn-dom-vttcue-size" class="internalDFN">size</a>;
+ attribute double <a title="dom-VTTCue-size" href="#dfn-dom-vttcue-size" class="internalDFN">size</a>;
attribute <a href="#dfn-alignsetting" class="internalDFN">AlignSetting</a> <a title="dom-VTTCue-align" href="#dfn-dom-vttcue-align" class="internalDFN">align</a>;
attribute DOMString <a title="dom-VTTCue-text" href="#dfn-dom-vttcue-text" class="internalDFN">text</a>;
DocumentFragment <a title="dom-VTTCue-getCueAsHTML" href="#dfn-dom-vttcue-getcueashtml" class="internalDFN">getCueAsHTML</a>();
Received on Monday, 27 January 2014 07:42:28 UTC