LibWeb: Parse animation-* properties as comma separated lists

We are yet to actually support having more than one value but this gets
us closer and gains us some WPT tests in the process.
This commit is contained in:
Callum Law 2025-09-16 16:54:54 +12:00 committed by Tim Ledbetter
commit 030e6d7c9b
Notes: github-actions[bot] 2025-09-24 11:00:13 +00:00
19 changed files with 58 additions and 51 deletions

View file

@ -2613,6 +2613,7 @@ GC::Ref<ComputedProperties> StyleComputer::compute_properties(DOM::AbstractEleme
// 4. Convert properties into their computed forms
compute_property_values(computed_style);
// FIXME: Support multiple entries for `animation` properties
// Animation declarations [css-animations-2]
auto animation_name = [&]() -> Optional<String> {
auto const& animation_name = computed_style->property(PropertyID::AnimationName);