1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:47:46 +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

@ -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);