LibWeb: Store stroke-opacity in computed form in ComputedProperties

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

View file

@ -509,8 +509,7 @@ NumberOrCalculated ComputedProperties::stroke_miterlimit() const
float ComputedProperties::stroke_opacity() const
{
auto const& value = property(PropertyID::StrokeOpacity);
return resolve_opacity_value(value);
return property(PropertyID::StrokeOpacity).as_number().number();
}
float ComputedProperties::stop_opacity() const