LibWeb: Extract transition coordination logic to reusable method

This will be useful for other coordinating list property groups (e.g.
background and animation)
This commit is contained in:
Callum Law 2025-10-18 18:03:58 +13:00 committed by Sam Atkins
parent e78cb71eb3
commit fc5cdd69a0
Notes: github-actions[bot] 2025-10-23 09:11:30 +00:00
4 changed files with 50 additions and 42 deletions

View file

@ -392,6 +392,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
computed_values.set_vertical_align(computed_style.vertical_align());
{
// FIXME: Use `ComputedProperties::assemble_coordinated_value_list()` for this
auto const& attachments = computed_style.property(CSS::PropertyID::BackgroundAttachment);
auto const& clips = computed_style.property(CSS::PropertyID::BackgroundClip);
auto const& images = computed_style.property(CSS::PropertyID::BackgroundImage);