mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
LibWeb: Implement Range.insertNode(node)
This commit is contained in:
parent
d2f9f8bd4f
commit
c74b1b6d65
3 changed files with 85 additions and 0 deletions
|
@ -63,6 +63,8 @@ public:
|
|||
|
||||
ExceptionOr<NonnullRefPtr<DocumentFragment>> extract_contents();
|
||||
|
||||
ExceptionOr<void> insert_node(NonnullRefPtr<Node>);
|
||||
|
||||
String to_string() const;
|
||||
|
||||
private:
|
||||
|
@ -82,6 +84,7 @@ private:
|
|||
ExceptionOr<void> select(Node& node);
|
||||
|
||||
ExceptionOr<NonnullRefPtr<DocumentFragment>> extract();
|
||||
ExceptionOr<void> insert(NonnullRefPtr<Node>);
|
||||
|
||||
bool contains_node(Node const&) const;
|
||||
bool partially_contains_node(Node const&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue