diff options
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp index 24acb508bf..b52e643a01 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp @@ -2088,7 +2088,7 @@ Optional<Color> Parser::parse_color(ParsingContext const& context, StyleComponen if (component_value.is(Token::Type::Ident)) { auto ident = component_value.token().ident(); - auto color = Color::from_string(ident.to_lowercase_string()); + auto color = Color::from_string(ident); if (color.has_value()) return color; |