LibWeb: Propagate background-clip value for color layer separately

This is required for an optimization in a later commit
This commit is contained in:
Callum Law
2025-12-28 20:16:53 +13:00
committed by Sam Atkins
parent 558f034007
commit 1708ce2e2b
Notes: github-actions[bot] 2026-01-05 11:36:51 +00:00
7 changed files with 27 additions and 9 deletions

View File

@@ -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());