mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 23:30:20 +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
Notes:
sideshowbarker
2024-07-18 04:00:52 +09:00
Author: https://github.com/TobyAsE
Commit: 4c1da4d43a
Pull-request: https://github.com/SerenityOS/serenity/pull/10017
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