diff options
author | Luke Wilde <lukew@serenityos.org> | 2023-03-01 01:45:18 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-06 11:36:56 +0200 |
commit | 32e27bc7faacc8c28ff6d1cf4d8b4fb99c53b103 (patch) | |
tree | b38106e65ba8f311098f7ddae4ab70c119f708ad | |
parent | 034aaf3f51e4779f03eaa5becb016e04a4ff9f4d (diff) | |
download | serenity-32e27bc7faacc8c28ff6d1cf4d8b4fb99c53b103.zip |
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.
61 files changed, 259 insertions, 256 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Document.idl b/Userland/Libraries/LibWeb/DOM/Document.idl index 0615b780af..a2d285b1c4 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.idl +++ b/Userland/Libraries/LibWeb/DOM/Document.idl @@ -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; diff --git a/Userland/Libraries/LibWeb/DOM/Element.idl b/Userland/Libraries/LibWeb/DOM/Element.idl index aeecf4d9ce..f5d607d957 100644 --- a/Userland/Libraries/LibWeb/DOM/Element.idl +++ b/Userland/Libraries/LibWeb/DOM/Element.idl @@ -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); diff --git a/Userland/Libraries/LibWeb/DOM/Node.idl b/Userland/Libraries/LibWeb/DOM/Node.idl index 8ac5cdca67..b2f290f6c1 100644 --- a/Userland/Libraries/LibWeb/DOM/Node.idl +++ b/Userland/Libraries/LibWeb/DOM/Node.idl @@ -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); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl index 0e15a6f89f..df8a755d77 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl @@ -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; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBRElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLBRElement.idl index c8b6e7f19e..f4b1a5bee4 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBRElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLBRElement.idl @@ -6,6 +6,6 @@ interface HTMLBRElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString clear; + [CEReactions, Reflect] attribute DOMString clear; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.idl index 6870bd24ba..fe82387616 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLBaseElement.idl @@ -7,6 +7,6 @@ interface HTMLBaseElement : HTMLElement { [HTMLConstructor] constructor(); [CEReactions] attribute USVString href; - [Reflect] attribute DOMString target; + [CEReactions, Reflect] attribute DOMString target; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.idl index fbca003228..47ae014d18 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLBodyElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.idl index 996b0a6295..a9fe14791c 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLButtonElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl index 2731b0aded..90df720626 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl @@ -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); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDListElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDListElement.idl index b50faf2130..3bd2f4b52f 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDListElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLDListElement.idl @@ -6,6 +6,6 @@ interface HTMLDListElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute boolean compact; + [CEReactions, Reflect] attribute boolean compact; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDataElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDataElement.idl index fd29628575..707351f8c7 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDataElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLDataElement.idl @@ -6,6 +6,6 @@ interface HTMLDataElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString value; + [CEReactions, Reflect] attribute DOMString value; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.idl index b5f5678f19..8694d0c770 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLDetailsElement.idl @@ -6,6 +6,6 @@ interface HTMLDetailsElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute boolean open; + [CEReactions, Reflect] attribute boolean open; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.idl index 2842151af5..98ed8271e4 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.idl @@ -6,6 +6,6 @@ interface HTMLDialogElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute boolean open; + [CEReactions, Reflect] attribute boolean open; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl index 19681d9dc8..6f789d62c3 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl @@ -6,6 +6,6 @@ interface HTMLDirectoryElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute boolean compact; + [CEReactions, Reflect] attribute boolean compact; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLDivElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLDivElement.idl index a925b777e5..69e56031f4 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLDivElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLDivElement.idl @@ -6,6 +6,6 @@ interface HTMLDivElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString align; + [CEReactions, Reflect] attribute DOMString align; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl index 7313dba7b9..52fc46dd64 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl @@ -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; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.idl index eb75d3f6f2..2cf3c34c1b 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLEmbedElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl index e992ab5b9b..9121dd32b3 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl index 4ec5d541c6..dfa23db79d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl @@ -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(); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl index 7e0a900fc1..89c4e229c5 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl index e35f86a546..9e984482af 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHRElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLHRElement.idl index c08dc495d4..172e7a31a4 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHRElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLHRElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.idl index bdac8c4391..d1df2dcca2 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.idl @@ -6,6 +6,6 @@ interface HTMLHeadingElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString align; + [CEReactions, Reflect] attribute DOMString align; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.idl index 37ecc58e7d..8c27c495ae 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.idl @@ -6,6 +6,6 @@ interface HTMLHtmlElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString version; + [CEReactions, Reflect] attribute DOMString version; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl index 1e6e0cd554..bff188e026 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl @@ -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(); }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl index 3cb36a8493..4304041b62 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl @@ -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; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl index 328037046d..767ba66aa4 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl @@ -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; - - attribute DOMString type; + [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; + + [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(); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLIElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLLIElement.idl index 6b4490f05d..791e297972 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLIElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLLIElement.idl @@ -5,7 +5,8 @@ interface HTMLLIElement : HTMLElement { [HTMLConstructor] constructor(); + // FIXME: [CEReactions] attribute long value; - [Reflect] attribute DOMString type; + [CEReactions, Reflect] attribute DOMString type; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.idl index 0e4387355c..002ecee32c 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLLabelElement.idl @@ -6,6 +6,6 @@ interface HTMLLabelElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect=for] attribute DOMString htmlFor; + [CEReactions, Reflect=for] attribute DOMString htmlFor; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.idl index 4fdc50d292..506853c9d9 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLLegendElement.idl @@ -6,6 +6,6 @@ interface HTMLLegendElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString align; + [CEReactions, Reflect] attribute DOMString align; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl index 2c75f2f958..f503297d1d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMapElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMapElement.idl index 516c58c225..79da6e07ee 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMapElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLMapElement.idl @@ -6,6 +6,6 @@ interface HTMLMapElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString name; + [CEReactions, Reflect] attribute DOMString name; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl index da94944b6c..b9fd06c474 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl index c611d567eb..a27c4912de 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl @@ -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(); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.idl index 82ecd13687..82fb9df483 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLMenuElement.idl @@ -6,6 +6,6 @@ interface HTMLMenuElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute boolean compact; + [CEReactions, Reflect] attribute boolean compact; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.idl index fb16a51468..35bffbd246 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLMetaElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLModElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLModElement.idl index 8c2ed2a87f..b3312f432b 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLModElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLModElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOListElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLOListElement.idl index da4fbf2d28..61f70ae431 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOListElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLOListElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl index fe2ef6bc91..1e40ca5329 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl @@ -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(); }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl index f810206d77..04b5872904 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.idl index 9ff5ac2812..b1807007ac 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLOptionElement.idl @@ -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; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.idl index 80651af3fe..0ca919f2e9 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLParagraphElement.idl @@ -6,6 +6,6 @@ interface HTMLParagraphElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString align; + [CEReactions, Reflect] attribute DOMString align; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLParamElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLParamElement.idl index 732845617a..3623c58f08 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLParamElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLParamElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLPreElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLPreElement.idl index 745dfd0c81..6fa4e64e36 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLPreElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLPreElement.idl @@ -5,5 +5,6 @@ interface HTMLPreElement : HTMLElement { [HTMLConstructor] constructor(); + // FIXME: [CEReactions, Reflect] attribute long width; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.idl index 8b1957cf63..623f73d3cd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.idl @@ -6,6 +6,6 @@ interface HTMLQuoteElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString cite; + [CEReactions, Reflect] attribute USVString cite; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl index 3a7807d7ed..8b6c73ae89 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl index 6afbd9f7df..d57ca829c1 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.idl @@ -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; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.idl index d12bd92528..64cb999bd8 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLSlotElement.idl @@ -6,6 +6,6 @@ interface HTMLSlotElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString name; + [CEReactions, Reflect] attribute DOMString name; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl index 55f6235d47..49aeb6d57a 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl index f9a306be7c..600459b4dd 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl @@ -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 diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl index e572bf0c6a..b0413d9dae 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl @@ -6,6 +6,6 @@ interface HTMLTableCaptionElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect] attribute DOMString align; + [CEReactions, Reflect] attribute DOMString align; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl index 32c1bc8e0c..d9fddd3bbb 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl index ab5fb93f30..b84f50403b 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableColElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl index 7e7195c407..d6a2b1c8e1 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableElement.idl @@ -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); - - [Reflect] attribute DOMString align; - [Reflect] attribute DOMString border; - [Reflect] attribute DOMString frame; - [Reflect] attribute DOMString rules; - [Reflect] attribute DOMString summary; - [Reflect] attribute DOMString width; - - [LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor; - [LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding; - [LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing; + [CEReactions] undefined deleteRow(long index); + + [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; + + [CEReactions, LegacyNullToEmptyString, Reflect=bgcolor] attribute DOMString bgColor; + [CEReactions, LegacyNullToEmptyString, Reflect=cellpadding] attribute DOMString cellPadding; + [CEReactions, LegacyNullToEmptyString, Reflect=cellspacing] attribute DOMString cellSpacing; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.idl index 28289dbbd5..9a35671b75 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableRowElement.idl @@ -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; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl index f0416da203..d1ff615f05 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl @@ -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); }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl index 2191352b94..2ade76aaca 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.idl index 2581ada6cf..76da859ad9 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLTimeElement.idl @@ -6,6 +6,6 @@ interface HTMLTimeElement : HTMLElement { [HTMLConstructor] constructor(); - [Reflect=datetime] attribute DOMString dateTime; + [CEReactions, Reflect=datetime] attribute DOMString dateTime; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl index 22feb40ec0..f4ff0df664 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLUListElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLUListElement.idl index 47f9d03c22..207ffc08d7 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLUListElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLUListElement.idl @@ -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; }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl index b5020bc978..57fc11bd69 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl @@ -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; }; |