LibWeb: Parse the will-change property

This property provides a hint to the rendering engine about properties
that are likely to change in the near future, allowing for early
optimizations to be applied.
This commit is contained in:
Tim Ledbetter 2025-08-16 08:39:18 +01:00 committed by Sam Atkins
commit 4f663ca6e7
Notes: github-actions[bot] 2025-08-18 11:37:59 +00:00
16 changed files with 335 additions and 2 deletions

View file

@ -1015,6 +1015,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
computed_values.set_mix_blend_mode(computed_style.mix_blend_mode());
computed_values.set_view_transition_name(computed_style.view_transition_name());
computed_values.set_contain(computed_style.contain());
computed_values.set_will_change(computed_style.will_change());
computed_values.set_caret_color(computed_style.caret_color(*this));
computed_values.set_color_interpolation(computed_style.color_interpolation());