LibDevTools+LibWebView: Implement getting the used fonts for a DOM node

This also includes a request to get all fonts for a page, which we stub
out for now as we don't have the IPC to retrieve all fonts.
This commit is contained in:
Timothy Flynn 2025-03-11 16:01:34 -04:00 committed by Tim Flynn
parent f9e83af475
commit 2ee3985fd1
Notes: github-actions[bot] 2025-03-13 20:57:45 +00:00
3 changed files with 52 additions and 1 deletions

View file

@ -442,6 +442,7 @@ void Application::inspect_dom_node(DevTools::TabDescription const& description,
on_complete(DevTools::DOMNodeProperties {
.computed_style = move(properties.computed_style),
.node_box_sizing = move(properties.node_box_sizing),
.fonts = move(properties.fonts),
});
};