diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-06 11:42:01 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-06 14:58:48 +0100 |
commit | ba8990fb6c6c0d09dd255c0dc57013ed6b0a714e (patch) | |
tree | fe0610ceca635d80b9c132f31f9277c50022e857 /Applications | |
parent | 2cc39cfb0e7d21d460ef92c9d8fdb284bcec2be0 (diff) | |
download | serenity-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.cpp | 4 |
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 { |