[Bug 17319] <track> Sort cues by insertion order, not creation order

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17319

--- Comment #1 from Simon Pieters <simonp@opera.com> 2012-06-05 09:34:38 UTC ---
"any cues with identical end times must be sorted in the order they were
created (so e.g. for cues from a WebVTT file, that would be the order in which
the cues were listed in the file)"

Order they were created seems wrong for DOM-created cues. It should be in the
order they were added with addCue()

var c1 = new TextTrackCue(...); var c2 = new TextTrackCue(...);
cues.addCue(c2); cues.addCue(c1); // order should be c2, c1
cues.removeCue(c2); cues.addCue(c2); // order should now be c1, c2

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 5 June 2012 09:34:46 UTC