diff --git a/components/style/properties/helpers.mako.rs b/components/style/properties/helpers.mako.rs index d2783b92a70..6140ce1f050 100644 --- a/components/style/properties/helpers.mako.rs +++ b/components/style/properties/helpers.mako.rs @@ -16,8 +16,8 @@ -<%def name="predefined_type(name, type, initial_value, parse_method='parse', products='gecko servo')"> - <%self:longhand name="${name}" products="${products}"> +<%def name="predefined_type(name, type, initial_value, parse_method='parse', **kwargs)"> + <%call expr="longhand(name, **kwargs)"> #[allow(unused_imports)] use app_units::Au; pub type SpecifiedValue = specified::${type}; @@ -29,7 +29,7 @@ -> Result { specified::${type}::${parse_method}(input) } - + <%def name="raw_longhand(*args, **kwargs)">