diff --git a/Libraries/LibWeb/CSS/Parser/SelectorParsing.cpp b/Libraries/LibWeb/CSS/Parser/SelectorParsing.cpp index 8f644885083..03c10b35550 100644 --- a/Libraries/LibWeb/CSS/Parser/SelectorParsing.cpp +++ b/Libraries/LibWeb/CSS/Parser/SelectorParsing.cpp @@ -475,12 +475,12 @@ Parser::ParseErrorOr Parser::parse_pseudo_simple_selec } else if (auto custom_ident = parse_custom_ident(function_tokens, {}); custom_ident.has_value()) { value = Selector::PseudoElementSelector::PTNameSelector { .value = custom_ident.release_value() }; } else { - dbgln_if(CSS_PARSER_DEBUG, "Invalid in :{}() - expected `*` or ``, got `{}`", pseudo_name, function_tokens.next_token().to_debug_string()); + dbgln_if(CSS_PARSER_DEBUG, "Invalid in ::{}() - expected `*` or ``, got `{}`", pseudo_name, function_tokens.next_token().to_debug_string()); return ParseError::SyntaxError; } function_tokens.discard_whitespace(); if (function_tokens.has_next_token()) { - dbgln_if(CSS_PARSER_DEBUG, "Invalid in :{}() - trailing tokens", pseudo_name); + dbgln_if(CSS_PARSER_DEBUG, "Invalid in ::{}() - trailing tokens", pseudo_name); return ParseError::SyntaxError; } break;