[Bug 16701] New: The text track cue active flag should be set before the cuechange event is fired.

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

           Summary: The text track cue active flag should be set before
                    the cuechange event is fired.
           Product: TextTracks CG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebVTT
        AssignedTo: ian@hixie.ch
        ReportedBy: annacc@google.com
         QAContact: dave.null@w3.org
                CC: mike@w3.org, public-texttracks@w3.org


When updating the active text track cues, the cuechange event is fired before
setting (and unsetting) the active flag on the cues before firing the cuechange
event.  Because of this, activeCues() may not return an accurate set of cues at
the moment that the cuechange event is received.

Specifically, I propose that steps 15 and 16 be swapped under "When the current
playback position of a media element changes ..." so that the active flag is
first set and then the cuechange event is fired.

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

Received on Wednesday, 11 April 2012 17:53:28 UTC