LibWeb/HTML: Implement TextTrackCue idl interface

This commit is contained in:
Jamie Mansfield 2024-09-19 19:41:57 +01:00 committed by Tim Ledbetter
commit 0b2449d8d2
Notes: github-actions[bot] 2024-09-24 22:50:09 +00:00
8 changed files with 174 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#import <DOM/EventTarget.idl>
// https://html.spec.whatwg.org/multipage/media.html#texttrackcue
[Exposed=Window]
interface TextTrackCue : EventTarget {
readonly attribute TextTrack? track;
attribute DOMString id;
attribute double startTime;
attribute unrestricted double endTime;
attribute boolean pauseOnExit;
attribute EventHandler onenter;
attribute EventHandler onexit;
};