1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:14:58 +00:00

LibWeb: Add a bunch of missing CEReactions

This is almost guaranteed not to be all CEReactions we need to add, but
this puts us in a much better situation.
This commit is contained in:
Luke Wilde 2023-03-01 01:45:18 +00:00 committed by Andreas Kling
parent 034aaf3f51
commit 32e27bc7fa
61 changed files with 256 additions and 253 deletions

View file

@ -74,8 +74,8 @@ interface Document : Node {
// FIXME: Should return an HTMLAllCollection
readonly attribute HTMLCollection all;
Element createElement(DOMString tagName, optional (DOMString or ElementCreationOptions) options = {});
Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional (DOMString or ElementCreationOptions) options = {});
[CEReactions, NewObject] Element createElement(DOMString tagName, optional (DOMString or ElementCreationOptions) options = {});
[CEReactions, NewObject] Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional (DOMString or ElementCreationOptions) options = {});
DocumentFragment createDocumentFragment();
Text createTextNode(DOMString data);
Comment createComment(DOMString data);
@ -96,13 +96,13 @@ interface Document : Node {
readonly attribute DocumentType? doctype;
readonly attribute Element? documentElement;
attribute HTMLElement? body;
[CEReactions] attribute HTMLElement? body;
readonly attribute HTMLHeadElement? head;
readonly attribute HTMLScriptElement? currentScript;
readonly attribute DOMString readyState;
attribute DOMString title;
[CEReactions] attribute DOMString title;
boolean queryCommandSupported(DOMString commandId);
readonly boolean hidden;

View file

@ -27,12 +27,12 @@ interface Element : Node {
readonly attribute DOMString tagName;
DOMString? getAttribute(DOMString qualifiedName);
undefined setAttribute(DOMString qualifiedName, DOMString value);
[CEReactions] undefined setAttribute(DOMString qualifiedName, DOMString value);
[CEReactions] undefined setAttributeNS(DOMString? namespace , DOMString qualifiedName , DOMString value);
[CEReactions] Attr? setAttributeNode(Attr attr);
[CEReactions] Attr? setAttributeNodeNS(Attr attr);
undefined removeAttribute(DOMString qualifiedName);
[CEReactions] undefined removeAttribute(DOMString qualifiedName);
[CEReactions] boolean toggleAttribute(DOMString qualifiedName, optional boolean force);
boolean hasAttribute(DOMString qualifiedName);
boolean hasAttributes();
@ -45,8 +45,8 @@ interface Element : Node {
HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
HTMLCollection getElementsByClassName(DOMString className);
[Reflect] attribute DOMString id;
[Reflect=class] attribute DOMString className;
[Reflect, CEReactions] attribute DOMString id;
[Reflect=class, CEReactions] attribute DOMString className;
[SameObject, PutForwards=value] readonly attribute DOMTokenList classList;
ShadowRoot attachShadow(ShadowRootInit init);

View file

@ -27,13 +27,13 @@ interface Node : EventTarget {
// FIXME: [LegacyNullToEmptyString] is not allowed on nullable types as per the Web IDL spec.
// However, we only apply it to setters, so this works as a stop gap.
// Replace this with something like a special cased [LegacyNullToEmptyString].
[LegacyNullToEmptyString] attribute DOMString? textContent;
[LegacyNullToEmptyString, CEReactions] attribute DOMString? textContent;
Node appendChild(Node node);
[ImplementedAs=pre_insert] Node insertBefore(Node node, Node? child);
Node replaceChild(Node node, Node child);
[ImplementedAs=pre_remove] Node removeChild(Node child);
[ImplementedAs=clone_node_binding] Node cloneNode(optional boolean deep = false);
[CEReactions] Node appendChild(Node node);
[ImplementedAs=pre_insert, CEReactions] Node insertBefore(Node node, Node? child);
[CEReactions] Node replaceChild(Node node, Node child);
[ImplementedAs=pre_remove, CEReactions] Node removeChild(Node child);
[ImplementedAs=clone_node_binding, CEReactions] Node cloneNode(optional boolean deep = false);
boolean contains(Node? other);
boolean isEqualNode(Node? otherNode);
boolean isSameNode(Node? otherNode);

View file

@ -7,15 +7,13 @@ interface HTMLAreaElement : HTMLElement {
[HTMLConstructor] constructor();
// FIXME: [CEReactions] attribute DOMString alt;
// FIXME: [CEReactions] attribute DOMString coords;
// FIXME: [CEReactions] attribute DOMString shape;
// FIXME: [CEReactions] attribute DOMString target;
// FIXME: [CEReactions] attribute DOMString download;
// FIXME: [CEReactions] attribute USVString ping;
// FIXME: [CEReactions] attribute DOMString rel;
// FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
// FIXME: [CEReactions] attribute DOMString referrerPolicy;
[CEReactions, Reflect] attribute DOMString alt;
[CEReactions, Reflect] attribute DOMString coords;
[CEReactions, Reflect] attribute DOMString shape;
[CEReactions, Reflect] attribute DOMString target;
[CEReactions, Reflect] attribute DOMString download;
[CEReactions, Reflect] attribute USVString ping;
[CEReactions, Reflect] attribute DOMString rel;
// Obsolete
[Reflect=nohref] attribute boolean noHref;

View file

@ -6,6 +6,6 @@ interface HTMLBRElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString clear;
[CEReactions, Reflect] attribute DOMString clear;
};

View file

@ -7,6 +7,6 @@ interface HTMLBaseElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions] attribute USVString href;
[Reflect] attribute DOMString target;
[CEReactions, Reflect] attribute DOMString target;
};

View file

@ -7,12 +7,12 @@ interface HTMLBodyElement : HTMLElement {
[HTMLConstructor] constructor();
[LegacyNullToEmptyString, Reflect] attribute DOMString text;
[LegacyNullToEmptyString, Reflect] attribute DOMString link;
[LegacyNullToEmptyString, Reflect=vlink] attribute DOMString vLink;
[LegacyNullToEmptyString, Reflect=alink] attribute DOMString aLink;
[LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
[Reflect] attribute DOMString background;
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString text;
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString link;
[CEReactions, LegacyNullToEmptyString, Reflect=vlink] attribute DOMString vLink;
[CEReactions, LegacyNullToEmptyString, Reflect=alink] attribute DOMString aLink;
[CEReactions, LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
[CEReactions, Reflect] attribute DOMString background;
};

View file

@ -6,10 +6,10 @@ interface HTMLButtonElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect=formnovalidate] attribute boolean formNoValidate;
[Reflect=formtarget] attribute DOMString formTarget;
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString value;
[CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
[CEReactions, Reflect=formtarget] attribute DOMString formTarget;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString value;
[CEReactions] attribute DOMString type;
};

View file

@ -11,8 +11,8 @@ interface HTMLCanvasElement : HTMLElement {
[HTMLConstructor] constructor();
RenderingContext? getContext(DOMString contextId, optional any options = null);
attribute unsigned long width;
attribute unsigned long height;
[CEReactions] attribute unsigned long width;
[CEReactions] attribute unsigned long height;
USVString toDataURL(optional DOMString type = "image/png", optional double quality);

View file

@ -6,6 +6,6 @@ interface HTMLDListElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean compact;
[CEReactions, Reflect] attribute boolean compact;
};

View file

@ -6,6 +6,6 @@ interface HTMLDataElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString value;
[CEReactions, Reflect] attribute DOMString value;
};

View file

@ -6,6 +6,6 @@ interface HTMLDetailsElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean open;
[CEReactions, Reflect] attribute boolean open;
};

View file

@ -6,6 +6,6 @@ interface HTMLDialogElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean open;
[CEReactions, Reflect] attribute boolean open;
};

View file

@ -6,6 +6,6 @@ interface HTMLDirectoryElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean compact;
[CEReactions, Reflect] attribute boolean compact;
};

View file

@ -6,6 +6,6 @@ interface HTMLDivElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString align;
};

View file

@ -8,11 +8,11 @@ interface HTMLElement : Element {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString title;
[Reflect] attribute DOMString lang;
attribute DOMString dir;
[Reflect, CEReactions] attribute DOMString title;
[Reflect, CEReactions] attribute DOMString lang;
[CEReactions] attribute DOMString dir;
[Reflect] attribute boolean hidden;
[Reflect, CEReactions] attribute boolean hidden;
attribute DOMString contentEditable;
@ -23,7 +23,7 @@ interface HTMLElement : Element {
undefined blur();
[LegacyNullToEmptyString] attribute DOMString innerText;
[LegacyNullToEmptyString, CEReactions] attribute DOMString innerText;
readonly attribute long offsetTop;
readonly attribute long offsetLeft;

View file

@ -6,12 +6,12 @@ interface HTMLEmbedElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString type;
[Reflect] attribute DOMString width;
[Reflect] attribute DOMString height;
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString height;
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString name;
};

View file

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

View file

@ -7,10 +7,10 @@ interface HTMLFormElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString rel;
[Reflect=accept-charset] attribute DOMString acceptCharset;
[Reflect=novalidate] attribute boolean noValidate;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString rel;
[CEReactions, Reflect=accept-charset] attribute DOMString acceptCharset;
[CEReactions, Reflect=novalidate] attribute boolean noValidate;
undefined submit();
[CEReactions] undefined reset();

View file

@ -6,10 +6,10 @@ interface HTMLFrameElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString scrolling;
[Reflect] attribute DOMString src;
[Reflect=frameborder] attribute DOMString frameBorder;
[Reflect=longdesc] attribute DOMString longDesc;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString scrolling;
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect=frameborder] attribute DOMString frameBorder;
[CEReactions, Reflect=longdesc] attribute DOMString longDesc;
};

View file

@ -7,8 +7,8 @@ interface HTMLFrameSetElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString cols;
[Reflect] attribute DOMString rows;
[CEReactions, Reflect] attribute DOMString cols;
[CEReactions, Reflect] attribute DOMString rows;
};

View file

@ -6,10 +6,10 @@ interface HTMLHRElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString color;
[Reflect=noshade] attribute boolean noShade;
[Reflect] attribute DOMString size;
[Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString color;
[CEReactions, Reflect=noshade] attribute boolean noShade;
[CEReactions, Reflect] attribute DOMString size;
[CEReactions, Reflect] attribute DOMString width;
};

View file

@ -6,6 +6,6 @@ interface HTMLHeadingElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString align;
};

View file

@ -6,6 +6,6 @@ interface HTMLHtmlElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString version;
[CEReactions, Reflect] attribute DOMString version;
};

View file

@ -7,24 +7,24 @@ interface HTMLIFrameElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString srcdoc;
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString allow;
[Reflect] attribute DOMString width;
[Reflect] attribute DOMString height;
[Reflect=allowfullscreen] attribute boolean allowFullscreen;
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect] attribute DOMString srcdoc;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString allow;
[CEReactions, Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString height;
[CEReactions, Reflect=allowfullscreen] attribute boolean allowFullscreen;
readonly attribute Document? contentDocument;
readonly attribute WindowProxy? contentWindow;
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString scrolling;
[Reflect=frameborder] attribute DOMString frameBorder;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString scrolling;
[CEReactions, Reflect=frameborder] attribute DOMString frameBorder;
[LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
[LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
[CEReactions, LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
[CEReactions, LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
Document? getSVGDocument();
};

View file

@ -6,16 +6,16 @@ interface HTMLImageElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString alt;
[Reflect] attribute DOMString srcset;
[Reflect] attribute DOMString sizes;
[Reflect=usemap] attribute DOMString useMap;
[Reflect=ismap] attribute boolean isMap;
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect] attribute DOMString alt;
[CEReactions, Reflect] attribute DOMString srcset;
[CEReactions, Reflect] attribute DOMString sizes;
[CEReactions, Reflect=usemap] attribute DOMString useMap;
[CEReactions, Reflect=ismap] attribute boolean isMap;
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString align;
[LegacyNullToEmptyString, Reflect] attribute DOMString border;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
[CEReactions] attribute unsigned long width;
[CEReactions] attribute unsigned long height;

View file

@ -11,35 +11,35 @@ interface HTMLInputElement : HTMLElement {
readonly attribute HTMLFormElement? form;
attribute FileList? files;
[Reflect] attribute DOMString accept;
[Reflect] attribute DOMString alt;
[Reflect] attribute DOMString max;
[Reflect] attribute DOMString min;
[Reflect] attribute DOMString pattern;
[Reflect] attribute DOMString placeholder;
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString step;
[Reflect] attribute DOMString name;
[Reflect=dirname] attribute DOMString dirName;
[Reflect=value] attribute DOMString defaultValue;
[CEReactions, Reflect] attribute DOMString accept;
[CEReactions, Reflect] attribute DOMString alt;
[CEReactions, Reflect] attribute DOMString max;
[CEReactions, Reflect] attribute DOMString min;
[CEReactions, Reflect] attribute DOMString pattern;
[CEReactions, Reflect] attribute DOMString placeholder;
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect] attribute DOMString step;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect=dirname] attribute DOMString dirName;
[CEReactions, Reflect=value] attribute DOMString defaultValue;
attribute DOMString type;
[CEReactions] attribute DOMString type;
attribute boolean indeterminate;
[LegacyNullToEmptyString] attribute DOMString value;
[CEReactions, LegacyNullToEmptyString] attribute DOMString value;
[ImplementedAs=checked_binding] attribute boolean checked;
[Reflect] attribute boolean disabled;
[Reflect=checked] attribute boolean defaultChecked;
[Reflect=formnovalidate] attribute boolean formNoValidate;
[Reflect=formtarget] attribute DOMString formTarget;
[Reflect] attribute boolean multiple;
[Reflect=readonly] attribute boolean readOnly;
[Reflect] attribute boolean required;
[CEReactions, Reflect] attribute boolean disabled;
[CEReactions, Reflect=checked] attribute boolean defaultChecked;
[CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
[CEReactions, Reflect=formtarget] attribute DOMString formTarget;
[CEReactions, Reflect] attribute boolean multiple;
[CEReactions, Reflect=readonly] attribute boolean readOnly;
[CEReactions, Reflect] attribute boolean required;
[Reflect] attribute DOMString align;
[Reflect=usemap] attribute DOMString useMap;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect=usemap] attribute DOMString useMap;
boolean checkValidity();
boolean reportValidity();

View file

@ -5,7 +5,8 @@
interface HTMLLIElement : HTMLElement {
[HTMLConstructor] constructor();
// FIXME: [CEReactions] attribute long value;
[Reflect] attribute DOMString type;
[CEReactions, Reflect] attribute DOMString type;
};

View file

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

View file

@ -6,6 +6,6 @@ interface HTMLLegendElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString align;
};

View file

@ -6,18 +6,18 @@ interface HTMLLinkElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString href;
[Reflect] attribute DOMString hreflang;
[Reflect] attribute DOMString integrity;
[Reflect] attribute DOMString media;
[Reflect] attribute DOMString rel;
[Reflect] attribute DOMString type;
[Reflect=imagesrcset] attribute DOMString imageSrcset;
[Reflect=imagesizes] attribute DOMString imageSizes;
[Reflect] attribute boolean disabled;
[CEReactions, Reflect] attribute DOMString href;
[CEReactions, Reflect] attribute DOMString hreflang;
[CEReactions, Reflect] attribute DOMString integrity;
[CEReactions, Reflect] attribute DOMString media;
[CEReactions, Reflect] attribute DOMString rel;
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect=imagesrcset] attribute DOMString imageSrcset;
[CEReactions, Reflect=imagesizes] attribute DOMString imageSizes;
[CEReactions, Reflect] attribute boolean disabled;
[Reflect] attribute DOMString charset;
[Reflect] attribute DOMString rev;
[Reflect] attribute DOMString target;
[CEReactions, Reflect] attribute DOMString charset;
[CEReactions, Reflect] attribute DOMString rev;
[CEReactions, Reflect] attribute DOMString target;
};

View file

@ -6,6 +6,6 @@ interface HTMLMapElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString name;
};

View file

@ -6,10 +6,10 @@ interface HTMLMarqueeElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString behavior;
[Reflect=bgcolor] attribute DOMString bgColor;
[Reflect] attribute DOMString direction;
[Reflect] attribute DOMString height;
[Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString behavior;
[CEReactions, Reflect=bgcolor] attribute DOMString bgColor;
[CEReactions, Reflect] attribute DOMString direction;
[CEReactions, Reflect] attribute DOMString height;
[CEReactions, Reflect] attribute DOMString width;
};

View file

@ -10,12 +10,12 @@ enum CanPlayTypeResult {
[Exposed=Window]
interface HTMLMediaElement : HTMLElement {
[Reflect] attribute DOMString src;
[Reflect, CEReactions] attribute DOMString src;
[Reflect] attribute boolean autoplay;
[Reflect] attribute boolean loop;
[Reflect, CEReactions] attribute boolean autoplay;
[Reflect, CEReactions] attribute boolean loop;
[Reflect] attribute boolean controls;
[Reflect, CEReactions] attribute boolean controls;
CanPlayTypeResult canPlayType(DOMString type);
undefined load();

View file

@ -6,6 +6,6 @@ interface HTMLMenuElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean compact;
[CEReactions, Reflect] attribute boolean compact;
};

View file

@ -6,10 +6,10 @@ interface HTMLMetaElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString content;
[Reflect=http-equiv] attribute DOMString httpEquiv;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString content;
[CEReactions, Reflect=http-equiv] attribute DOMString httpEquiv;
[Reflect] attribute DOMString scheme;
[CEReactions, Reflect] attribute DOMString scheme;
};

View file

@ -6,7 +6,7 @@ interface HTMLModElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute USVString cite;
[Reflect=datetime] attribute DOMString dateTime;
[CEReactions, Reflect] attribute USVString cite;
[CEReactions, Reflect=datetime] attribute DOMString dateTime;
};

View file

@ -6,9 +6,10 @@ interface HTMLOListElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean reversed;
[Reflect] attribute DOMString type;
[CEReactions, Reflect] attribute boolean reversed;
// FIXME: [CEReactions] attribute long start;
[CEReactions, Reflect] attribute DOMString type;
[Reflect] attribute boolean compact;
[CEReactions, Reflect] attribute boolean compact;
};

View file

@ -8,22 +8,22 @@ interface HTMLObjectElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions] attribute DOMString data;
[Reflect] attribute DOMString type;
[Reflect] attribute DOMString name;
[Reflect=usemap] attribute DOMString useMap;
[Reflect] attribute DOMString width;
[Reflect] attribute DOMString height;
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect=usemap] attribute DOMString useMap;
[CEReactions, Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString height;
readonly attribute Document? contentDocument;
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString archive;
[Reflect] attribute DOMString code;
[Reflect] attribute boolean declare;
[Reflect] attribute DOMString standby;
[Reflect=codetype] attribute DOMString codeType;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString archive;
[CEReactions, Reflect] attribute DOMString code;
[CEReactions, Reflect] attribute boolean declare;
[CEReactions, Reflect] attribute DOMString standby;
[CEReactions, Reflect=codetype] attribute DOMString codeType;
[LegacyNullToEmptyString, Reflect] attribute DOMString border;
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
Document? getSVGDocument();
};

View file

@ -6,7 +6,7 @@ interface HTMLOptGroupElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean disabled;
[Reflect] attribute DOMString label;
[CEReactions, Reflect] attribute boolean disabled;
[CEReactions, Reflect] attribute DOMString label;
};

View file

@ -6,8 +6,8 @@ interface HTMLOptionElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean disabled;
[Reflect=selected] attribute boolean defaultSelected;
[CEReactions, Reflect] attribute boolean disabled;
[CEReactions, Reflect=selected] attribute boolean defaultSelected;
attribute boolean selected;
[CEReactions] attribute DOMString value;

View file

@ -6,6 +6,6 @@ interface HTMLParagraphElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString align;
};

View file

@ -6,10 +6,10 @@ interface HTMLParamElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString value;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString value;
[Reflect] attribute DOMString type;
[Reflect=valuetype] attribute DOMString valueType;
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect=valuetype] attribute DOMString valueType;
};

View file

@ -5,5 +5,6 @@
interface HTMLPreElement : HTMLElement {
[HTMLConstructor] constructor();
// FIXME: [CEReactions, Reflect] attribute long width;
};

View file

@ -6,6 +6,6 @@ interface HTMLQuoteElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString cite;
[CEReactions, Reflect] attribute USVString cite;
};

View file

@ -6,16 +6,16 @@ interface HTMLScriptElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString type;
[Reflect=nomodule] attribute boolean noModule;
[Reflect] attribute boolean defer;
[Reflect] attribute DOMString integrity;
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect=nomodule] attribute boolean noModule;
[CEReactions, Reflect] attribute boolean defer;
[CEReactions, Reflect] attribute DOMString integrity;
static boolean supports(DOMString type);
[Reflect] attribute DOMString charset;
[Reflect] attribute DOMString event;
[Reflect=for] attribute DOMString htmlFor;
[CEReactions, Reflect] attribute DOMString charset;
[CEReactions, Reflect] attribute DOMString event;
[CEReactions, Reflect=for] attribute DOMString htmlFor;
};

View file

@ -7,9 +7,9 @@ interface HTMLSelectElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean disabled;
[Reflect] attribute boolean multiple;
[Reflect] attribute boolean required;
[CEReactions, Reflect] attribute boolean disabled;
[CEReactions, Reflect] attribute boolean multiple;
[CEReactions, Reflect] attribute boolean required;
[SameObject] readonly attribute HTMLOptionsCollection options;
readonly attribute DOMString type;

View file

@ -6,6 +6,6 @@ interface HTMLSlotElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString name;
};

View file

@ -6,10 +6,12 @@ interface HTMLSourceElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString type;
[Reflect] attribute DOMString srcset;
[Reflect] attribute DOMString sizes;
[Reflect] attribute DOMString media;
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect] attribute DOMString srcset;
[CEReactions, Reflect] attribute DOMString sizes;
[CEReactions, Reflect] attribute DOMString media;
// FIXME: [CEReactions, Reflect] attribute unsigned long width;
// FIXME: [CEReactions, Reflect] attribute unsigned long height;
};

View file

@ -8,7 +8,7 @@ interface HTMLStyleElement : HTMLElement {
[HTMLConstructor] constructor();
// FIXME: attribute boolean disabled;
[Reflect] attribute DOMString media;
[Reflect, CEReactions] attribute DOMString media;
// FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
// Obsolete

View file

@ -6,6 +6,6 @@ interface HTMLTableCaptionElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString align;
};

View file

@ -6,21 +6,21 @@ interface HTMLTableCellElement : HTMLElement {
[HTMLConstructor] constructor();
attribute unsigned long colSpan;
attribute unsigned long rowSpan;
[Reflect] attribute DOMString headers;
[Reflect] attribute DOMString abbr;
[CEReactions] attribute unsigned long colSpan;
[CEReactions] attribute unsigned long rowSpan;
[CEReactions, Reflect] attribute DOMString headers;
[CEReactions, Reflect] attribute DOMString abbr;
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString axis;
[Reflect] attribute DOMString height;
[Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString axis;
[CEReactions, Reflect] attribute DOMString height;
[CEReactions, Reflect] attribute DOMString width;
[Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff;
[Reflect=nowrap] attribute boolean noWrap;
[Reflect=valign] attribute DOMString vAlign;
[CEReactions, Reflect=char] attribute DOMString ch;
[CEReactions, Reflect=charoff] attribute DOMString chOff;
[CEReactions, Reflect=nowrap] attribute boolean noWrap;
[CEReactions, Reflect=valign] attribute DOMString vAlign;
[LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
[CEReactions, LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
};

View file

@ -6,10 +6,10 @@ interface HTMLTableColElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align;
[Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff;
[Reflect=valign] attribute DOMString vAlign;
[Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect=char] attribute DOMString ch;
[CEReactions, Reflect=charoff] attribute DOMString chOff;
[CEReactions, Reflect=valign] attribute DOMString vAlign;
[CEReactions, Reflect] attribute DOMString width;
};

View file

@ -10,34 +10,34 @@ interface HTMLTableElement : HTMLElement {
[HTMLConstructor] constructor();
attribute HTMLTableCaptionElement? caption;
[CEReactions] attribute HTMLTableCaptionElement? caption;
HTMLTableCaptionElement createCaption();
undefined deleteCaption();
[CEReactions] undefined deleteCaption();
attribute HTMLTableSectionElement? tHead;
[CEReactions] attribute HTMLTableSectionElement? tHead;
HTMLTableSectionElement createTHead();
undefined deleteTHead();
[CEReactions] undefined deleteTHead();
attribute HTMLTableSectionElement? tFoot;
[CEReactions] attribute HTMLTableSectionElement? tFoot;
HTMLTableSectionElement createTFoot();
undefined deleteTFoot();
[CEReactions] undefined deleteTFoot();
[SameObject] readonly attribute HTMLCollection tBodies;
HTMLTableSectionElement createTBody();
[SameObject] readonly attribute HTMLCollection rows;
HTMLTableRowElement insertRow(optional long index = -1);
undefined deleteRow(long index);
[CEReactions] undefined deleteRow(long index);
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString border;
[Reflect] attribute DOMString frame;
[Reflect] attribute DOMString rules;
[Reflect] attribute DOMString summary;
[Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect] attribute DOMString border;
[CEReactions, Reflect] attribute DOMString frame;
[CEReactions, Reflect] attribute DOMString rules;
[CEReactions, Reflect] attribute DOMString summary;
[CEReactions, Reflect] attribute DOMString width;
[LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
[LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding;
[LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing;
[CEReactions, LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
[CEReactions, LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding;
[CEReactions, LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing;
};

View file

@ -8,12 +8,12 @@ interface HTMLTableRowElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align;
[Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff;
[Reflect=valign] attribute DOMString vAlign;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect=char] attribute DOMString ch;
[CEReactions, Reflect=charoff] attribute DOMString chOff;
[CEReactions, Reflect=valign] attribute DOMString vAlign;
[LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
[CEReactions, LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor;
readonly attribute long rowIndex;
readonly attribute long sectionRowIndex;

View file

@ -8,13 +8,13 @@ interface HTMLTableSectionElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString align;
[Reflect=char] attribute DOMString ch;
[Reflect=charoff] attribute DOMString chOff;
[Reflect=valign] attribute DOMString vAlign;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, Reflect=char] attribute DOMString ch;
[CEReactions, Reflect=charoff] attribute DOMString chOff;
[CEReactions, Reflect=valign] attribute DOMString vAlign;
[SameObject] readonly attribute HTMLCollection rows;
HTMLTableRowElement insertRow(optional long index = -1);
undefined deleteRow(long index);
[CEReactions] undefined deleteRow(long index);
};

View file

@ -6,13 +6,13 @@ interface HTMLTextAreaElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString placeholder;
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString wrap;
[CEReactions, Reflect] attribute DOMString placeholder;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString wrap;
readonly attribute DOMString type;
[Reflect] attribute boolean disabled;
[Reflect=readonly] attribute boolean readOnly;
[Reflect] attribute boolean required;
[CEReactions, Reflect] attribute boolean disabled;
[CEReactions, Reflect=readonly] attribute boolean readOnly;
[CEReactions, Reflect] attribute boolean required;
};

View file

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

View file

@ -6,9 +6,9 @@ interface HTMLTrackElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString src;
[Reflect] attribute DOMString srclang;
[Reflect] attribute DOMString label;
[Reflect] attribute boolean default;
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect] attribute DOMString srclang;
[CEReactions, Reflect] attribute DOMString label;
[CEReactions, Reflect] attribute boolean default;
};

View file

@ -6,7 +6,7 @@ interface HTMLUListElement : HTMLElement {
[HTMLConstructor] constructor();
[Reflect] attribute boolean compact;
[Reflect] attribute DOMString type;
[CEReactions, Reflect] attribute boolean compact;
[CEReactions, Reflect] attribute DOMString type;
};

View file

@ -6,7 +6,7 @@ interface HTMLVideoElement : HTMLMediaElement {
[HTMLConstructor] constructor();
[Reflect] attribute DOMString poster;
[Reflect=playsinline] attribute boolean playsInline;
[CEReactions, Reflect] attribute USVString poster;
[CEReactions, Reflect=playsinline] attribute boolean playsInline;
};