1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 21:37:34 +00:00

LibWeb: Add missing constructors to HTMLElement IDLs

This commit is contained in:
Srikavin Ramkumar 2023-03-23 03:48:52 -04:00 committed by Andreas Kling
parent daf421846c
commit 5c8be3b072
70 changed files with 132 additions and 12 deletions

View file

@ -4,7 +4,8 @@
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement // https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement
[Exposed=Window] [Exposed=Window]
interface HTMLAnchorElement : HTMLElement { interface HTMLAnchorElement : HTMLElement {
// FIXME: [HTMLConstructor] constructor();
[HTMLConstructor] constructor();
[Reflect] attribute DOMString target; [Reflect] attribute DOMString target;
[Reflect] attribute DOMString download; [Reflect] attribute DOMString download;
@ -20,6 +21,7 @@ interface HTMLAnchorElement : HTMLElement {
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
[Reflect] attribute DOMString rev; [Reflect] attribute DOMString rev;
[Reflect] attribute DOMString shape; [Reflect] attribute DOMString shape;
}; };
HTMLAnchorElement includes HTMLHyperlinkElementUtils; HTMLAnchorElement includes HTMLHyperlinkElementUtils;

View file

@ -4,7 +4,8 @@
// https://html.spec.whatwg.org/multipage/image-maps.html#htmlareaelement // https://html.spec.whatwg.org/multipage/image-maps.html#htmlareaelement
[Exposed=Window] [Exposed=Window]
interface HTMLAreaElement : HTMLElement { interface HTMLAreaElement : HTMLElement {
// FIXME: [HTMLConstructor] constructor();
[HTMLConstructor] constructor();
// FIXME: [CEReactions] attribute DOMString alt; // FIXME: [CEReactions] attribute DOMString alt;
// FIXME: [CEReactions] attribute DOMString coords; // FIXME: [CEReactions] attribute DOMString coords;
@ -18,6 +19,7 @@ interface HTMLAreaElement : HTMLElement {
// Obsolete // Obsolete
[Reflect=nohref] attribute boolean noHref; [Reflect=nohref] attribute boolean noHref;
}; };
HTMLAreaElement includes HTMLHyperlinkElementUtils; HTMLAreaElement includes HTMLHyperlinkElementUtils;

View file

@ -2,5 +2,5 @@
[Exposed=Window, LegacyFactoryFunction=Audio(optional DOMString src)] [Exposed=Window, LegacyFactoryFunction=Audio(optional DOMString src)]
interface HTMLAudioElement : HTMLMediaElement { interface HTMLAudioElement : HTMLMediaElement {
// FIXME: [HTMLConstructor] constructor(); [HTMLConstructor] constructor();
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLBRElement : HTMLElement { interface HTMLBRElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString clear; [Reflect] attribute DOMString clear;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLBaseElement : HTMLElement { interface HTMLBaseElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions] attribute USVString href; [CEReactions] attribute USVString href;
[Reflect] attribute DOMString target; [Reflect] attribute DOMString target;

View file

@ -5,6 +5,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLBodyElement : HTMLElement { interface HTMLBodyElement : HTMLElement {
[HTMLConstructor] constructor();
[LegacyNullToEmptyString, Reflect] attribute DOMString text; [LegacyNullToEmptyString, Reflect] attribute DOMString text;
[LegacyNullToEmptyString, Reflect] attribute DOMString link; [LegacyNullToEmptyString, Reflect] attribute DOMString link;
[LegacyNullToEmptyString, Reflect=vlink] attribute DOMString vLink; [LegacyNullToEmptyString, Reflect=vlink] attribute DOMString vLink;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLButtonElement : HTMLElement { interface HTMLButtonElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect=formnovalidate] attribute boolean formNoValidate; [Reflect=formnovalidate] attribute boolean formNoValidate;
[Reflect=formtarget] attribute DOMString formTarget; [Reflect=formtarget] attribute DOMString formTarget;
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;

View file

@ -8,6 +8,8 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
[Exposed=Window] [Exposed=Window]
interface HTMLCanvasElement : HTMLElement { interface HTMLCanvasElement : HTMLElement {
[HTMLConstructor] constructor();
RenderingContext? getContext(DOMString contextId, optional any options = null); RenderingContext? getContext(DOMString contextId, optional any options = null);
attribute unsigned long width; attribute unsigned long width;
attribute unsigned long height; attribute unsigned long height;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLDListElement : HTMLElement { interface HTMLDListElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean compact; [Reflect] attribute boolean compact;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLDataElement : HTMLElement { interface HTMLDataElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString value; [Reflect] attribute DOMString value;
}; };

View file

@ -4,6 +4,6 @@
[Exposed=Window] [Exposed=Window]
interface HTMLDataListElement : HTMLElement { interface HTMLDataListElement : HTMLElement {
[HTMLConstructor] constructor();
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLDetailsElement : HTMLElement { interface HTMLDetailsElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean open; [Reflect] attribute boolean open;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLDialogElement : HTMLElement { interface HTMLDialogElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean open; [Reflect] attribute boolean open;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLDirectoryElement : HTMLElement { interface HTMLDirectoryElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean compact; [Reflect] attribute boolean compact;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLDivElement : HTMLElement { interface HTMLDivElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
}; };

View file

@ -6,6 +6,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLElement : Element { interface HTMLElement : Element {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString title; [Reflect] attribute DOMString title;
[Reflect] attribute DOMString lang; [Reflect] attribute DOMString lang;
attribute DOMString dir; attribute DOMString dir;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLEmbedElement : HTMLElement { interface HTMLEmbedElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src; [Reflect] attribute DOMString src;
[Reflect] attribute DOMString type; [Reflect] attribute DOMString type;
[Reflect] attribute DOMString width; [Reflect] attribute DOMString width;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLFieldSetElement : HTMLElement { interface HTMLFieldSetElement : HTMLElement {
[HTMLConstructor] constructor();
readonly attribute DOMString type; readonly attribute DOMString type;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLFontElement : HTMLElement { interface HTMLFontElement : HTMLElement {
[HTMLConstructor] constructor();
[LegacyNullToEmptyString, Reflect] attribute DOMString color; [LegacyNullToEmptyString, Reflect] attribute DOMString color;
[Reflect] attribute DOMString face; [Reflect] attribute DOMString face;
[Reflect] attribute DOMString size; [Reflect] attribute DOMString size;

View file

@ -5,6 +5,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLFormElement : HTMLElement { interface HTMLFormElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
[Reflect] attribute DOMString rel; [Reflect] attribute DOMString rel;
[Reflect=accept-charset] attribute DOMString acceptCharset; [Reflect=accept-charset] attribute DOMString acceptCharset;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLFrameElement : HTMLElement { interface HTMLFrameElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
[Reflect] attribute DOMString scrolling; [Reflect] attribute DOMString scrolling;
[Reflect] attribute DOMString src; [Reflect] attribute DOMString src;

View file

@ -5,6 +5,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLFrameSetElement : HTMLElement { interface HTMLFrameSetElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString cols; [Reflect] attribute DOMString cols;
[Reflect] attribute DOMString rows; [Reflect] attribute DOMString rows;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLHRElement : HTMLElement { interface HTMLHRElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
[Reflect] attribute DOMString color; [Reflect] attribute DOMString color;
[Reflect=noshade] attribute boolean noShade; [Reflect=noshade] attribute boolean noShade;

View file

@ -4,6 +4,6 @@
[Exposed=Window] [Exposed=Window]
interface HTMLHeadElement : HTMLElement { interface HTMLHeadElement : HTMLElement {
[HTMLConstructor] constructor();
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLHeadingElement : HTMLElement { interface HTMLHeadingElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLHtmlElement : HTMLElement { interface HTMLHtmlElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString version; [Reflect] attribute DOMString version;
}; };

View file

@ -5,6 +5,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLIFrameElement : HTMLElement { interface HTMLIFrameElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src; [Reflect] attribute DOMString src;
[Reflect] attribute DOMString srcdoc; [Reflect] attribute DOMString srcdoc;
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;

View file

@ -4,6 +4,8 @@
[Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)] [Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement { interface HTMLImageElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src; [Reflect] attribute DOMString src;
[Reflect] attribute DOMString alt; [Reflect] attribute DOMString alt;
[Reflect] attribute DOMString srcset; [Reflect] attribute DOMString srcset;

View file

@ -6,6 +6,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLInputElement : HTMLElement { interface HTMLInputElement : HTMLElement {
[HTMLConstructor] constructor();
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
attribute FileList? files; attribute FileList? files;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLLIElement : HTMLElement { interface HTMLLIElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString type; [Reflect] attribute DOMString type;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLLabelElement : HTMLElement { interface HTMLLabelElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect=for] attribute DOMString htmlFor; [Reflect=for] attribute DOMString htmlFor;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLLegendElement : HTMLElement { interface HTMLLegendElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLLinkElement : HTMLElement { interface HTMLLinkElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString href; [Reflect] attribute DOMString href;
[Reflect] attribute DOMString hreflang; [Reflect] attribute DOMString hreflang;
[Reflect] attribute DOMString integrity; [Reflect] attribute DOMString integrity;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLMapElement : HTMLElement { interface HTMLMapElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLMarqueeElement : HTMLElement { interface HTMLMarqueeElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString behavior; [Reflect] attribute DOMString behavior;
[Reflect=bgcolor] attribute DOMString bgColor; [Reflect=bgcolor] attribute DOMString bgColor;
[Reflect] attribute DOMString direction; [Reflect] attribute DOMString direction;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLMenuElement : HTMLElement { interface HTMLMenuElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean compact; [Reflect] attribute boolean compact;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLMetaElement : HTMLElement { interface HTMLMetaElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
[Reflect] attribute DOMString content; [Reflect] attribute DOMString content;
[Reflect=http-equiv] attribute DOMString httpEquiv; [Reflect=http-equiv] attribute DOMString httpEquiv;

View file

@ -4,6 +4,6 @@
[Exposed=Window] [Exposed=Window]
interface HTMLMeterElement : HTMLElement { interface HTMLMeterElement : HTMLElement {
[HTMLConstructor] constructor();
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLModElement : HTMLElement { interface HTMLModElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute USVString cite; [Reflect] attribute USVString cite;
[Reflect=datetime] attribute DOMString dateTime; [Reflect=datetime] attribute DOMString dateTime;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLOListElement : HTMLElement { interface HTMLOListElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean reversed; [Reflect] attribute boolean reversed;
[Reflect] attribute DOMString type; [Reflect] attribute DOMString type;

View file

@ -5,6 +5,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLObjectElement : HTMLElement { interface HTMLObjectElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions] attribute DOMString data; [CEReactions] attribute DOMString data;
[Reflect] attribute DOMString type; [Reflect] attribute DOMString type;
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLOptGroupElement : HTMLElement { interface HTMLOptGroupElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean disabled; [Reflect] attribute boolean disabled;
[Reflect] attribute DOMString label; [Reflect] attribute DOMString label;

View file

@ -4,6 +4,8 @@
[Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)] [Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
interface HTMLOptionElement : HTMLElement { interface HTMLOptionElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean disabled; [Reflect] attribute boolean disabled;
[Reflect=selected] attribute boolean defaultSelected; [Reflect=selected] attribute boolean defaultSelected;
attribute boolean selected; attribute boolean selected;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLOutputElement : HTMLElement { interface HTMLOutputElement : HTMLElement {
[HTMLConstructor] constructor();
readonly attribute DOMString type; readonly attribute DOMString type;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLParagraphElement : HTMLElement { interface HTMLParagraphElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLParamElement : HTMLElement { interface HTMLParamElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
[Reflect] attribute DOMString value; [Reflect] attribute DOMString value;

View file

@ -4,6 +4,6 @@
[Exposed=Window] [Exposed=Window]
interface HTMLPictureElement : HTMLElement { interface HTMLPictureElement : HTMLElement {
[HTMLConstructor] constructor();
}; };

View file

@ -4,6 +4,6 @@
[Exposed=Window] [Exposed=Window]
interface HTMLPreElement : HTMLElement { interface HTMLPreElement : HTMLElement {
[HTMLConstructor] constructor();
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLProgressElement : HTMLElement { interface HTMLProgressElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions] attribute double value; [CEReactions] attribute double value;
[CEReactions] attribute double max; [CEReactions] attribute double max;
readonly attribute double position; readonly attribute double position;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLQuoteElement : HTMLElement { interface HTMLQuoteElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString cite; [Reflect] attribute DOMString cite;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLScriptElement : HTMLElement { interface HTMLScriptElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src; [Reflect] attribute DOMString src;
[Reflect] attribute DOMString type; [Reflect] attribute DOMString type;
[Reflect=nomodule] attribute boolean noModule; [Reflect=nomodule] attribute boolean noModule;

View file

@ -5,6 +5,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLSelectElement : HTMLElement { interface HTMLSelectElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean disabled; [Reflect] attribute boolean disabled;
[Reflect] attribute boolean multiple; [Reflect] attribute boolean multiple;
[Reflect] attribute boolean required; [Reflect] attribute boolean required;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLSlotElement : HTMLElement { interface HTMLSlotElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLSourceElement : HTMLElement { interface HTMLSourceElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src; [Reflect] attribute DOMString src;
[Reflect] attribute DOMString type; [Reflect] attribute DOMString type;
[Reflect] attribute DOMString srcset; [Reflect] attribute DOMString srcset;

View file

@ -4,6 +4,6 @@
[Exposed=Window] [Exposed=Window]
interface HTMLSpanElement : HTMLElement { interface HTMLSpanElement : HTMLElement {
[HTMLConstructor] constructor();
}; };

View file

@ -5,7 +5,7 @@
// https://html.spec.whatwg.org/multipage/semantics.html#htmlstyleelement // https://html.spec.whatwg.org/multipage/semantics.html#htmlstyleelement
[Exposed=Window] [Exposed=Window]
interface HTMLStyleElement : HTMLElement { interface HTMLStyleElement : HTMLElement {
// FIXME: [HTMLConstructor] constructor(); [HTMLConstructor] constructor();
// FIXME: attribute boolean disabled; // FIXME: attribute boolean disabled;
[Reflect] attribute DOMString media; [Reflect] attribute DOMString media;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTableCaptionElement : HTMLElement { interface HTMLTableCaptionElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTableCellElement : HTMLElement { interface HTMLTableCellElement : HTMLElement {
[HTMLConstructor] constructor();
attribute unsigned long colSpan; attribute unsigned long colSpan;
attribute unsigned long rowSpan; attribute unsigned long rowSpan;
[Reflect] attribute DOMString headers; [Reflect] attribute DOMString headers;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTableColElement : HTMLElement { interface HTMLTableColElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
[Reflect=char] attribute DOMString ch; [Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff; [Reflect=charoff] attribute DOMString chOff;

View file

@ -8,6 +8,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTableElement : HTMLElement { interface HTMLTableElement : HTMLElement {
[HTMLConstructor] constructor();
attribute HTMLTableCaptionElement? caption; attribute HTMLTableCaptionElement? caption;
HTMLTableCaptionElement createCaption(); HTMLTableCaptionElement createCaption();
undefined deleteCaption(); undefined deleteCaption();

View file

@ -6,6 +6,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTableRowElement : HTMLElement { interface HTMLTableRowElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
[Reflect=char] attribute DOMString ch; [Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff; [Reflect=charoff] attribute DOMString chOff;

View file

@ -6,6 +6,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTableSectionElement : HTMLElement { interface HTMLTableSectionElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align; [Reflect] attribute DOMString align;
[Reflect=char] attribute DOMString ch; [Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff; [Reflect=charoff] attribute DOMString chOff;

View file

@ -5,6 +5,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTemplateElement : HTMLElement { interface HTMLTemplateElement : HTMLElement {
[HTMLConstructor] constructor();
readonly attribute DocumentFragment content; readonly attribute DocumentFragment content;
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTextAreaElement : HTMLElement { interface HTMLTextAreaElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString placeholder; [Reflect] attribute DOMString placeholder;
[Reflect] attribute DOMString name; [Reflect] attribute DOMString name;
[Reflect] attribute DOMString wrap; [Reflect] attribute DOMString wrap;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTimeElement : HTMLElement { interface HTMLTimeElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect=datetime] attribute DOMString dateTime; [Reflect=datetime] attribute DOMString dateTime;
}; };

View file

@ -4,6 +4,6 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTitleElement : HTMLElement { interface HTMLTitleElement : HTMLElement {
[HTMLConstructor] constructor();
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLTrackElement : HTMLElement { interface HTMLTrackElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src; [Reflect] attribute DOMString src;
[Reflect] attribute DOMString srclang; [Reflect] attribute DOMString srclang;
[Reflect] attribute DOMString label; [Reflect] attribute DOMString label;

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLUListElement : HTMLElement { interface HTMLUListElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean compact; [Reflect] attribute boolean compact;
[Reflect] attribute DOMString type; [Reflect] attribute DOMString type;

View file

@ -4,6 +4,6 @@
[Exposed=Window] [Exposed=Window]
interface HTMLUnknownElement : HTMLElement { interface HTMLUnknownElement : HTMLElement {
// Note: intentionally no [HTMLConstructor]
}; };

View file

@ -4,6 +4,8 @@
[Exposed=Window] [Exposed=Window]
interface HTMLVideoElement : HTMLMediaElement { interface HTMLVideoElement : HTMLMediaElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString poster; [Reflect] attribute DOMString poster;
[Reflect=playsinline] attribute boolean playsInline; [Reflect=playsinline] attribute boolean playsInline;