diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-07-27 21:14:16 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-29 17:15:49 +0100 |
commit | d6a5ddd3c0e146bfa45b54570cbb325a35137e1d (patch) | |
tree | 095057a8759809f31344c3214d6fd627ca2dc660 /Userland/Libraries/LibWeb/DOM/CharacterData.idl | |
parent | 6db558e0ae867867bae86608a93cef469fee3b05 (diff) | |
download | serenity-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.idl | 10 |
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(); - }; |