mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Propagate background-clip value for color layer separately
This is required for an optimization in a later commit
This commit is contained in:
Notes:
github-actions[bot]
2026-01-05 11:36:51 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/1708ce2e2b4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7255 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -431,6 +431,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
|
||||
computed_values.set_background_layers(move(background_layers));
|
||||
|
||||
computed_values.set_background_color(computed_style.color_or_fallback(CSS::PropertyID::BackgroundColor, color_resolution_context, CSS::InitialValues::background_color()));
|
||||
computed_values.set_background_color_clip(computed_style.background_color_clip());
|
||||
|
||||
computed_values.set_box_sizing(computed_style.box_sizing());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user