summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibWeb/CSS/ComputedCSSStyleDeclaration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/ComputedCSSStyleDeclaration.cpp b/Userland/Libraries/LibWeb/CSS/ComputedCSSStyleDeclaration.cpp
index 840efe6a01..a48964062c 100644
--- a/Userland/Libraries/LibWeb/CSS/ComputedCSSStyleDeclaration.cpp
+++ b/Userland/Libraries/LibWeb/CSS/ComputedCSSStyleDeclaration.cpp
@@ -495,7 +495,7 @@ Optional<StyleProperty> ComputedCSSStyleDeclaration::property(PropertyID propert
};
}
case CSS::PropertyID::Opacity: {
- auto maybe_opacity = layout_node.computed_values().flex_grow_factor();
+ auto maybe_opacity = layout_node.computed_values().opacity();
if (!maybe_opacity.has_value())
return {};