From 6e87a98f6d80b742b07d28a608d770f19e7624e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20=C5=A0olt=C3=A9s?= Date: Sat, 19 Sep 2026 16:19:35 +0200 Subject: [PATCH] Update native animation list contract --- tests/NativeWeb/css_service.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/NativeWeb/css_service.cpp b/tests/NativeWeb/css_service.cpp index bf50d7de..4cdabbe3 100644 --- a/tests/NativeWeb/css_service.cpp +++ b/tests/NativeWeb/css_service.cpp @@ -591,7 +591,8 @@ int main(int argc,char** argv) { webscene_native::css::apply_animation_shorthand(animated.style,"none"); webscene_native::css::configure_keyframes(animated.style,definitions); animated_document.update_style_animations(animated); - if(animated.animation_runtime() && animated.animation_runtime()->opacity_keyframe_animation_active) return 64; + if(animated.animation_runtime() + && !animated.animation_runtime()->keyframe_animations.empty()) return 64; webscene_native::node_style::pseudo_element generated; const auto apply_generated=[&](const std::string& name,const std::string& value) { return webscene_native::css::apply_pseudo_value(generated,0x123456FF,false,name,value);