We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fca9ee commit 3ede1d0Copy full SHA for 3ede1d0
Userland/Libraries/LibWeb/CSS/Parser/DeprecatedCSSParser.cpp
@@ -217,7 +217,7 @@ static bool takes_integer_value(CSS::PropertyID property_id)
217
return property_id == CSS::PropertyID::ZIndex || property_id == CSS::PropertyID::FontWeight || property_id == CSS::PropertyID::Custom;
218
}
219
220
-static StringView parse_custom_property_name(StringView value)
+static StringView parse_custom_property_name(const StringView& value)
221
{
222
if (!value.starts_with("var(") && !value.ends_with(")"))
223
return {};
0 commit comments