mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
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:
parent
e78cb71eb3
commit
fc5cdd69a0
Notes:
github-actions[bot]
2025-10-23 09:11:30 +00:00
Author: https://github.com/Calme1709
Commit: fc5cdd69a0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6508
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 50 additions and 42 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue