This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20723 - WebVTT: Error in definition of "WebVTT file using only nested cues"
Summary: WebVTT: Error in definition of "WebVTT file using only nested cues"
Status: RESOLVED FIXED
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-21 09:24 UTC by Lawrence Forooghian
Modified: 2014-05-16 08:20 UTC (History)
4 users (show)

See Also:


Attachments

Description Lawrence Forooghian 2013-01-21 09:24:03 UTC
The January 3rd, 2013 version of the spec says:

A WebVTT file <http://dev.w3.org/html5/webvtt/#webvtt-file> 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 --> 01:24.000
Introduction

00:00.000 --> 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'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 <= x2 and y1 >= y2) or (x1 >= x2 and y1 <= y2), is said to be a WebVTT file using only nested cues.

(I'm not suggesting that this be the exact wording.)
Comment 2 Philip Jägenstedt 2014-05-16 08:20:15 UTC
Follow-up bug 25737