[Bug 14260] <track> "text tracks ready" and HTMLMediaElement.readyState

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

--- Comment #35 from Ian 'Hixie' Hickson <ian@hixie.ch> 2012-04-25 18:10:24 UTC ---
So we define a list of pending text tracks, which is initially empty. When a
parser-created media element is popped off the stack of open elements, and when
a non-parser-created media element's resource selection algorithm reaches a
stable state in step 2, the list of pending tracks is populated with all the
text tracks whose mode is not in the disabled state. Whenever a track element's
parent node changes, it is removed from any media element's list of pending
tracks. Whenever a new media resource is selected, any in-band text tracks from
the previous media resource are removed from the element's list of pending text
tracks. Whenever a text track in a media element's list of pending text tracks
change text track readiness state to loaded or failed to load, they are removed
from the media element's list of pending text tracks.

The text tracks of a media element are ready when both the media element's list
of pending text tracks is empty and either the element is not parser-created or
the media element has been popped off the stack of open elements.

And these steps are put into the relevant algorithms, not defined in one
paragraph like above.

That sound ok?

-- 
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 Wednesday, 25 April 2012 18:10:33 UTC