LibWeb: Store stop-opacity in computed form in ComputedProperties

This commit is contained in:
Callum Law 2025-09-08 00:13:13 +12:00 committed by Tim Ledbetter
commit c045969234
Notes: github-actions[bot] 2025-09-08 10:06:57 +00:00
3 changed files with 2 additions and 6 deletions

View file

@ -515,8 +515,7 @@ float ComputedProperties::stroke_opacity() const
float ComputedProperties::stop_opacity() const
{
auto const& value = property(PropertyID::StopOpacity);
return resolve_opacity_value(value);
return property(PropertyID::StopOpacity).as_number().number();
}
FillRule ComputedProperties::fill_rule() const