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

@ -813,10 +813,6 @@ RefPtr<StyleValue const> CSSStyleProperties::style_value_for_computed_property(L
return get_computed_value(property_id);
}
case PropertyID::StopOpacity: {
auto opacity = layout_node.computed_values().stop_opacity();
return NumberStyleValue::create(opacity);
}
case PropertyID::StrokeOpacity: {
auto opacity = layout_node.computed_values().stroke_opacity();
return NumberStyleValue::create(opacity);