1
Fork 0
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:
Andreas Kling 2023-01-27 10:41:24 +01:00
parent 90fee39290
commit ddbdeb3ca0
3 changed files with 27 additions and 6 deletions

View file

@ -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());
}