mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
LibWeb: Extract the ChildNode IDL mixin
This commit is contained in:
parent
6db558e0ae
commit
d6a5ddd3c0
4 changed files with 20 additions and 24 deletions
|
@ -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();
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue