mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-10 13:12:56 +00:00
LibDevTools+LibWebView+WebContent: Implement moving DOM nodes
This allows for click-and-dragging DOM nodes in DevTools to move them.
This commit is contained in:
parent
01c44a5c66
commit
cbefa797d4
Notes:
github-actions[bot]
2025-03-11 13:51:48 +00:00
Author: https://github.com/trflynn89
Commit: cbefa797d4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3898
9 changed files with 88 additions and 0 deletions
Libraries/LibWebView
|
@ -399,6 +399,11 @@ void ViewImplementation::create_child_text_node(Web::UniqueNodeID node_id)
|
|||
client().async_create_child_text_node(page_id(), node_id);
|
||||
}
|
||||
|
||||
void ViewImplementation::insert_dom_node_before(Web::UniqueNodeID node_id, Web::UniqueNodeID parent_node_id, Optional<Web::UniqueNodeID> sibling_node_id)
|
||||
{
|
||||
client().async_insert_dom_node_before(page_id(), node_id, parent_node_id, sibling_node_id);
|
||||
}
|
||||
|
||||
void ViewImplementation::clone_dom_node(Web::UniqueNodeID node_id)
|
||||
{
|
||||
client().async_clone_dom_node(page_id(), node_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue