diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSPropertyID.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSPropertyID.cpp index eda057e8183..e34e97bf441 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSPropertyID.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSPropertyID.cpp @@ -322,6 +322,14 @@ template<> struct Traits : public DefaultTraits { static unsigned hash(Web::CSS::PropertyID property_id) { return int_hash((unsigned)property_id); } }; + +template<> +struct Formatter : Formatter { + ErrorOr format(FormatBuilder& builder, Web::CSS::PropertyID const& property_id) + { + return Formatter::format(builder, Web::CSS::string_from_property_id(property_id)); + } +}; } // namespace AK )~~~");