LibWeb: Store fill-opacity in computed form in ComputedProperties

This commit is contained in:
Callum Law 2025-09-08 00:10:21 +12:00 committed by Tim Ledbetter
commit 9434b08bed
Notes: github-actions[bot] 2025-09-08 10:07:03 +00:00
3 changed files with 2 additions and 6 deletions

View file

@ -479,8 +479,7 @@ float ComputedProperties::opacity() const
float ComputedProperties::fill_opacity() const
{
auto const& value = property(PropertyID::FillOpacity);
return resolve_opacity_value(value);
return property(PropertyID::FillOpacity).as_number().number();
}
StrokeLinecap ComputedProperties::stroke_linecap() const