summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-06 11:42:01 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-06 14:58:48 +0100
commitba8990fb6c6c0d09dd255c0dc57013ed6b0a714e (patch)
treefe0610ceca635d80b9c132f31f9277c50022e857 /Applications
parent2cc39cfb0e7d21d460ef92c9d8fdb284bcec2be0 (diff)
downloadserenity-ba8990fb6c6c0d09dd255c0dc57013ed6b0a714e.zip
LibWeb: Rename Element::resolved_style() => specified_css_values()
This object represents the specified CSS values, so let's call it that.
Diffstat (limited to 'Applications')
-rw-r--r--Applications/Browser/InspectorWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/Browser/InspectorWidget.cpp b/Applications/Browser/InspectorWidget.cpp
index 63ab08116e..7e9111e513 100644
--- a/Applications/Browser/InspectorWidget.cpp
+++ b/Applications/Browser/InspectorWidget.cpp
@@ -43,8 +43,8 @@ void InspectorWidget::set_inspected_node(Web::DOM::Node* node)
m_document->set_inspected_node(node);
if (node && node->is_element()) {
auto& element = downcast<Web::DOM::Element>(*node);
- if (element.resolved_style()) {
- m_style_table_view->set_model(Web::StylePropertiesModel::create(*element.resolved_style()));
+ if (element.specified_css_values()) {
+ m_style_table_view->set_model(Web::StylePropertiesModel::create(*element.specified_css_values()));
m_computed_style_table_view->set_model(Web::StylePropertiesModel::create(*element.computed_style()));
}
} else {