mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +00:00
Meta/LibWeb: Use correct shorthand range in is_inherited_property
This commit is contained in:
parent
2be45c1ccf
commit
78595f05d8
Notes:
github-actions[bot]
2024-12-22 11:35:07 +00:00
Author: https://github.com/shlyakpavel
Commit: 78595f05d8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2984
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/gmta
3 changed files with 31 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue