mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:05:07 +00:00
Ladybird: Add --dump-layout-tree mode that dumps layout tree and exits
This commit is contained in:
parent
90fee39290
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