File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -2567,17 +2567,6 @@ GC::Ref<ComputedProperties> StyleComputer::compute_properties(DOM::AbstractEleme
25672567 // 5. Add or modify CSS-defined animations
25682568 process_animation_definitions (computed_style, abstract_element);
25692569
2570- // FIXME: Support multiple entries for `animation` properties
2571- // Animation declarations [css-animations-2]
2572- auto animation_name = [&]() -> Optional<String> {
2573- auto const & animation_name = computed_style->property (PropertyID::AnimationName);
2574- if (animation_name.is_keyword () && animation_name.to_keyword () == Keyword::None)
2575- return OptionalNone {};
2576- if (animation_name.is_string ())
2577- return animation_name.as_string ().string_value ().to_string ();
2578- return animation_name.to_string (SerializationMode::Normal);
2579- }();
2580-
25812570 auto animations = abstract_element.element ().get_animations_internal (Animations::GetAnimationsOptions { .subtree = false });
25822571 if (animations.is_exception ()) {
25832572 dbgln (" Error getting animations for element {}" , abstract_element.debug_description ());
You can’t perform that action at this time.
0 commit comments