script: Create structures for TextTrack API

Fill out the basics for the WebIDLs for the following:

  - TextTrack
  - TextTrackCue
  - TextTrackCueList
  - TextTrackList
This commit is contained in:
Dan Robertson 2018-12-08 04:00:38 +00:00
parent 92962de76c
commit 62a9bfa0c5
No known key found for this signature in database
GPG key ID: 45C4A652C47E42A5
12 changed files with 571 additions and 2 deletions

View file

@ -61,6 +61,6 @@ interface HTMLMediaElement : HTMLElement {
// tracks
// readonly attribute AudioTrackList audioTracks;
// readonly attribute VideoTrackList videoTracks;
// readonly attribute TextTrackList textTracks;
// TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = "");
readonly attribute TextTrackList textTracks;
TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = "");
};