mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Ladybird: Add --dump-layout-tree mode that dumps layout tree and exits
This commit is contained in:
parent
90fee39290
commit
ddbdeb3ca0
Notes:
sideshowbarker
2024-07-17 01:13:25 +09:00
Author: https://github.com/awesomekling
Commit: ddbdeb3ca0
3 changed files with 27 additions and 6 deletions
|
@ -1055,3 +1055,8 @@ void WebContentView::notify_server_did_get_accessibility_tree(DeprecatedString c
|
|||
{
|
||||
dbgln("TODO: support accessibility tree in Ladybird");
|
||||
}
|
||||
|
||||
ErrorOr<String> WebContentView::dump_layout_tree()
|
||||
{
|
||||
return String::from_deprecated_string(client().dump_layout_tree());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue