From b9bf5fb868a8cdf2fc255a082f4f9d156f209230 Mon Sep 17 00:00:00 2001 From: Philipp Zech Date: Sat, 29 Feb 2020 15:41:13 +0000 Subject: [PATCH] style: Convert color-interpolation #defines to an enum class. Differential Revision: https://phabricator.services.mozilla.com/D64813 --- components/style/properties/longhands/inherited_svg.mako.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/style/properties/longhands/inherited_svg.mako.rs b/components/style/properties/longhands/inherited_svg.mako.rs index 1839f90d6e6..73db38e0042 100644 --- a/components/style/properties/longhands/inherited_svg.mako.rs +++ b/components/style/properties/longhands/inherited_svg.mako.rs @@ -36,15 +36,16 @@ ${helpers.single_keyword( engines="gecko", animation_value_type="discrete", spec="https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationProperty", + gecko_enum_prefix="StyleColorInterpolation", )} ${helpers.single_keyword( "color-interpolation-filters", "linearrgb auto srgb", engines="gecko", - gecko_constant_prefix="NS_STYLE_COLOR_INTERPOLATION", animation_value_type="discrete", spec="https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationFiltersProperty", + gecko_enum_prefix="StyleColorInterpolation", )} ${helpers.predefined_type(