mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibWeb: Implement Node.removeChild() in terms of "pre-remove"
This is what the spec wants us to do.
This commit is contained in:
parent
8b2499b112
commit
19b5033dc4
2 changed files with 9 additions and 1 deletions
|
@ -90,6 +90,8 @@ public:
|
|||
ExceptionOr<NonnullRefPtr<Node>> pre_remove(NonnullRefPtr<Node>);
|
||||
|
||||
ExceptionOr<NonnullRefPtr<Node>> append_child(NonnullRefPtr<Node>);
|
||||
ExceptionOr<NonnullRefPtr<Node>> remove_child(NonnullRefPtr<Node>);
|
||||
|
||||
void insert_before(NonnullRefPtr<Node> node, RefPtr<Node> child, bool suppress_observers = false);
|
||||
void remove(bool suppress_observers = false);
|
||||
void remove_all_children(bool suppress_observers = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue