mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
22 lines
446 B
Plaintext
22 lines
446 B
Plaintext
#import <HTML/HTMLElement.idl>
|
|
|
|
enum CanPlayTypeResult {
|
|
"",
|
|
"maybe",
|
|
"probably"
|
|
};
|
|
|
|
// https://html.spec.whatwg.org/multipage/media.html#htmlmediaelement
|
|
[Exposed=Window]
|
|
interface HTMLMediaElement : HTMLElement {
|
|
|
|
[Reflect] attribute DOMString src;
|
|
|
|
[Reflect] attribute boolean autoplay;
|
|
[Reflect] attribute boolean loop;
|
|
|
|
[Reflect] attribute boolean controls;
|
|
|
|
CanPlayTypeResult canPlayType(DOMString type);
|
|
};
|