mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb/CSS: Hide "No property (from N properties) matched foo" message
This greatly reduces the amount of log spam on certain websites.
This commit is contained in:
parent
12ca074671
commit
8877a4f691
Notes:
github-actions[bot]
2025-01-29 12:05:17 +00:00
Author: https://github.com/AtkinsSJ
Commit: 8877a4f691
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3396
Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 5 additions and 3 deletions
|
@ -8860,9 +8860,11 @@ Parser::ParseErrorOr<NonnullRefPtr<CSSStyleValue>> Parser::parse_css_value(Prope
|
|||
}
|
||||
|
||||
// No property matched, so we're done.
|
||||
dbgln("No property (from {} properties) matched {}", unassigned_properties.size(), stream.next_token().to_debug_string());
|
||||
for (auto id : unassigned_properties)
|
||||
dbgln(" {}", string_from_property_id(id));
|
||||
if constexpr (CSS_PARSER_DEBUG) {
|
||||
dbgln("No property (from {} properties) matched {}", unassigned_properties.size(), stream.next_token().to_debug_string());
|
||||
for (auto id : unassigned_properties)
|
||||
dbgln(" {}", string_from_property_id(id));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue