From d89e4ad4f38afae2a0f05e12049038aa236691d4 Mon Sep 17 00:00:00 2001 From: Jeremy Ir Date: Sun, 5 May 2019 23:39:27 +0000 Subject: [PATCH] style: Convert NS_STYLE_BORDER to an enum class in nsStyleConsts.h. Converting the NS_STYLE_BORDER definitions in to enumerated classes as per bug 1277133. The original constants broke the convention used by the rest of the definitions as the CSS property being described is `border-collapse`, so corrections were made with the migration to the enumerated class. Differential Revision: https://phabricator.services.mozilla.com/D29951 --- components/style/properties/longhands/inherited_table.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/longhands/inherited_table.mako.rs b/components/style/properties/longhands/inherited_table.mako.rs index 7dc4d73fe62..246a073d2a8 100644 --- a/components/style/properties/longhands/inherited_table.mako.rs +++ b/components/style/properties/longhands/inherited_table.mako.rs @@ -9,7 +9,7 @@ ${helpers.single_keyword( "border-collapse", "separate collapse", - gecko_constant_prefix="NS_STYLE_BORDER", + gecko_enum_prefix="StyleBorderCollapse", animation_value_type="discrete", spec="https://drafts.csswg.org/css-tables/#propdef-border-collapse", servo_restyle_damage = "reflow",