From 26885885387f476170923a07b3b5edd4760a760e Mon Sep 17 00:00:00 2001 From: Kristen Wright Date: Tue, 8 May 2018 15:05:33 -0700 Subject: [PATCH] style: Convert NS_STYLE_IMAGELAYER_ATTACHMENT_* to enum class. Converted NS_STYLE_IMAGELAYER_ATTATCHMENT_* vals to enum class, StyleImageLayerAttachment. Bug: 1459367 Reviewed-by: Manishearth --- components/style/properties/longhand/background.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/longhand/background.mako.rs b/components/style/properties/longhand/background.mako.rs index d6b9e6e69ba..a1f1b039434 100644 --- a/components/style/properties/longhand/background.mako.rs +++ b/components/style/properties/longhand/background.mako.rs @@ -54,7 +54,7 @@ ${helpers.predefined_type( ${helpers.single_keyword("background-attachment", "scroll fixed" + (" local" if product == "gecko" else ""), vector=True, - gecko_constant_prefix="NS_STYLE_IMAGELAYER_ATTACHMENT", + gecko_enum_prefix="StyleImageLayerAttachment", spec="https://drafts.csswg.org/css-backgrounds/#the-background-attachment", animation_value_type="discrete", flags="APPLIES_TO_FIRST_LETTER APPLIES_TO_FIRST_LINE APPLIES_TO_PLACEHOLDER")}