1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

LibWeb: Implement ChildNode.replaceWith

This commit is contained in:
Luke Wilde 2022-01-29 22:25:51 +00:00 committed by Andreas Kling
parent 5a5e3a6ec3
commit 7431f6073b
4 changed files with 43 additions and 0 deletions

View file

@ -57,6 +57,7 @@ interface Element : Node {
// 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();
};