<?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>20723</bug_id>
          
          <creation_ts>2013-01-21 09:24:03 +0000</creation_ts>
          <short_desc>WebVTT: Error in definition of &quot;WebVTT file using only nested cues&quot;</short_desc>
          <delta_ts>2014-05-16 08:20:15 +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="Lawrence Forooghian">lawrence.forooghian</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <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>81626</commentid>
    <comment_count>0</comment_count>
    <who name="Lawrence Forooghian">lawrence.forooghian</who>
    <bug_when>2013-01-21 09:24:03 +0000</bug_when>
    <thetext>The January 3rd, 2013 version of the spec says:

A WebVTT file &lt;http://dev.w3.org/html5/webvtt/#webvtt-file&gt; whose cues all
have an end time offset x greater than or equal to the end time offsets of
all the cues whose start time offsets are less than x is said to be a
WebVTT file using only nested cues.

An example of such a file is then given, starting as follows:

WEBVTT

00:00.000 --&gt; 01:24.000
Introduction

00:00.000 --&gt; 00:44.000
Topics


If you look at the second cue (x = 00:44.000), then the first cue is a cue
whose start time is less than x (it&apos;s 00:00.000), however x is not greater
than or equal to the end time offset of the first cue (which is 01:24.000).

I think that a correct definition would be:

A WebVTT file which, given any two cues with start and end time offsets (x1, y1) and (x2, y2) respectively, has either (x1 &lt;= x2 and y1 &gt;= y2) or (x1 &gt;= x2 and y1 &lt;= y2), is said to be a WebVTT file using only nested cues.

(I&apos;m not suggesting that this be the exact wording.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90411</commentid>
    <comment_count>1</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-07-08 03:30:56 +0000</bug_when>
    <thetext>Fixed in
https://dvcs.w3.org/hg/text-tracks/rev/10b7ff6505ca
and
https://dvcs.w3.org/hg/text-tracks/rev/19a5da54cec6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106139</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2014-05-16 08:20:15 +0000</bug_when>
    <thetext>Follow-up bug 25737</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>