mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Store stop-opacity in computed form in ComputedProperties
This commit is contained in:
committed by
Tim Ledbetter
parent
9434b08bed
commit
c045969234
Notes:
github-actions[bot]
2025-09-08 10:06:57 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c045969234e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6112 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/tcl3 ✅
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user