mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 16:35:08 +00:00
LibWeb: Fix opacity ComputedCSSStyleDeclaration
There was a classic copy&paste error, opacity wasn't getting the right computed value to convert.
This commit is contained in:
parent
102d345a8f
commit
4c1da4d43a
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ Optional<StyleProperty> ComputedCSSStyleDeclaration::property(PropertyID propert
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
case CSS::PropertyID::Opacity: {
|
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())
|
if (!maybe_opacity.has_value())
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue