mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibWeb: Whine about unrecognized CSS properties in debug log
This commit is contained in:
parent
9cbef10bdd
commit
bd33bfd120
Notes:
sideshowbarker
2024-07-19 05:42:45 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/bd33bfd120e
1 changed files with 3 additions and 0 deletions
|
@ -759,6 +759,9 @@ public:
|
|||
consume_specific(';');
|
||||
|
||||
auto property_id = CSS::property_id_from_string(property_name);
|
||||
if (property_id == CSS::PropertyID::Invalid) {
|
||||
dbg() << "CSSParser: Unrecognized property '" << property_name << "'";
|
||||
}
|
||||
return StyleProperty { property_id, parse_css_value(property_value), important };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue