diff --git a/tests/NativeWeb/css_service.cpp b/tests/NativeWeb/css_service.cpp index 4cdabbe3..8c3a41fe 100644 --- a/tests/NativeWeb/css_service.cpp +++ b/tests/NativeWeb/css_service.cpp @@ -592,7 +592,10 @@ int main(int argc,char** argv) { webscene_native::css::configure_keyframes(animated.style,definitions); animated_document.update_style_animations(animated); if(animated.animation_runtime() - && !animated.animation_runtime()->keyframe_animations.empty()) return 64; + && std::any_of( + animated.animation_runtime()->keyframe_animations.begin(), + animated.animation_runtime()->keyframe_animations.end(), + [](const auto& track) { return track.active; })) 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);