- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 30 Oct 2012 22:15:57 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/webvtt In directory hutz:/tmp/cvs-serv9144 Modified Files: Overview.html Log Message: Use some new predefined terms for common character ranges. (whatwg r7490) Index: Overview.html =================================================================== RCS file: /sources/public/html5/webvtt/Overview.html,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- Overview.html 25 Oct 2012 18:10:36 -0000 1.46 +++ Overview.html 30 Oct 2012 22:15:55 -0000 1.47 @@ -122,7 +122,7 @@ <header class=head id=head><!-- the following line added by request of Ian Jacobs --><p class=logo><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p> <hgroup><h1 class="no-num no-toc">WebVTT</h1> - <h2 class="no-num no-toc">Living Standard — Last Updated 25 October 2012</h2> + <h2 class="no-num no-toc">Living Standard — Last Updated 30 October 2012</h2> </hgroup><dl><dt>Latest version:</dt> <dd><a href=http://dev.w3.org/html5/webvtt/>http://dev.w3.org/html5/webvtt/</a></dd> <dt>Participate:</dt> @@ -563,28 +563,24 @@ <ol><li>Optionally (required if <var title="">hour</var> is non-zero): - <ol><li>Two or more characters in the range U+0030 DIGIT ZERO (0) to - U+0039 DIGIT NINE (9), representing the <var title="">hours</var> - as a base ten integer.</li> + <ol><li>Two or more <span>ASCII digits</span>, representing the <var title="">hours</var> as a base + ten integer.</li> <li>A U+003A COLON character (:)</li> </ol></li> - <li>Two characters in the range U+0030 DIGIT ZERO (0) to U+0039 - DIGIT NINE (9), representing the <var title="">minutes</var> as a - base ten integer in the range 0 ≤ <var title="">minutes</var> ≤ 59.</li> + <li>Two <span>ASCII digits</span>, representing the <var title="">minutes</var> as a base ten + integer in the range 0 ≤ <var title="">minutes</var> ≤ 59.</li> <li>A U+003A COLON character (:)</li> - <li>Two characters in the range U+0030 DIGIT ZERO (0) to U+0039 - DIGIT NINE (9), representing the <var title="">seconds</var> as a - base ten integer in the range 0 ≤ <var title="">seconds</var> ≤ 59.</li> + <li>Two <span>ASCII digits</span>, representing the <var title="">seconds</var> as a base ten + integer in the range 0 ≤ <var title="">seconds</var> ≤ 59.</li> <li>A U+002E FULL STOP character (.).</li> - <li>Three characters in the range U+0030 DIGIT ZERO (0) to U+0039 - DIGIT NINE (9), representing the thousandths of a second <var title="">seconds-frac</var> as a base ten integer.</li> + <li>Three <span>ASCII digits</span>, representing the thousandths of a second <var title="">seconds-frac</var> as a base ten integer.</li> </ol><p>The <dfn id=webvtt-cue-settings>WebVTT cue settings</dfn> part of a <a href=#webvtt-cue>WebVTT cue</a> consists of zero or more of the following components, in @@ -622,13 +618,13 @@ <li>Either: <dl><dt>To represent a specific position relative to the video frame</dt> <dd> - <ol><li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li> + <ol><li>One or more <span>ASCII digits</span>.</li> <li>A U+0025 PERCENT SIGN character (%).</li> </ol></dd> <dt>To represent a line number</dt> <dd> <ol><li>Optionally a U+002D HYPHEN-MINUS character (-).</li> - <li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li> + <li>One or more <span>ASCII digits</span>.</li> </ol></dd> </dl></li> </ol><p class=note>A <a href=#webvtt-line-position-cue-setting>WebVTT line position cue setting</a> @@ -645,7 +641,7 @@ <ol><li><p>The string "<code title="">position</code>".</li> <li>A U+003A COLON character (:).</li> - <li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li> + <li>One or more <span>ASCII digits</span>.</li> <li>A U+0025 PERCENT SIGN character (%).</li> </ol><p class=note>A <a href=#webvtt-text-position-cue-setting>WebVTT text position cue setting</a> configures the position of the text in the direction orthogonal to @@ -660,7 +656,7 @@ <ol><li><p>The string "<code title="">size</code>".</li> <li>A U+003A COLON character (:).</li> - <li>One or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).</li> + <li>One or more <span>ASCII digits</span>.</li> <li>A U+0025 PERCENT SIGN character (%).</li> </ol><p class=note>A <a href=#webvtt-size-cue-setting>WebVTT size cue setting</a> configures the size of the cue in the same direction as the <a href=#webvtt-text-position-cue-setting>WebVTT text @@ -1236,16 +1232,12 @@ <dd> - <ol><li><p>If <var title="">value</var> contains any characters - other than U+002D HYPHEN-MINUS characters (-), U+0025 PERCENT - SIGN characters (%), and characters in the range U+0030 DIGIT - ZERO (0) to U+0039 DIGIT NINE (9), then jump to the step - labeled <i>next setting</i>.</li> + <ol><li><p>If <var title="">value</var> contains any characters other than U+002D HYPHEN-MINUS + characters (-), U+0025 PERCENT SIGN characters (%), and <span>ASCII digits</span>, then + jump to the step labeled <i>next setting</i>.</li> - <li><p>If <var title="">value</var> does not contain at least - one character in the range U+0030 DIGIT ZERO (0) to U+0039 - DIGIT NINE (9), then jump to the step labeled <i>next - setting</i>.</li> + <li><p>If <var title="">value</var> does not contain at least one <span title="ASCII + digits">ASCII digit</span>, then jump to the step labeled <i>next setting</i>.</li> <li><p>If any character in <var title="">value</var> other than the first character is a U+002D HYPHEN-MINUS character @@ -1285,16 +1277,13 @@ <dd> - <ol><li><p>If <var title="">value</var> contains any characters - other than U+0025 PERCENT SIGN characters (%) and characters - in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), - then jump to the step labeled <i>next setting</i>.</li> - - <li><p>If <var title="">value</var> does not contain at least - one character in the range U+0030 DIGIT ZERO (0) to U+0039 - DIGIT NINE (9), then jump to the step labeled <i>next + <ol><li><p>If <var title="">value</var> contains any characters other than U+0025 PERCENT SIGN + characters (%) and <span>ASCII digits</span>, then jump to the step labeled <i>next setting</i>.</li> + <li><p>If <var title="">value</var> does not contain at least one <span title="ASCII + digits">ASCII digit</span>, then jump to the step labeled <i>next setting</i>.</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 @@ -1319,16 +1308,13 @@ <dd> - <ol><li><p>If <var title="">value</var> contains any characters - other than U+0025 PERCENT SIGN characters (%) and characters - in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), - then jump to the step labeled <i>next setting</i>.</li> - - <li><p>If <var title="">value</var> does not contain at least - one character in the range U+0030 DIGIT ZERO (0) to U+0039 - DIGIT NINE (9), then jump to the step labeled <i>next + <ol><li><p>If <var title="">value</var> contains any characters other than U+0025 PERCENT SIGN + characters (%) and <span>ASCII digits</span>, then jump to the step labeled <i>next setting</i>.</li> + <li><p>If <var title="">value</var> does not contain at least one <span title="ASCII + digits">ASCII digit</span>, then jump to the step labeled <i>next setting</i>.</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 @@ -1401,11 +1387,11 @@ steps.</li> <li><p>If the character indicated by <var title="">position</var> - is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), then + is not an <span title="ASCII digits">ASCII digit</span>, then return an error and abort these steps.</li> - <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range - U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li> + <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> that are <span>ASCII digits</span>, and let + <var title="">string</var> be the collected substring.</li> <li><p>Interpret <var title="">string</var> as a base-ten integer. Let <var title="">value<sub>1</sub></var> be that @@ -1418,8 +1404,8 @@ <li><p>If <var title="">position</var> is beyond the end of <var title="">input</var> or if the character at <var title="">position</var> is not a U+003A COLON character (:), then return an error and abort these steps. Otherwise, move <var title="">position</var> forwards one character.</li> - <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range - U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li> + <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> that are <span>ASCII digits</span>, and let + <var title="">string</var> be the collected substring.</li> <li><p>If <var title="">string</var> is not exactly two characters in length, return an error and abort these steps.</li> @@ -1438,8 +1424,8 @@ <ol><li><p>If <var title="">position</var> is beyond the end of <var title="">input</var> or if the character at <var title="">position</var> is not a U+003A COLON character (:), then return an error and abort these steps. Otherwise, move <var title="">position</var> forwards one character.</li> - <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range - U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li> + <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> that are <span>ASCII digits</span>, and + let <var title="">string</var> be the collected substring.</li> <li><p>If <var title="">string</var> is not exactly two characters in length, return an error and abort these @@ -1460,8 +1446,8 @@ <li><p>If <var title="">position</var> is beyond the end of <var title="">input</var> or if the character at <var title="">position</var> is not a U+002E FULL STOP character (.), then return an error and abort these steps. Otherwise, move <var title="">position</var> forwards one character.</li> - <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range - U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li> + <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> that are <span>ASCII digits</span>, and let + <var title="">string</var> be the collected substring.</li> <li><p>If <var title="">string</var> is not exactly three characters in length, return an error and abort these @@ -1858,9 +1844,7 @@ <i>next</i>.</p> </dd> - <dt>Characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)</dt> - <dt>Characters in the range U+0041 LATIN CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z</dt> - <dt>Characters in the range U+0061 LATIN SMALL LETTER A to U+007A LATIN SMALL LETTER Z</dt> + <dt><span>Alphanumeric ASCII characters</span></dt> <dd> <p>Append <var title="">c</var> to <var title="">buffer</var> and jump to the step labeled <i>next</i>.</p> @@ -1946,7 +1930,7 @@ <i>next</i>.</p> </dd> - <dt>Characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)</dt> + <dt><span>ASCII digits</span></dt> <dd> <p>Set <var title="">result</var> to <var title="">c</var>, set <var title="">tokenizer state</var> to the <a href=#webvtt-timestamp-tag-state>WebVTT
Received on Tuesday, 30 October 2012 22:15:59 UTC