mirror of
https://github.com/servo/servo.git
synced 2025-06-08 08:33:26 +00:00
Fill out the basics for the WebIDLs for the following: - TextTrack - TextTrackCue - TextTrackCueList - TextTrackList
18 lines
548 B
Text
18 lines
548 B
Text
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://html.spec.whatwg.org/multipage/#texttrackcue
|
|
|
|
[Exposed=Window]
|
|
interface TextTrackCue : EventTarget {
|
|
readonly attribute TextTrack? track;
|
|
|
|
attribute DOMString id;
|
|
attribute double startTime;
|
|
attribute double endTime;
|
|
attribute boolean pauseOnExit;
|
|
|
|
attribute EventHandler onenter;
|
|
attribute EventHandler onexit;
|
|
};
|