HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/6755

SVNBugCommentTime (UTC)
675514551[Gecko] [Internet Explorer] [Opera] [Webkit] Try to be more intuitive about what newlines do in WebVTT tags (though note they are non-conforming)2011-10-25 22:21
Index: source
===================================================================
--- source	(revision 6754)
+++ source	(revision 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

|