mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Add Node.insertBefore(Node node, Node? child)
This commit is contained in:
@@ -83,6 +83,7 @@ public:
|
||||
bool is_parent_node() const { return is_element() || is_document() || is_document_fragment(); }
|
||||
|
||||
RefPtr<Node> append_child(NonnullRefPtr<Node>, bool notify = true);
|
||||
RefPtr<Node> insert_before(NonnullRefPtr<Node> node, RefPtr<Node> child, bool notify = true);
|
||||
|
||||
virtual RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user