mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:37:45 +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
13
Userland/Libraries/LibWeb/DOM/ChildNode.idl
Normal file
13
Userland/Libraries/LibWeb/DOM/ChildNode.idl
Normal file
|
@ -0,0 +1,13 @@
|
|||
#import <DOM/Node.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#childnode
|
||||
interface mixin ChildNode {
|
||||
[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();
|
||||
};
|
||||
|
||||
DocumentType includes ChildNode;
|
||||
Element includes ChildNode;
|
||||
CharacterData includes ChildNode;
|
Loading…
Add table
Add a link
Reference in a new issue