<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14487</bug_id>
          
          <creation_ts>2011-10-17 22:45:54 +0000</creation_ts>
          <short_desc>&lt;track&gt; accept more white space characters as cue timing separators</short_desc>
          <delta_ts>2012-07-18 18:39:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58308</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-10-17 22:45:54 +0000</bug_when>
    <thetext>Right now http://www.whatwg.org/specs/web-apps/current-work/webvtt.html#webvtt-cue-timings only accepts the U+0020 SPACE character as a separator between &quot;--&gt;&quot; and the timestamps. When authoring, the TAB character is often visually indistinguishable from the SPACE character. We could be more lenient towards hand-authored content if we allowed the TAB character as a separator, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58803</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-24 23:48:51 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58804</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-24 23:49:13 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6741.
Check-in comment: Allow tabs and multiple spaces between timestamps and the --&gt; in WebVTT (it was already parsed that way anyway).
http://html5.org/tools/web-apps-tracker?from=6740&amp;to=6741</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58820</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-10-25 02:11:17 +0000</bug_when>
    <thetext>Lets also allow form feed characters then just like with HTML (the parser already parses them).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58822</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-10-25 02:20:23 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Lets also allow form feed characters then just like with HTML (the parser
&gt; already parses them).

As in: start time, --&gt; and end time all on separate lines?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58823</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-25 02:25:53 +0000</bug_when>
    <thetext>Come again?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58826</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-10-25 02:27:44 +0000</bug_when>
    <thetext>CR and LF are treated as newline separators by the parser. When collecting timings and settings data SPACE, TAB, and FF are treated as whitespace (it uses the definition &quot;space characters&quot; which is SPACE, TAB, FF, CR, and LF).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58850</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-25 04:25:40 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: We discussed this on IRC, and decided that allowing form feeds wasn&apos;t a win.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58972</commentid>
    <comment_count>8</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-10-26 03:56:14 +0000</bug_when>
    <thetext>A small note: the parser in the spec currently allows *0 or more* space or tab characters, not *1 or more* space or tab characters as specified in Ian&apos;s change.  The WebKit implementation now enforces at least 1 space or tab character (so that [time]--&gt;[time] without any spaces or tabs is not allowed). Clarification is requested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59003</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-26 20:40:56 +0000</bug_when>
    <thetext>I don&apos;t understand. What is it you are suggesting change, and why? As far as I can tell, the spec is as intended (authors are required to give one or more space or tabs between the timestamp and the --&gt;, but the parser accepts spaces, tabs, and form feeds and does silent error-correction if the spaces are omitted entirely).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59060</commentid>
    <comment_count>10</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-10-27 09:29:24 +0000</bug_when>
    <thetext>The problem is with the parsing of settings. For values it e.g. collects characters that are not spaces, but then does not continue to collect characters that are spaces. I corrected this by before setting &quot;setting&quot; to the character at the current position (step 3 in the specification) collecting space characters and dropping them on the floor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59070</commentid>
    <comment_count>11</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-10-27 13:02:18 +0000</bug_when>
    <thetext>Ignore comment 10. That is bug 14572. My bad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59192</commentid>
    <comment_count>12</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-10-29 10:20:50 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; I don&apos;t understand. What is it you are suggesting change, and why? As far as I
&gt; can tell, the spec is as intended (authors are required to give one or more
&gt; space or tabs between the timestamp and the --&gt;, but the parser accepts spaces,
&gt; tabs, and form feeds and does silent error-correction if the spaces are omitted
&gt; entirely).

I guess this works as long as we insist on 3 digits for the milliseconds. Resetting to RESOLVED-FIXED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>