mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb/DOM: Factor out 'live range pre remove steps' AO
This was a refactoring made in the DOM spec as part of the introduction of the move before API.
This commit is contained in:
parent
0e2036d6c2
commit
a47c4dbc63
Notes:
github-actions[bot]
2025-04-26 14:46:49 +00:00
Author: https://github.com/shannonbooth
Commit: a47c4dbc63
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3855
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/kalenikaliaksandr
2 changed files with 34 additions and 19 deletions
|
@ -589,6 +589,8 @@ protected:
|
|||
private:
|
||||
void queue_tree_mutation_record(Vector<GC::Root<Node>> added_nodes, Vector<GC::Root<Node>> removed_nodes, Node* previous_sibling, Node* next_sibling);
|
||||
|
||||
void live_range_pre_remove();
|
||||
|
||||
void insert_before_impl(GC::Ref<Node>, GC::Ptr<Node> child);
|
||||
void append_child_impl(GC::Ref<Node>);
|
||||
void remove_child_impl(GC::Ref<Node>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue