mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 08:52:54 +00:00
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:
parent
f9e83af475
commit
2ee3985fd1
Notes:
github-actions[bot]
2025-03-13 20:57:45 +00:00
Author: https://github.com/trflynn89
Commit: 2ee3985fd1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3920
3 changed files with 52 additions and 1 deletions
|
@ -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),
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue