[html5] r6997 - [giow] (1) Make the text/vtt registration mention the magic signature for empty [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Feb 15 11:09:32 PST 2012


Author: ianh
Date: 2012-02-15 11:09:32 -0800 (Wed, 15 Feb 2012)
New Revision: 6997

Modified:
   source
Log:
[giow] (1) Make the text/vtt registration mention the magic signature for empty WebVTT files (not that that's particularly useful to detect, but at least it makes the parser and registration consistent).
Affected topics: Video Text Tracks

Modified: source
===================================================================
--- source	2012-02-15 18:58:43 UTC (rev 6996)
+++ source	2012-02-15 19:09:32 UTC (rev 6997)
@@ -110415,18 +110415,20 @@
     <dl>
      <dt>Magic number(s):</dt>
      <dd>
-      <p>WebVTT files all begin with one of the following byte sequences:</p>
+      <p>WebVTT files all begin with one of the following byte sequences (where "EOF" means the end of the file):</p>
       <ul class="brief">
        <li> EF BB BF 57 45 42 56 54 54 0A
        <li> EF BB BF 57 45 42 56 54 54 0D
        <li> EF BB BF 57 45 42 56 54 54 20
        <li> EF BB BF 57 45 42 56 54 54 09
+       <li> EF BB BF 57 45 42 56 54 54 EOF
        <li>          57 45 42 56 54 54 0A
        <li>          57 45 42 56 54 54 0D
        <li>          57 45 42 56 54 54 20
        <li>          57 45 42 56 54 54 09
+       <li>          57 45 42 56 54 54 EOF
       </ul>
-      <p class="note">(An optional UTF-8 BOM, the ASCII string "<code title="">WEBVTT</code>", and finally a space, tab, or line break.)
+      <p class="note">(An optional UTF-8 BOM, the ASCII string "<code title="">WEBVTT</code>", and finally a space, tab, line break, or the end of the file.)
      </dd>
      <dt>File extension(s):</dt>
      <dd>"<code title="">vtt</code>"</dd>




More information about the Commit-Watchers mailing list