LibWeb: Implement Range.surroundContents(newParent)

Here goes another Acid3 point :^)
This commit is contained in:
Andreas Kling
2022-03-21 23:28:46 +01:00
parent 686507a38f
commit 8ab25f8d8c
Notes: sideshowbarker 2024-07-17 16:58:38 +09:00
3 changed files with 40 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ public:
ExceptionOr<NonnullRefPtr<DocumentFragment>> extract_contents();
ExceptionOr<void> insert_node(NonnullRefPtr<Node>);
ExceptionOr<void> surround_contents(NonnullRefPtr<Node> new_parent);
String to_string() const;