From 39a5076f40ab93205d88a5bed4de7d1d4677bdca Mon Sep 17 00:00:00 2001 From: Vrins Date: Sun, 27 Feb 2022 01:38:12 +0100 Subject: Browser+LibWeb: Add an Element size preview widget to inspector This Adds an element size preview widget to the inspector widget in a new tab. This functions similar to chrome and firefox and shows the margin, border, padding, and content size of the selected element in the inspector. The colors for the size preview widget are taken from the chrome browser. --- Userland/Services/WebContent/WebContentClient.ipc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Services/WebContent/WebContentClient.ipc') diff --git a/Userland/Services/WebContent/WebContentClient.ipc b/Userland/Services/WebContent/WebContentClient.ipc index 82f90abae8..04ab5c4ecf 100644 --- a/Userland/Services/WebContent/WebContentClient.ipc +++ b/Userland/Services/WebContent/WebContentClient.ipc @@ -29,7 +29,7 @@ endpoint WebContentClient did_request_prompt(String message, String default_) => (String response) did_get_source(URL url, String source) =| did_get_dom_tree(String dom_tree) =| - did_get_dom_node_properties(i32 node_id, String specified_style, String computed_style, String custom_properties) =| + did_get_dom_node_properties(i32 node_id, String specified_style, String computed_style, String custom_properties, String node_box_sizing_json) =| did_change_favicon(Gfx::ShareableBitmap favicon) =| did_request_cookie(URL url, u8 source) => (String cookie) did_set_cookie(URL url, Web::Cookie::ParsedCookie cookie, u8 source) =| -- cgit v1.2.3