Meta/LibWeb: Use correct shorthand range in is_inherited_property

This commit is contained in:
Pavel Shliak
2024-12-20 02:04:02 +04:00
committed by Andreas Kling
parent 2be45c1ccf
commit 78595f05d8
3 changed files with 31 additions and 1 deletions

View File

@@ -595,7 +595,7 @@ bool is_animatable_property(PropertyID property_id)
bool is_inherited_property(PropertyID property_id)
{
if (property_id >= first_inherited_shorthand_property_id && property_id <= last_inherited_longhand_property_id)
if (property_id >= first_inherited_shorthand_property_id && property_id <= last_inherited_shorthand_property_id)
return true;
if (property_id >= first_inherited_longhand_property_id && property_id <= last_inherited_longhand_property_id)
return true;