LibWeb: Whine about unrecognized CSS properties in debug log

This commit is contained in:
Andreas Kling 2020-06-12 14:15:55 +02:00
parent 9cbef10bdd
commit bd33bfd120

View file

@ -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 };
}