<?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>15836</bug_id>
          
          <creation_ts>2012-02-02 00:16:18 +0000</creation_ts>
          <short_desc>Missing xref placeholder for &quot;split a string on spaces&quot; in WebVTT</short_desc>
          <delta_ts>2012-10-09 19:10:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>TextTracks CG</product>
          <component>WebVTT</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>glenn</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-texttracks</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63558</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-02-02 00:16:18 +0000</bug_when>
    <thetext>WebKit have implemented tolerating whitespace on the cue setting such that spaces between cue names and values (behind the colon) are ignored.

Basically, in http://dev.w3.org/html5/webvtt/#parse-the-webvtt-settings between steps 2 and 3 there is a &quot;skip whitespace&quot; (except that we now can&apos;t leave step 1 as is any more and have to do explicit parsing string by string).

Should this be a WebKit bug or should we be more generous in the spec?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63589</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-02-02 08:29:33 +0000</bug_when>
    <thetext>I agree. It&apos;s natural to type a space after a colon. Many do it in CSS and JS where it is tolerated. I think I have reported this before, but I can&apos;t find it right now (though I found annevk asking for this also in IRC).

IIRC, Hixie WONTFIXed my suggestion because he wanted settings to be whitespace-*separated*. I don&apos;t understand why that is desirable, and would rather support a syntax that authors write naturally.

I&apos;m OK with not skipping whitespace before the colon, but I&apos;d also be OK with doing that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67065</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-04-25 21:48:59 +0000</bug_when>
    <thetext>These settings are, as Simon says, space-separated tokens. If you put a space after the colon, then it&apos;s a separate token.

This isn&apos;t like CSS; in CSS, properties are semi-colon separated. It&apos;s not like JS; in JS, fields are comma-separated.

Here, they are space-separated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67206</commentid>
    <comment_count>3</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-04-30 23:50:05 +0000</bug_when>
    <thetext>OK, apparently WebKit is actually parsing it exactly as you say.

However, at http://dev.w3.org/html5/webvtt/#parse-the-webvtt-settings we have the sentence &quot;splitting input on spaces&quot; (which incidentally is not linking anywhere but has a green underline). There is nothing actually describing what that means. It should likely accept both spaces and horizontal tabs as separators. Webkit in fact tolerates an infinite number of &apos; &apos; and &apos;\t&apos; as separators.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67208</commentid>
    <comment_count>4</comment_count>
    <who name="Glenn Maynard">glenn</who>
    <bug_when>2012-05-01 00:02:11 +0000</bug_when>
    <thetext>(In reply to comment #3)

&gt; However, at http://dev.w3.org/html5/webvtt/#parse-the-webvtt-settings we have
&gt; the sentence &quot;splitting input on spaces&quot; (which incidentally is not linking
&gt; anywhere but has a green underline). There is nothing actually describing what
&gt; that means. It should likely accept both spaces and horizontal tabs as
&gt; separators. Webkit in fact tolerates an infinite number of &apos; &apos; and &apos;\t&apos; as
&gt; separators.

That&apos;s http://dev.w3.org/html5/spec/single-page.html#split-a-string-on-spaces.  I think this is missing from 2.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67209</commentid>
    <comment_count>5</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-05-01 00:04:46 +0000</bug_when>
    <thetext>OK, let&apos;s fix this link then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71358</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-07-24 05:58:02 +0000</bug_when>
    <thetext>I really wish we hadn&apos;t pulled this stuff out of the HTML spec where it belongs, it&apos;s just going to keep causing these problems.

But yeah, I&apos;ll add that &lt;dfn&gt; to 2.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75719</commentid>
    <comment_count>7</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-10-09 19:10:22 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7445.
Check-in comment: Fix some cross-reference issues.
http://html5.org/tools/web-apps-tracker?from=7444&amp;to=7445</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>