1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +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,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);