LibWeb: Don't mark whether shorthand properties are inherited

Inheritance applies to longhands individually so whether a shorthand was
marked as inherit or not is irrelevant
This commit is contained in:
Callum Law
2025-12-29 10:22:37 +13:00
committed by Jelle Raaijmakers
parent e79644bf6b
commit cbd07b2153
Notes: github-actions[bot] 2025-12-29 15:12:22 +00:00
3 changed files with 24 additions and 77 deletions

View File

@@ -24,7 +24,7 @@ Each property will have some set of these fields on it:
| `affects-layout` | No | `true` | Boolean. Whether changing this property will invalidate the element's layout. | `bool property_affects_layout(PropertyID)` |
| `affects-stacking-context` | No | `false` | Boolean. Whether this property can cause a new stacking context for the element. | `bool property_affects_stacking_context(PropertyID)` |
| `animation-type` | Yes | | String. How the property should be animated. Defined by the spec. See below. | `AnimationType animation_type_from_longhand_property(PropertyID)` |
| `inherited` | Yes | | Boolean. Whether the property is inherited by its child elements. | `bool is_inherited_property(PropertyID)` |
| `inherited` | Yes | | Boolean. Whether the property is inherited by its child elements. Only applicable to longhand properties. | `bool is_inherited_property(PropertyID)` |
| `initial` | Yes | | String. The property's initial value if it is not specified. | `NonnullRefPtr<StyleValue const> property_initial_value(PropertyID)` |
| `legacy-alias-for` | No | Nothing | String. The name of a property this is an alias for. See below. | |
| `logical-alias-for` | No | Nothing | An object. See below. | `bool property_is_logical_alias(PropertyID);`<br/>`PropertyID map_logical_alias_to_physical_property(PropertyID, LogicalAliasMappingContext const&)` |