mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb/HTML: Implement TextTrackCue idl interface
This commit is contained in:
parent
e5877cda61
commit
0b2449d8d2
Notes:
github-actions[bot]
2024-09-24 22:50:09 +00:00
Author: https://github.com/jamierocks
Commit: 0b2449d8d2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1494
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/tcl3 ✅
8 changed files with 174 additions and 0 deletions
15
Userland/Libraries/LibWeb/HTML/TextTrackCue.idl
Normal file
15
Userland/Libraries/LibWeb/HTML/TextTrackCue.idl
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue