summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrikavin Ramkumar <srikavinramkumar@gmail.com>2023-03-23 03:48:52 -0400
committerAndreas Kling <kling@serenityos.org>2023-03-23 13:37:40 +0100
commit5c8be3b0721e2f5a8991c0cd6dd4dae34fd650d3 (patch)
tree927e7cf1a86f268843a2196d07e93c00981c1823
parentdaf421846c83ab1f748b33b52b1de1149d41c43c (diff)
downloadserenity-5c8be3b0721e2f5a8991c0cd6dd4dae34fd650d3.zip
LibWeb: Add missing constructors to HTMLElement IDLs
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.idl4
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl4
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLAudioElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLBRElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLBaseElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLBodyElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLButtonElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLDListElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLDataElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLDataListElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLDialogElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLDivElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLHRElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLHeadElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLLIElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLLabelElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLLegendElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLMapElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLMenuElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLMetaElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLMeterElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLModElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLOListElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLOptionElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLOutputElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLParamElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLPictureElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLPreElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLProgressElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLSlotElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLSpanElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTimeElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTitleElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLUListElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLUnknownElement.idl2
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl2
70 files changed, 132 insertions, 12 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLAnchorElement.idl
index 34c572bf3a..513a2574f3 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 148e7f2e2c..0e15a6f89f 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 eab8f5946b..d4fbc9e890 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 870ef98bbe..c8b6e7f19e 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 5cdf64f113..6870bd24ba 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 483c59dc57..fbca003228 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 76e7e13815..996b0a6295 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 cdf9f2281c..2731b0aded 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 ebba839fdf..b50faf2130 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 18ab60228e..fd29628575 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 0396a370b8..7044b6395c 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 3afb203246..b5f5678f19 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 e0c8b5fc7d..2842151af5 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 30cada4463..19681d9dc8 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 7aa5e651a0..a925b777e5 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 6bc60b41a5..7313dba7b9 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 45bc6a75f3..eb75d3f6f2 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 6b40bf2daa..4b75e09bc7 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 f2697772f7..e992ab5b9b 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 4f23124d1a..4ec5d541c6 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 76221edf04..7e0a900fc1 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 d0ca96b1d3..e35f86a546 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 4304dc2a9c..c08dc495d4 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 740eff023e..f937105e06 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 f43100569d..bdac8c4391 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 9ade7f117d..37ecc58e7d 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 0ae7892f98..1e6e0cd554 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 e33167770e..3cb36a8493 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 d79040bb51..328037046d 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 6223d5ddb0..6b4490f05d 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 84f9a6e2c4..0e4387355c 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 d6f6737262..4fdc50d292 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 cadbe6a9e6..2c75f2f958 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 6d77f934a2..516c58c225 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 88b46b6748..da94944b6c 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 77c167998e..82ecd13687 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 90e9b8f654..fb16a51468 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 1da3b094aa..a491868f87 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 2f04f512ac..8c2ed2a87f 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 7ba8ae4ca1..da4fbf2d28 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 d5ce7799f6..fe2ef6bc91 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 dd76d5822c..f810206d77 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 d3fbc9f0fe..9ff5ac2812 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 468da6cc09..7768b42484 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 85b4499732..80651af3fe 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 10f55556f8..732845617a 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 74120dadeb..c90578c870 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 e94e676070..745dfd0c81 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 18ad7d0b38..59071ba621 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 522df0a544..8b1957cf63 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 72648dfbff..3a7807d7ed 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 b7801b6811..6afbd9f7df 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 2087cb1f6e..d12bd92528 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 bb7d3d0891..55f6235d47 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 cefaa91d9b..b005e86ace 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 a3ade64587..f9a306be7c 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 9155740334..e572bf0c6a 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 6bc4ad9338..32c1bc8e0c 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 70680e4e65..ab5fb93f30 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 02987f1427..7e7195c407 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 b2e205cf79..28289dbbd5 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 ac9e1eeb8b..f0416da203 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 8783e48c2b..7fe2aa8a2b 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 2490d10aef..2191352b94 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 c09f508701..2581ada6cf 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 314cd0c571..bbd34cfb5f 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 bcaeb8a47a..22feb40ec0 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 cc8ddad5e8..47f9d03c22 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 217d78d566..3eb25dbfa4 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 bf1229871d..b5020bc978 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;