mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 14:28:49 +00:00
LibDevTools+LibWebView+WebContent: Implement getting DOM node inner HTML
This is used by DevTools to copy the inner HTML to the clipboard.
This commit is contained in:
parent
d75eadc3c4
commit
01c44a5c66
Notes:
github-actions[bot]
2025-03-11 13:51:56 +00:00
Author: https://github.com/trflynn89
Commit: 01c44a5c66
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3898
9 changed files with 77 additions and 0 deletions
|
@ -354,6 +354,11 @@ void ViewImplementation::set_listen_for_dom_mutations(bool listen_for_dom_mutati
|
|||
client().async_set_listen_for_dom_mutations(page_id(), listen_for_dom_mutations);
|
||||
}
|
||||
|
||||
void ViewImplementation::get_dom_node_inner_html(Web::UniqueNodeID node_id)
|
||||
{
|
||||
client().async_get_dom_node_inner_html(page_id(), node_id);
|
||||
}
|
||||
|
||||
void ViewImplementation::get_dom_node_outer_html(Web::UniqueNodeID node_id)
|
||||
{
|
||||
client().async_get_dom_node_outer_html(page_id(), node_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue