diff --git a/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp b/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp index 7bf2dc92561..128530257db 100644 --- a/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp +++ b/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp @@ -835,7 +835,7 @@ WebIDL::ExceptionOr> KeyframeEffect::get_keyframes for (auto const& [id, value] : keyframe.parsed_properties()) { auto value_string = JS::PrimitiveString::create(vm, value->to_string()); - TRY(object->set(JS::PropertyKey(DeprecatedFlyString(CSS::string_from_property_id(id))), value_string, ShouldThrowExceptions::Yes)); + TRY(object->set(JS::PropertyKey(DeprecatedFlyString(CSS::camel_case_string_from_property_id(id))), value_string, ShouldThrowExceptions::Yes)); } m_keyframe_objects.append(object);