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 14550 - <track> Always start a new cue when seeing a line containing "-->"
Summary: <track> Always start a new cue when seeing a line containing "-->"
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 blocker
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
Depends on:
Reported: 2011-10-24 11:29 UTC by contributor
Modified: 2012-07-18 18:42 UTC (History)
4 users (show)

See Also:


Description contributor 2011-10-24 11:29:17 UTC

Always start a new cue when seeing a line containing "-->"

Posted from:
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.5.8; U; en) Presto/2.9.168 Version/11.52
Comment 1 Simon Pieters 2011-10-24 11:35:56 UTC

To match author intention and get a better user experience, we should always start a new cue when seeing a line containing "-->". If the author wants "-->" in cue data, then it needs to be escaped as "--&gt;". I also suggest we do this in the "headers" part of the file, since I expect it will be roughly equally common to forget a newline there as between cues.
Comment 2 Ian 'Hixie' Hickson 2011-10-25 23:20:46 UTC
EDITOR'S RESPONSE: This is an Editor'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:

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 3 contributor 2011-10-25 23:21:24 UTC
Checked in as WHATWG revision r6758.
Check-in comment: Make the WebVTT parser a bit more forgiving: data suggests that we should always start a cue if we hit a line that contains the magic string -->.