From d0808e5d9469b2fe28af948b1d6b8f2ce5239ff8 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 30 Jun 2023 14:35:22 +0100 Subject: [PATCH] LibWeb: Correct `@font-face` debug log messages --- Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp index 7fd96d046b..4e2e738cac 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp @@ -6694,7 +6694,7 @@ CSSRule* Parser::parse_font_face_rule(TokenStream& tokens) for (auto& declaration_or_at_rule : declarations_and_at_rules) { if (declaration_or_at_rule.is_at_rule()) { - dbgln_if(CSS_PARSER_DEBUG, "CSSParser: CSS at-rules are not allowed in @font-family; discarding."); + dbgln_if(CSS_PARSER_DEBUG, "CSSParser: CSS at-rules are not allowed in @font-face; discarding."); continue; } @@ -6787,7 +6787,7 @@ CSSRule* Parser::parse_font_face_rule(TokenStream& tokens) continue; } - dbgln_if(CSS_PARSER_DEBUG, "CSSParser: Unrecognized descriptor '{}' in @font-family; discarding.", declaration.name()); + dbgln_if(CSS_PARSER_DEBUG, "CSSParser: Unrecognized descriptor '{}' in @font-face; discarding.", declaration.name()); } if (!font_family.has_value()) {