diff options
Diffstat (limited to 'Libraries/LibWeb/DOM/Node.h')
-rw-r--r-- | Libraries/LibWeb/DOM/Node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibWeb/DOM/Node.h b/Libraries/LibWeb/DOM/Node.h index c46ccc07e9..f5abb4ede0 100644 --- a/Libraries/LibWeb/DOM/Node.h +++ b/Libraries/LibWeb/DOM/Node.h @@ -79,12 +79,14 @@ public: RefPtr<Node> append_child(NonnullRefPtr<Node>, bool notify = true); RefPtr<Node> insert_before(NonnullRefPtr<Node> node, RefPtr<Node> child, bool notify = true); + void remove_all_children(); virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style); virtual FlyString node_name() const = 0; virtual String text_content() const; + void set_text_content(const String&); Document& document() { return *m_document; } const Document& document() const { return *m_document; } |