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 17469 - <track> Removing a cue should disassociate the cue from the track. "Once a text track cue is associated with a particular text track, the association is permanent."
Summary: <track> Removing a cue should disassociate the cue from the track. "Once a te...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-12 12:07 UTC by contributor
Modified: 2013-06-06 07:47 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2012-06-12 12:07:56 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#text-track-model
Complete: http://www.whatwg.org/c#text-track-model

Comment:
<track> Removing a cue should disassociate the cue from the track. "Once a
text track cue is associated with a particular text track, the association is
permanent."

Posted from: 2001:4c28:a030:30:8d0c:6db2:d88b:2577 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.229 Version/11.64
Comment 1 Simon Pieters 2012-06-12 12:14:34 UTC
We think the association between cue and track should be dropped when the cue is removed. It should be possible to move a cue between tracks and between videos. This would simplify our impl and remove restrictions for authors. At least for out-of-band cues. (If certain restrictions make sense for in-band cues, that's fine; we haven't implemented that yet and don't have a proposal for how they should behave exactly at this point.)
Comment 2 Simon Pieters 2012-06-19 14:58:12 UTC
addCue and removeCue should never throw InvalidStateError (at least for out-of-band cues).
Comment 3 contributor 2012-07-18 17:47:05 UTC
This bug was cloned to create bug 18235 as part of operation convergence.
Comment 4 Ian 'Hixie' Hickson 2012-09-11 22:46:49 UTC
I originally did this so that the DOM API could just expose underlying data, so that you could use a standard library and expose its data without having to worry about mutating the library's data structures. Same with why the tracks weren't mutable.

But if it's easier the other way, sure... I removed the entire concept of cue association.
Comment 5 Silvia Pfeiffer 2013-06-06 07:47:43 UTC
Note: change applied in http://html5.org/tools/web-apps-tracker?from=7327&to=7328