mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibWeb: Whine about unrecognized CSS properties in debug log
This commit is contained in:
parent
9cbef10bdd
commit
bd33bfd120
1 changed files with 3 additions and 0 deletions
|
@ -759,6 +759,9 @@ public:
|
||||||
consume_specific(';');
|
consume_specific(';');
|
||||||
|
|
||||||
auto property_id = CSS::property_id_from_string(property_name);
|
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 };
|
return StyleProperty { property_id, parse_css_value(property_value), important };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue