mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 03:02:27 -05:00
d767f14df8
This does _NOT_ correspond to anything in the IDL or ECMAScript spec, but is a custom extended attribute. We use it to define the "enumerated" values of an attribute
29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
#import <HTML/HTMLElement.idl>
|
|
#import <HTML/Scripting/Fetching.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/scripting.html#htmlscriptelement
|
|
[Exposed=Window]
|
|
interface HTMLScriptElement : HTMLElement {
|
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
[CEReactions, Reflect] attribute DOMString src;
|
|
[CEReactions, Reflect] attribute DOMString type;
|
|
[CEReactions, Reflect=nomodule] attribute boolean noModule;
|
|
// FIXME: [CEReactions] attribute boolean async;
|
|
[CEReactions, Reflect] attribute boolean defer;
|
|
[CEReactions, Reflect=crossorigin, Enumerated=CORSSettingsAttribute] attribute DOMString? crossOrigin;
|
|
// FIXME: [CEReactions] attribute DOMString text;
|
|
[CEReactions, Reflect] attribute DOMString integrity;
|
|
[CEReactions, Reflect=referrerpolicy] attribute DOMString referrerPolicy;
|
|
// FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
|
|
// FIXME: [CEReactions] attribute DOMString fetchPriority;
|
|
|
|
static boolean supports(DOMString type);
|
|
|
|
// Obsolete
|
|
[CEReactions, Reflect] attribute DOMString charset;
|
|
[CEReactions, Reflect] attribute DOMString event;
|
|
[CEReactions, Reflect=for] attribute DOMString htmlFor;
|
|
|
|
};
|