1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

LibWeb: Resolve circular IDL imports

These circular imports led to the generator silently failing to
generate the required methods/properties.
This commit is contained in:
MacDue 2022-07-30 11:31:17 +01:00 committed by Linus Groh
parent 8da0c36212
commit d4b2eb22e1
8 changed files with 11 additions and 14 deletions

View file

@ -1,5 +1,3 @@
#import <DOM/Node.idl>
// https://dom.spec.whatwg.org/#childnode
interface mixin ChildNode {
[CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
@ -7,7 +5,3 @@ interface mixin ChildNode {
[CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);
[CEReactions, Unscopable, ImplementedAs=remove_binding] undefined remove();
};
DocumentType includes ChildNode;
Element includes ChildNode;
CharacterData includes ChildNode;