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 16683 - WebVTT: Parser should drop cues having startTime > endTime
Summary: WebVTT: Parser should drop cues having startTime > endTime
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: This bug has no owner yet - up for the taking
Depends on:
Reported: 2012-04-10 13:31 UTC by vcarbune
Modified: 2012-04-25 22:51 UTC (History)
6 users (show)

See Also:


Description vcarbune 2012-04-10 13:31:14 UTC
The parsing rules currently allow cues with negative duration.

Since these cues do not represent proper cues and handling them the same as positive duration cues might generate an unexpected behavior, it would be better to drop them from the beginning, when the file is parsed.

Zero cues duration, however, should not be dropped, as they might represent instantaneous events for metadata tracks.