summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/CSS/StyleResolver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibHTML/CSS/StyleResolver.cpp')
-rw-r--r--Libraries/LibHTML/CSS/StyleResolver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibHTML/CSS/StyleResolver.cpp b/Libraries/LibHTML/CSS/StyleResolver.cpp
index 4a58de33e2..2d1119d9ea 100644
--- a/Libraries/LibHTML/CSS/StyleResolver.cpp
+++ b/Libraries/LibHTML/CSS/StyleResolver.cpp
@@ -69,6 +69,8 @@ NonnullRefPtr<StyleProperties> StyleResolver::resolve_style(const Element& eleme
});
}
+ element.apply_presentational_hints(*style_properties);
+
auto matching_rules = collect_matching_rules(element);
for (auto& rule : matching_rules) {
for (auto& property : rule.declaration().properties()) {