diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSPropertyID.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSPropertyID.cpp index fbdb962be88..b909d12bf6c 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSPropertyID.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSPropertyID.cpp @@ -402,6 +402,7 @@ ErrorOr generate_implementation_file(JsonObject& properties, Core::File& f #include #include #include +#include #include #include #include @@ -436,6 +437,9 @@ Optional property_id_from_camel_case_string(StringView string) Optional property_id_from_string(StringView string) { + if (is_a_custom_property_name_string(string)) + return PropertyID::Custom; + if (Infra::is_ascii_case_insensitive_match(string, "all"sv)) return PropertyID::All; )~~~");