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

LibWeb: Implement ChildNode.before

This commit is contained in:
Luke Wilde 2022-01-29 21:33:12 +00:00 committed by Andreas Kling
parent d1bc9358c1
commit 1bbe40c5af
4 changed files with 71 additions and 3 deletions

View file

@ -6,7 +6,8 @@ interface CharacterData : Node {
readonly attribute Element? nextElementSibling;
readonly attribute Element? previousElementSibling;
// FIXME: This should come from a ChildNode mixin
// FIXME: These should come from a ChildNode mixin
[CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
[CEReactions, Unscopable, ImplementedAs=remove_binding] undefined remove();
};