LibWeb: Implement ChildNode.replaceWith

This commit is contained in:
Luke Wilde 2022-01-29 22:25:51 +00:00 committed by Andreas Kling
commit 7431f6073b
Notes: sideshowbarker 2024-07-17 19:56:11 +09:00
4 changed files with 43 additions and 0 deletions

View file

@ -9,6 +9,7 @@ interface CharacterData : 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();
};