mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
LibWeb: Add Node.insertBefore(Node node, Node? child)
This commit is contained in:
parent
82a75bcf5f
commit
213e2793bd
4 changed files with 43 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue