summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/CharacterData.idl
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-07-27 21:14:16 +0100
committerLinus Groh <mail@linusgroh.de>2022-07-29 17:15:49 +0100
commitd6a5ddd3c0e146bfa45b54570cbb325a35137e1d (patch)
tree095057a8759809f31344c3214d6fd627ca2dc660 /Userland/Libraries/LibWeb/DOM/CharacterData.idl
parent6db558e0ae867867bae86608a93cef469fee3b05 (diff)
downloadserenity-d6a5ddd3c0e146bfa45b54570cbb325a35137e1d.zip
LibWeb: Extract the ChildNode IDL mixin
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/CharacterData.idl')
-rw-r--r--Userland/Libraries/LibWeb/DOM/CharacterData.idl10
1 files changed, 2 insertions, 8 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/CharacterData.idl b/Userland/Libraries/LibWeb/DOM/CharacterData.idl
index 856f9c16a3..a018f53c59 100644
--- a/Userland/Libraries/LibWeb/DOM/CharacterData.idl
+++ b/Userland/Libraries/LibWeb/DOM/CharacterData.idl
@@ -1,8 +1,9 @@
+#import <DOM/ChildNode.idl>
#import <DOM/Element.idl>
#import <DOM/Node.idl>
+// https://dom.spec.whatwg.org/#characterdata
interface CharacterData : Node {
-
[LegacyNullToEmptyString] attribute DOMString data;
readonly attribute unsigned long length;
@@ -14,11 +15,4 @@ interface CharacterData : Node {
readonly attribute Element? nextElementSibling;
readonly attribute Element? previousElementSibling;
-
- // FIXME: These should come from a ChildNode mixin
- [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
- [CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
- [CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);
- [CEReactions, Unscopable, ImplementedAs=remove_binding] undefined remove();
-
};