[html5] r6556 - [giow] (0) Avoid discarding the last cue in a file if it's empty, or any empty c [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Sep 19 16:13:22 PDT 2011
Author: ianh
Date: 2011-09-19 16:13:21 -0700 (Mon, 19 Sep 2011)
New Revision: 6556
Modified:
complete.html
index
source
Log:
[giow] (0) Avoid discarding the last cue in a file if it's empty, or any empty cue that is only terminated with CR and not CRLF. Also, explicitly allow empty metadata cues.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14178
Modified: complete.html
===================================================================
--- complete.html 2011-09-19 22:31:55 UTC (rev 6555)
+++ complete.html 2011-09-19 23:13:21 UTC (rev 6556)
@@ -32455,7 +32455,7 @@
"<code title="">start</code>" means left-aligned.</p>
- <p><dfn id=webvtt-metadata-text>WebVTT metadata text</dfn> consists of any sequence of one
+ <p><dfn id=webvtt-metadata-text>WebVTT metadata text</dfn> consists of any sequence of zero
or more characters other than U+000A LINE FEED (LF) characters and
U+000D CARRIAGE RETURN (CR) characters, each optionally separated
from the next by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>. (In other
@@ -32814,14 +32814,14 @@
string.</li>
<li><p><i>Cue text loop</i>: If <var title="">position</var> is
- past the end of <var title="">input</var>, then discard <var title="">cue</var> and jump to the step labeled <i>cue text
- processing</i>.</li>
+ past the end of <var title="">input</var>, then jump to the step
+ labeled <i>cue text processing</i>.</li>
<li><p>If the character indicated by <var title="">position</var>
is a U+000D CARRIAGE RETURN (CR) character, advance <var title="">position</var> to the next character in <var title="">input</var>.</li>
- <li><p>If <var title="">position</var> is past the end of <var title="">input</var>, then discard <var title="">cue</var> and jump
- to the step labeled <i>cue text processing</i>.</li>
+ <li><p>If <var title="">position</var> is past the end of <var title="">input</var>, then jump to the step labeled <i>cue text
+ processing</i>.</li>
<li><p>If the character indicated by <var title="">position</var>
is a U+000A LINE FEED (LF) character, advance <var title="">position</var> to the next character in <var title="">input</var>.</li>
Modified: index
===================================================================
--- index 2011-09-19 22:31:55 UTC (rev 6555)
+++ index 2011-09-19 23:13:21 UTC (rev 6556)
@@ -243,7 +243,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 14 September 2011</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 19 September 2011</h2>
</hgroup><dl><dt><strong>Web developer edition</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -32322,7 +32322,7 @@
"<code title="">start</code>" means left-aligned.</p>
- <p><dfn id=webvtt-metadata-text>WebVTT metadata text</dfn> consists of any sequence of one
+ <p><dfn id=webvtt-metadata-text>WebVTT metadata text</dfn> consists of any sequence of zero
or more characters other than U+000A LINE FEED (LF) characters and
U+000D CARRIAGE RETURN (CR) characters, each optionally separated
from the next by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>. (In other
@@ -32681,14 +32681,14 @@
string.</li>
<li><p><i>Cue text loop</i>: If <var title="">position</var> is
- past the end of <var title="">input</var>, then discard <var title="">cue</var> and jump to the step labeled <i>cue text
- processing</i>.</li>
+ past the end of <var title="">input</var>, then jump to the step
+ labeled <i>cue text processing</i>.</li>
<li><p>If the character indicated by <var title="">position</var>
is a U+000D CARRIAGE RETURN (CR) character, advance <var title="">position</var> to the next character in <var title="">input</var>.</li>
- <li><p>If <var title="">position</var> is past the end of <var title="">input</var>, then discard <var title="">cue</var> and jump
- to the step labeled <i>cue text processing</i>.</li>
+ <li><p>If <var title="">position</var> is past the end of <var title="">input</var>, then jump to the step labeled <i>cue text
+ processing</i>.</li>
<li><p>If the character indicated by <var title="">position</var>
is a U+000A LINE FEED (LF) character, advance <var title="">position</var> to the next character in <var title="">input</var>.</li>
Modified: source
===================================================================
--- source 2011-09-19 22:31:55 UTC (rev 6555)
+++ source 2011-09-19 23:13:21 UTC (rev 6556)
@@ -35477,7 +35477,7 @@
"<code title="">start</code>" means left-aligned.</p>
- <p><dfn>WebVTT metadata text</dfn> consists of any sequence of one
+ <p><dfn>WebVTT metadata text</dfn> consists of any sequence of zero
or more characters other than U+000A LINE FEED (LF) characters and
U+000D CARRIAGE RETURN (CR) characters, each optionally separated
from the next by a <span>WebVTT line terminator</span>. (In other
@@ -35902,9 +35902,8 @@
string.</p></li>
<li><p><i>Cue text loop</i>: If <var title="">position</var> is
- past the end of <var title="">input</var>, then discard <var
- title="">cue</var> and jump to the step labeled <i>cue text
- processing</i>.</p></li>
+ past the end of <var title="">input</var>, then jump to the step
+ labeled <i>cue text processing</i>.</p></li>
<li><p>If the character indicated by <var title="">position</var>
is a U+000D CARRIAGE RETURN (CR) character, advance <var
@@ -35912,8 +35911,8 @@
title="">input</var>.</p></li>
<li><p>If <var title="">position</var> is past the end of <var
- title="">input</var>, then discard <var title="">cue</var> and jump
- to the step labeled <i>cue text processing</i>.</p></li>
+ title="">input</var>, then jump to the step labeled <i>cue text
+ processing</i>.</p></li>
<li><p>If the character indicated by <var title="">position</var>
is a U+000A LINE FEED (LF) character, advance <var
More information about the Commit-Watchers
mailing list