mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 15:17:45 +00:00
LibWeb: Correct @font-face
debug log messages
This commit is contained in:
parent
bd0ccbe3c8
commit
d0808e5d94
1 changed files with 2 additions and 2 deletions
|
@ -6694,7 +6694,7 @@ CSSRule* Parser::parse_font_face_rule(TokenStream<ComponentValue>& tokens)
|
||||||
|
|
||||||
for (auto& declaration_or_at_rule : declarations_and_at_rules) {
|
for (auto& declaration_or_at_rule : declarations_and_at_rules) {
|
||||||
if (declaration_or_at_rule.is_at_rule()) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6787,7 +6787,7 @@ CSSRule* Parser::parse_font_face_rule(TokenStream<ComponentValue>& tokens)
|
||||||
continue;
|
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()) {
|
if (!font_family.has_value()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue