style: Convert color-interpolation #defines to an enum class.

Differential Revision: https://phabricator.services.mozilla.com/D64813
This commit is contained in:
Philipp Zech 2020-02-29 15:41:13 +00:00 committed by Emilio Cobos Álvarez
parent 1bd551ddc2
commit b9bf5fb868

View file

@ -36,15 +36,16 @@ ${helpers.single_keyword(
engines="gecko", engines="gecko",
animation_value_type="discrete", animation_value_type="discrete",
spec="https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationProperty", spec="https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationProperty",
gecko_enum_prefix="StyleColorInterpolation",
)} )}
${helpers.single_keyword( ${helpers.single_keyword(
"color-interpolation-filters", "color-interpolation-filters",
"linearrgb auto srgb", "linearrgb auto srgb",
engines="gecko", engines="gecko",
gecko_constant_prefix="NS_STYLE_COLOR_INTERPOLATION",
animation_value_type="discrete", animation_value_type="discrete",
spec="https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationFiltersProperty", spec="https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationFiltersProperty",
gecko_enum_prefix="StyleColorInterpolation",
)} )}
${helpers.predefined_type( ${helpers.predefined_type(