<?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>14298</bug_id>
          
          <creation_ts>2011-09-27 09:15:22 +0000</creation_ts>
          <short_desc>&lt;track&gt; webvtt parser step 31 &quot;If line is the empty string, then discard cue and jump to the step labeled end.&quot; is redundant with step 34.</short_desc>
          <delta_ts>2012-07-18 18:47:06 +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>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#parsing-0</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57401</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-09-27 09:15:22 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/complete/the-iframe-element.html
Multipage: http://www.whatwg.org/C#parsing-0
Complete: http://www.whatwg.org/c#parsing-0

Comment:
&lt;track&gt; webvtt parser step 31 &quot;If line is the empty string, then discard cue
and jump to the step labeled end.&quot; is redundant with step 34.

Posted from: 2001:4c28:a030:30:223:32ff:fec2:96fa by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.21 Safari/535.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57648</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-02 16:48:02 +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: No, if the line is empty but the file is not (i.e. the next character is a CR or LF) then 31 will happen but 34 would not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58051</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-10-11 14:53:14 +0000</bug_when>
    <thetext>In step 19, any number of CR/LF characters are consumed. In step 30, any number of characters that are not CR/LF are consumed into line, so if line is empty, we must be at the end of the input. If so, steps 32-34 will do the same thing as step 31.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58075</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-11 22:38:13 +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: You&apos;re right, my bad. I&apos;ll move steps 19 and 31 closer together so that&apos;s more obvious.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58076</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-11 22:38:42 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6659.
Check-in comment: simplify the parser a little to avoid a redundant step and make it clear why it&apos;s redundant
http://html5.org/tools/web-apps-tracker?from=6658&amp;to=6659</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>