[html5] r6755 - [giow] (1) Try to be more intuitive about what newlines do in WebVTT tags (thoug [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 25 15:21:26 PDT 2011


Author: ianh
Date: 2011-10-25 15:21:24 -0700 (Tue, 25 Oct 2011)
New Revision: 6755

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Try to be more intuitive about what newlines do in WebVTT tags (though note they are non-conforming)
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14551

Modified: complete.html
===================================================================
--- complete.html	2011-10-25 19:18:58 UTC (rev 6754)
+++ complete.html	2011-10-25 22:21:24 UTC (rev 6755)
@@ -34087,6 +34087,7 @@
 
       <dl><dt>U+0020 SPACE character</dt>
        <dt>U+0009 CHARACTER TABULATION (tab) character</dt>
+       <dt>U+000A LINE FEED (LF) character</dt>
        <dd>
         <!-- assert: >result< is the empty string -->
         <p>Set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
@@ -34154,6 +34155,14 @@
         <i>next</i>.</p>
        </dd> 
 
+       <dt>U+000A LINE FEED (LF) character</dt>
+       <dd>
+        <p>Set <var title="">buffer</var> to <var title="">c</var>,
+        set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
+        start tag annotation state</a>, and jump to the step
+        labeled <i>next</i>.</p>
+       </dd>
+
        <dt>U+002E FULL STOP character (.)</dt>
        <dd>
         <p>Set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-class-state>WebVTT
@@ -34198,6 +34207,15 @@
         jump to the step labeled <i>next</i>.</p>
        </dd> 
 
+       <dt>U+000A LINE FEED (LF) character</dt>
+       <dd>
+        <p>Append to <var title="">classes</var> an entry whose value
+        is <var title="">buffer</var>, set <var title="">buffer</var>
+        to <var title="">c</var>, set <var title="">tokenizer
+        state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT start tag annotation
+        state</a>, and jump to the step labeled <i>next</i>.</p>
+       </dd>
+
        <dt>U+002E FULL STOP character (.)</dt>
        <dd>
         <p>Append to <var title="">classes</var> an entry whose value
@@ -34268,7 +34286,7 @@
 
       <p>Jump to the entry that matches the value of <var title="">c</var>:</p>
 
-      <dl><dt>U+003E GREATER-THAN SIGN character (>)</dt>
+      <dl><!-- should we ignore anything after spaces, tabs, and line feeds? --><dt>U+003E GREATER-THAN SIGN character (>)</dt>
        <dd>
         <p>Advance <var title="">position</var> to the next character
         in <var title="">input</var>, then jump to the next "end-of-file

Modified: index
===================================================================
--- index	2011-10-25 19:18:58 UTC (rev 6754)
+++ index	2011-10-25 22:21:24 UTC (rev 6755)
@@ -34087,6 +34087,7 @@
 
       <dl><dt>U+0020 SPACE character</dt>
        <dt>U+0009 CHARACTER TABULATION (tab) character</dt>
+       <dt>U+000A LINE FEED (LF) character</dt>
        <dd>
         <!-- assert: >result< is the empty string -->
         <p>Set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
@@ -34154,6 +34155,14 @@
         <i>next</i>.</p>
        </dd> 
 
+       <dt>U+000A LINE FEED (LF) character</dt>
+       <dd>
+        <p>Set <var title="">buffer</var> to <var title="">c</var>,
+        set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT
+        start tag annotation state</a>, and jump to the step
+        labeled <i>next</i>.</p>
+       </dd>
+
        <dt>U+002E FULL STOP character (.)</dt>
        <dd>
         <p>Set <var title="">tokenizer state</var> to the <a href=#webvtt-start-tag-class-state>WebVTT
@@ -34198,6 +34207,15 @@
         jump to the step labeled <i>next</i>.</p>
        </dd> 
 
+       <dt>U+000A LINE FEED (LF) character</dt>
+       <dd>
+        <p>Append to <var title="">classes</var> an entry whose value
+        is <var title="">buffer</var>, set <var title="">buffer</var>
+        to <var title="">c</var>, set <var title="">tokenizer
+        state</var> to the <a href=#webvtt-start-tag-annotation-state>WebVTT start tag annotation
+        state</a>, and jump to the step labeled <i>next</i>.</p>
+       </dd>
+
        <dt>U+002E FULL STOP character (.)</dt>
        <dd>
         <p>Append to <var title="">classes</var> an entry whose value
@@ -34268,7 +34286,7 @@
 
       <p>Jump to the entry that matches the value of <var title="">c</var>:</p>
 
-      <dl><dt>U+003E GREATER-THAN SIGN character (>)</dt>
+      <dl><!-- should we ignore anything after spaces, tabs, and line feeds? --><dt>U+003E GREATER-THAN SIGN character (>)</dt>
        <dd>
         <p>Advance <var title="">position</var> to the next character
         in <var title="">input</var>, then jump to the next "end-of-file

Modified: source
===================================================================
--- source	2011-10-25 19:18:58 UTC (rev 6754)
+++ source	2011-10-25 22:21:24 UTC (rev 6755)
@@ -37412,6 +37412,7 @@
 
        <dt>U+0020 SPACE character</dt>
        <dt>U+0009 CHARACTER TABULATION (tab) character</dt>
+       <dt>U+000A LINE FEED (LF) character</dt>
        <dd>
         <!-- assert: >result< is the empty string -->
         <p>Set <var title="">tokenizer state</var> to the <span>WebVTT
@@ -37484,6 +37485,14 @@
         <i>next</i>.</p>
        </dd> 
 
+       <dt>U+000A LINE FEED (LF) character</dt>
+       <dd>
+        <p>Set <var title="">buffer</var> to <var title="">c</var>,
+        set <var title="">tokenizer state</var> to the <span>WebVTT
+        start tag annotation state</span>, and jump to the step
+        labeled <i>next</i>.</p>
+       </dd>
+
        <dt>U+002E FULL STOP character (.)</dt>
        <dd>
         <p>Set <var title="">tokenizer state</var> to the <span>WebVTT
@@ -37534,6 +37543,15 @@
         jump to the step labeled <i>next</i>.</p>
        </dd> 
 
+       <dt>U+000A LINE FEED (LF) character</dt>
+       <dd>
+        <p>Append to <var title="">classes</var> an entry whose value
+        is <var title="">buffer</var>, set <var title="">buffer</var>
+        to <var title="">c</var>, set <var title="">tokenizer
+        state</var> to the <span>WebVTT start tag annotation
+        state</span>, and jump to the step labeled <i>next</i>.</p>
+       </dd>
+
        <dt>U+002E FULL STOP character (.)</dt>
        <dd>
         <p>Append to <var title="">classes</var> an entry whose value
@@ -37616,6 +37634,8 @@
 
       <dl>
 
+       <!-- should we ignore anything after spaces, tabs, and line feeds? -->
+
        <dt>U+003E GREATER-THAN SIGN character (>)</dt>
        <dd>
         <p>Advance <var title="">position</var> to the next character




More information about the Commit-Watchers mailing list