Definition
HTML Standard defines HTMLScriptElement
[Exposed=Window]
interface HTMLScriptElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, ReflectURL] attribute USVString src;
[CEReactions, Reflect] attribute boolean noModule;
[CEReactions] attribute boolean async;
[CEReactions, Reflect] attribute boolean defer;
[SameObject, PutForwards=value, Reflect] readonly attribute DOMTokenList blocking;
[CEReactions] attribute DOMString? crossOrigin;
[CEReactions] attribute DOMString referrerPolicy;
[CEReactions, Reflect] attribute DOMString integrity;
[CEReactions] attribute DOMString fetchPriority;
[CEReactions] attribute DOMString text;
static boolean supports(DOMString type);
// also has obsolete members
};
partial interface HTMLScriptElement {
[CEReactions, Reflect] attribute DOMString charset;
[CEReactions, Reflect] attribute DOMString event;
[CEReactions, Reflect="for"] attribute DOMString htmlFor;
};
This interface is extended in the following specifications:
Consolidated IDL (across mixin and partials)
[Exposed=Window]
interface HTMLScriptElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, ReflectURL] attribute USVString src;
[CEReactions, Reflect] attribute boolean noModule;
[CEReactions] attribute boolean async;
[CEReactions, Reflect] attribute boolean defer;
[SameObject, PutForwards=value, Reflect] readonly attribute DOMTokenList blocking;
[CEReactions] attribute DOMString? crossOrigin;
[CEReactions] attribute DOMString referrerPolicy;
[CEReactions, Reflect] attribute DOMString integrity;
[CEReactions] attribute DOMString fetchPriority;
[CEReactions] attribute DOMString text;
static boolean supports(DOMString type);
[CEReactions, Reflect] attribute DOMString charset;
[CEReactions, Reflect] attribute DOMString event;
[CEReactions, Reflect="for"] attribute DOMString htmlFor;
[CEReactions, SecureContext] attribute USVString attributionSrc;
// also has obsolete members
};