1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:37:34 +00:00

LibWeb: Rename Element::computed_style() to resolved_css_values()

This more accurately reflects what's actually being returned.
This commit is contained in:
Andreas Kling 2022-03-15 19:32:17 +01:00
parent 8aa24c45dd
commit 43ef813f3d
3 changed files with 4 additions and 4 deletions

View file

@ -353,10 +353,10 @@ Messages::WebContentServer::InspectDomNodeResponse ConnectionFromClient::inspect
}
String specified_values_json = serialize_json(*element.specified_css_values());
String computed_values_json = serialize_json(element.computed_style());
String resolved_values_json = serialize_json(element.resolved_css_values());
String custom_properties_json = serialize_custom_properties_json(element);
String node_box_sizing_json = serialize_node_box_sizing_json(element.layout_node());
return { true, specified_values_json, computed_values_json, custom_properties_json, node_box_sizing_json };
return { true, specified_values_json, resolved_values_json, custom_properties_json, node_box_sizing_json };
}
return { false, "", "", "", "" };