[html5] r6761 - [giowt] (0) Handle incorrectly terminated escapes in WebVTT cue text. Fixing htt [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 25 16:44:20 PDT 2011


Author: ianh
Date: 2011-10-25 16:44:18 -0700 (Tue, 25 Oct 2011)
New Revision: 6761

Modified:
   complete.html
   index
   source
Log:
[giowt] (0) Handle incorrectly terminated escapes in WebVTT cue text.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14543

Modified: complete.html
===================================================================
--- complete.html	2011-10-25 23:36:22 UTC (rev 6760)
+++ complete.html	2011-10-25 23:44:18 UTC (rev 6761)
@@ -34020,9 +34020,15 @@
 
       <p>Jump to the entry that matches the value of <var title="">c</var>:</p>
 
-      <dl><dt>U+003B SEMICOLON character (;)</dt>
+      <dl><dt>U+0026 AMPERSAND (&)</dt>
        <dd>
+        <p>Append <var title="">buffer</var> to <var title="">result</var>, set <var title="">buffer</var> to <var title="">c</var>, and jump to the step labeled
+        <i>next</i>.</p>
+       </dd>
 
+       <dt>U+003B SEMICOLON character (;)</dt>
+       <dd>
+
         <p>First, examine the value of <var title="">buffer</var>:</p>
 
         <p>If <var title="">buffer</var> is the string "<code title="">&amp</code>", then append a U+0026 AMPERSAND
@@ -34043,6 +34049,13 @@
 
        </dd>
 
+       <dt>U+003C LESS-THAN SIGN (<)</dt>
+       <dt>End-of-file marker</dt>
+       <dd>
+        <p>Append <var title="">buffer</var> to <var title="">result</var>, return a string token whose value is
+        <var title="">result</var>, and abort these steps.</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>
@@ -34051,15 +34064,9 @@
         and jump to the step labeled <i>next</i>.</p>
        </dd>
 
-       <dt>End-of-file marker</dt>
-       <dd>
-        <p>Append <var title="">buffer</var> to <var title="">result</var>, return a string token whose value is
-        <var title="">result</var>, and abort these steps.</p>
-       </dd>
-
        <dt>Anything else</dt>
        <dd>
-        <p>Append <var title="">buffer</var> to <var title="">result</var>, set <var title="">tokenizer state</var>
+        <p>Append <var title="">buffer</var> to <var title="">result</var>, append <var title="">c</var> to <var title="">result</var>, set <var title="">tokenizer state</var>
         to the <a href=#webvtt-data-state>WebVTT data state</a>, and jump to the step
         labeled <i>next</i>.</p>
        </dd> 

Modified: index
===================================================================
--- index	2011-10-25 23:36:22 UTC (rev 6760)
+++ index	2011-10-25 23:44:18 UTC (rev 6761)
@@ -34020,9 +34020,15 @@
 
       <p>Jump to the entry that matches the value of <var title="">c</var>:</p>
 
-      <dl><dt>U+003B SEMICOLON character (;)</dt>
+      <dl><dt>U+0026 AMPERSAND (&)</dt>
        <dd>
+        <p>Append <var title="">buffer</var> to <var title="">result</var>, set <var title="">buffer</var> to <var title="">c</var>, and jump to the step labeled
+        <i>next</i>.</p>
+       </dd>
 
+       <dt>U+003B SEMICOLON character (;)</dt>
+       <dd>
+
         <p>First, examine the value of <var title="">buffer</var>:</p>
 
         <p>If <var title="">buffer</var> is the string "<code title="">&amp</code>", then append a U+0026 AMPERSAND
@@ -34043,6 +34049,13 @@
 
        </dd>
 
+       <dt>U+003C LESS-THAN SIGN (<)</dt>
+       <dt>End-of-file marker</dt>
+       <dd>
+        <p>Append <var title="">buffer</var> to <var title="">result</var>, return a string token whose value is
+        <var title="">result</var>, and abort these steps.</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>
@@ -34051,15 +34064,9 @@
         and jump to the step labeled <i>next</i>.</p>
        </dd>
 
-       <dt>End-of-file marker</dt>
-       <dd>
-        <p>Append <var title="">buffer</var> to <var title="">result</var>, return a string token whose value is
-        <var title="">result</var>, and abort these steps.</p>
-       </dd>
-
        <dt>Anything else</dt>
        <dd>
-        <p>Append <var title="">buffer</var> to <var title="">result</var>, set <var title="">tokenizer state</var>
+        <p>Append <var title="">buffer</var> to <var title="">result</var>, append <var title="">c</var> to <var title="">result</var>, set <var title="">tokenizer state</var>
         to the <a href=#webvtt-data-state>WebVTT data state</a>, and jump to the step
         labeled <i>next</i>.</p>
        </dd> 

Modified: source
===================================================================
--- source	2011-10-25 23:36:22 UTC (rev 6760)
+++ source	2011-10-25 23:44:18 UTC (rev 6761)
@@ -37333,6 +37333,14 @@
 
       <dl>
 
+       <dt>U+0026 AMPERSAND (&)</dt>
+       <dd>
+        <p>Append <var title="">buffer</var> to <var
+        title="">result</var>, set <var title="">buffer</var> to <var
+        title="">c</var>, and jump to the step labeled
+        <i>next</i>.</p>
+       </dd>
+
        <dt>U+003B SEMICOLON character (;)</dt>
        <dd>
 
@@ -37360,6 +37368,14 @@
 
        </dd>
 
+       <dt>U+003C LESS-THAN SIGN (<)</dt>
+       <dt>End-of-file marker</dt>
+       <dd>
+        <p>Append <var title="">buffer</var> to <var
+        title="">result</var>, return a string token whose value is
+        <var title="">result</var>, and abort these steps.</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>
@@ -37368,16 +37384,10 @@
         and jump to the step labeled <i>next</i>.</p>
        </dd>
 
-       <dt>End-of-file marker</dt>
-       <dd>
-        <p>Append <var title="">buffer</var> to <var
-        title="">result</var>, return a string token whose value is
-        <var title="">result</var>, and abort these steps.</p>
-       </dd>
-
        <dt>Anything else</dt>
        <dd>
         <p>Append <var title="">buffer</var> to <var
+        title="">result</var>, append <var title="">c</var> to <var
         title="">result</var>, set <var title="">tokenizer state</var>
         to the <span>WebVTT data state</span>, and jump to the step
         labeled <i>next</i>.</p>




More information about the Commit-Watchers mailing list