diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.idl
index 34c572bf3a3..513a2574f37 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.idl
@@ -4,7 +4,8 @@
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement
[Exposed=Window]
interface HTMLAnchorElement : HTMLElement {
- // FIXME: [HTMLConstructor] constructor();
+
+ [HTMLConstructor] constructor();
[Reflect] attribute DOMString target;
[Reflect] attribute DOMString download;
@@ -20,6 +21,7 @@ interface HTMLAnchorElement : HTMLElement {
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString rev;
[Reflect] attribute DOMString shape;
+
};
HTMLAnchorElement includes HTMLHyperlinkElementUtils;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl
index 148e7f2e2ca..0e15a6f89fc 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl
@@ -4,7 +4,8 @@
// https://html.spec.whatwg.org/multipage/image-maps.html#htmlareaelement
[Exposed=Window]
interface HTMLAreaElement : HTMLElement {
- // FIXME: [HTMLConstructor] constructor();
+
+ [HTMLConstructor] constructor();
// FIXME: [CEReactions] attribute DOMString alt;
// FIXME: [CEReactions] attribute DOMString coords;
@@ -18,6 +19,7 @@ interface HTMLAreaElement : HTMLElement {
// Obsolete
[Reflect=nohref] attribute boolean noHref;
+
};
HTMLAreaElement includes HTMLHyperlinkElementUtils;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.idl
index eab8f5946b0..d4fbc9e8906 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLAudioElement.idl
@@ -2,5 +2,5 @@
[Exposed=Window, LegacyFactoryFunction=Audio(optional DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {
- // FIXME: [HTMLConstructor] constructor();
+ [HTMLConstructor] constructor();
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBRElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLBRElement.idl
index 870ef98bbed..c8b6e7f19ee 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLBRElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLBRElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLBRElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString clear;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.idl
index 5cdf64f1133..6870bd24baf 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLBaseElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[CEReactions] attribute USVString href;
[Reflect] attribute DOMString target;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.idl
index 483c59dc575..fbca0032285 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.idl
@@ -5,6 +5,8 @@
[Exposed=Window]
interface HTMLBodyElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[LegacyNullToEmptyString, Reflect] attribute DOMString text;
[LegacyNullToEmptyString, Reflect] attribute DOMString link;
[LegacyNullToEmptyString, Reflect=vlink] attribute DOMString vLink;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.idl
index 76e7e13815a..996b0a62953 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLButtonElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect=formnovalidate] attribute boolean formNoValidate;
[Reflect=formtarget] attribute DOMString formTarget;
[Reflect] attribute DOMString name;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl
index cdf9f2281c2..2731b0aded1 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl
@@ -8,6 +8,8 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
[Exposed=Window]
interface HTMLCanvasElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
RenderingContext? getContext(DOMString contextId, optional any options = null);
attribute unsigned long width;
attribute unsigned long height;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDListElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDListElement.idl
index ebba839fdfc..b50faf21304 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLDListElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLDListElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLDListElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean compact;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDataElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDataElement.idl
index 18ab60228e4..fd296285759 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLDataElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLDataElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLDataElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString value;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.idl
index 0396a370b80..7044b6395ce 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLDataListElement.idl
@@ -4,6 +4,6 @@
[Exposed=Window]
interface HTMLDataListElement : HTMLElement {
-
+ [HTMLConstructor] constructor();
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.idl
index 3afb2032461..b5f5678f199 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLDetailsElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean open;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.idl
index e0c8b5fc7d4..2842151af56 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLDialogElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean open;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl
index 30cada44635..19681d9dc8c 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLDirectoryElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean compact;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDivElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDivElement.idl
index 7aa5e651a0e..a925b777e50 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLDivElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLDivElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLDivElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString align;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl
index 6bc60b41a5d..7313dba7b9c 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl
@@ -6,6 +6,8 @@
[Exposed=Window]
interface HTMLElement : Element {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString title;
[Reflect] attribute DOMString lang;
attribute DOMString dir;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.idl
index 45bc6a75f3c..eb75d3f6f28 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLEmbedElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString type;
[Reflect] attribute DOMString width;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl
index 6b40bf2daa3..4b75e09bc7d 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLFieldSetElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
readonly attribute DOMString type;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl
index f2697772f76..e992ab5b9bd 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLFontElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[LegacyNullToEmptyString, Reflect] attribute DOMString color;
[Reflect] attribute DOMString face;
[Reflect] attribute DOMString size;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl
index 4f23124d1ad..4ec5d541c6e 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl
@@ -5,6 +5,8 @@
[Exposed=Window]
interface HTMLFormElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString rel;
[Reflect=accept-charset] attribute DOMString acceptCharset;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl
index 76221edf047..7e0a900fc16 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLFrameElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString scrolling;
[Reflect] attribute DOMString src;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl
index d0ca96b1d3e..e35f86a5460 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl
@@ -5,6 +5,8 @@
[Exposed=Window]
interface HTMLFrameSetElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString cols;
[Reflect] attribute DOMString rows;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHRElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLHRElement.idl
index 4304dc2a9c6..c08dc495d47 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLHRElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLHRElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLHRElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString color;
[Reflect=noshade] attribute boolean noShade;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.idl
index 740eff023e7..f937105e063 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLHeadElement.idl
@@ -4,6 +4,6 @@
[Exposed=Window]
interface HTMLHeadElement : HTMLElement {
-
+ [HTMLConstructor] constructor();
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.idl
index f43100569d5..bdac8c43913 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLHeadingElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString align;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.idl
index 9ade7f117da..37ecc58e7db 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLHtmlElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString version;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl
index 0ae7892f982..1e6e0cd5546 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl
@@ -5,6 +5,8 @@
[Exposed=Window]
interface HTMLIFrameElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString srcdoc;
[Reflect] attribute DOMString name;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
index e33167770e0..3cb36a8493a 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString alt;
[Reflect] attribute DOMString srcset;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl
index d79040bb512..328037046d9 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl
@@ -6,6 +6,8 @@
[Exposed=Window]
interface HTMLInputElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
readonly attribute HTMLFormElement? form;
attribute FileList? files;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLIElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLLIElement.idl
index 6223d5ddb0e..6b4490f05d4 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLLIElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLLIElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLLIElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString type;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.idl
index 84f9a6e2c4f..0e4387355cf 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLLabelElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect=for] attribute DOMString htmlFor;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.idl
index d6f67372624..4fdc50d2922 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLLegendElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString align;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl
index cadbe6a9e6f..2c75f2f958d 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLLinkElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString href;
[Reflect] attribute DOMString hreflang;
[Reflect] attribute DOMString integrity;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMapElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMapElement.idl
index 6d77f934a23..516c58c225b 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLMapElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLMapElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLMapElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString name;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl
index 88b46b67480..da94944b6c8 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLMarqueeElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString behavior;
[Reflect=bgcolor] attribute DOMString bgColor;
[Reflect] attribute DOMString direction;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.idl
index 77c167998e5..82ecd13687d 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLMenuElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean compact;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.idl
index 90e9b8f654c..fb16a51468b 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLMetaElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString content;
[Reflect=http-equiv] attribute DOMString httpEquiv;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.idl
index 1da3b094aab..a491868f871 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLMeterElement.idl
@@ -4,6 +4,6 @@
[Exposed=Window]
interface HTMLMeterElement : HTMLElement {
-
+ [HTMLConstructor] constructor();
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLModElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLModElement.idl
index 2f04f512ac2..8c2ed2a87f4 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLModElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLModElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLModElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute USVString cite;
[Reflect=datetime] attribute DOMString dateTime;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOListElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLOListElement.idl
index 7ba8ae4ca14..da4fbf2d28e 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLOListElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLOListElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLOListElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean reversed;
[Reflect] attribute DOMString type;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl
index d5ce7799f6c..fe2ef6bc911 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl
@@ -5,6 +5,8 @@
[Exposed=Window]
interface HTMLObjectElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[CEReactions] attribute DOMString data;
[Reflect] attribute DOMString type;
[Reflect] attribute DOMString name;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl
index dd76d5822c6..f810206d773 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLOptGroupElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean disabled;
[Reflect] attribute DOMString label;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.idl
index d3fbc9f0fe8..9ff5ac28124 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
interface HTMLOptionElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean disabled;
[Reflect=selected] attribute boolean defaultSelected;
attribute boolean selected;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.idl
index 468da6cc092..7768b424841 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLOutputElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLOutputElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
readonly attribute DOMString type;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.idl
index 85b4499732b..80651af3fe2 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLParagraphElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString align;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLParamElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLParamElement.idl
index 10f55556f8a..732845617a8 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLParamElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLParamElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLParamElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString value;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.idl
index 74120dadeb4..c90578c870f 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLPictureElement.idl
@@ -4,6 +4,6 @@
[Exposed=Window]
interface HTMLPictureElement : HTMLElement {
-
+ [HTMLConstructor] constructor();
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLPreElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLPreElement.idl
index e94e676070e..745dfd0c813 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLPreElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLPreElement.idl
@@ -4,6 +4,6 @@
[Exposed=Window]
interface HTMLPreElement : HTMLElement {
-
+ [HTMLConstructor] constructor();
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.idl
index 18ad7d0b38c..59071ba6211 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLProgressElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLProgressElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[CEReactions] attribute double value;
[CEReactions] attribute double max;
readonly attribute double position;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.idl
index 522df0a5442..8b1957cf633 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLQuoteElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString cite;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl
index 72648dfbff1..3a7807d7ed5 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLScriptElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString type;
[Reflect=nomodule] attribute boolean noModule;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl
index b7801b6811a..6afbd9f7dff 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl
@@ -5,6 +5,8 @@
[Exposed=Window]
interface HTMLSelectElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean disabled;
[Reflect] attribute boolean multiple;
[Reflect] attribute boolean required;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.idl
index 2087cb1f6e2..d12bd925289 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLSlotElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString name;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl
index bb7d3d08914..55f6235d470 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLSourceElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString type;
[Reflect] attribute DOMString srcset;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.idl
index cefaa91d9b3..b005e86acef 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLSpanElement.idl
@@ -4,6 +4,6 @@
[Exposed=Window]
interface HTMLSpanElement : HTMLElement {
-
+ [HTMLConstructor] constructor();
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl
index a3ade645872..f9a306be7c7 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl
@@ -5,7 +5,7 @@
// https://html.spec.whatwg.org/multipage/semantics.html#htmlstyleelement
[Exposed=Window]
interface HTMLStyleElement : HTMLElement {
- // FIXME: [HTMLConstructor] constructor();
+ [HTMLConstructor] constructor();
// FIXME: attribute boolean disabled;
[Reflect] attribute DOMString media;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl
index 91557403340..e572bf0c6a6 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLTableCaptionElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString align;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl
index 6bc4ad93381..32c1bc8e0c7 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLTableCellElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
attribute unsigned long colSpan;
attribute unsigned long rowSpan;
[Reflect] attribute DOMString headers;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl
index 70680e4e655..ab5fb93f30d 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLTableColElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString align;
[Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl
index 02987f14273..7e7195c407e 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl
@@ -8,6 +8,8 @@
[Exposed=Window]
interface HTMLTableElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
attribute HTMLTableCaptionElement? caption;
HTMLTableCaptionElement createCaption();
undefined deleteCaption();
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.idl
index b2e205cf79a..28289dbbd52 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.idl
@@ -6,6 +6,8 @@
[Exposed=Window]
interface HTMLTableRowElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString align;
[Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl
index ac9e1eeb8b1..f0416da2036 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl
@@ -6,6 +6,8 @@
[Exposed=Window]
interface HTMLTableSectionElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString align;
[Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.idl
index 8783e48c2b2..7fe2aa8a2bb 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.idl
@@ -5,6 +5,8 @@
[Exposed=Window]
interface HTMLTemplateElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
readonly attribute DocumentFragment content;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl
index 2490d10aef2..2191352b948 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLTextAreaElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString placeholder;
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString wrap;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.idl
index c09f5087012..2581ada6cf0 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLTimeElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect=datetime] attribute DOMString dateTime;
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.idl
index 314cd0c5712..bbd34cfb5fc 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTitleElement.idl
@@ -4,6 +4,6 @@
[Exposed=Window]
interface HTMLTitleElement : HTMLElement {
-
+ [HTMLConstructor] constructor();
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl
index bcaeb8a47af..22feb40ec0c 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLTrackElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString srclang;
[Reflect] attribute DOMString label;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLUListElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLUListElement.idl
index cc8ddad5e89..47f9d03c227 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLUListElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLUListElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLUListElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute boolean compact;
[Reflect] attribute DOMString type;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.idl
index 217d78d5668..3eb25dbfa42 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.idl
@@ -4,6 +4,6 @@
[Exposed=Window]
interface HTMLUnknownElement : HTMLElement {
-
+ // Note: intentionally no [HTMLConstructor]
};
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl
index bf1229871d9..b5020bc9785 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl
@@ -4,6 +4,8 @@
[Exposed=Window]
interface HTMLVideoElement : HTMLMediaElement {
+ [HTMLConstructor] constructor();
+
[Reflect] attribute DOMString poster;
[Reflect=playsinline] attribute boolean playsInline;