diff options
-rw-r--r-- | components/style/properties/helpers/animated_properties.mako.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/style/properties/helpers/animated_properties.mako.rs b/components/style/properties/helpers/animated_properties.mako.rs index ee3f601cdb9..5f98b7e5c0a 100644 --- a/components/style/properties/helpers/animated_properties.mako.rs +++ b/components/style/properties/helpers/animated_properties.mako.rs @@ -576,6 +576,12 @@ impl AnimationValue { % for prop in data.longhands: % if prop.animatable: PropertyDeclaration::${prop.camel_case}(ref val) => { + context.for_non_inherited_property = + % if prop.style_struct.inherited: + None; + % else: + Some(LonghandId::${prop.camel_case}); + % endif % if prop.ident in SYSTEM_FONT_LONGHANDS and product == "gecko": if let Some(sf) = val.get_system() { longhands::system_font::resolve_system_font(sf, context); |