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
This commit is contained in:
Jeremy Ir 2019-05-05 23:39:27 +00:00 committed by Emilio Cobos Álvarez
parent 89bf34f46e
commit d89e4ad4f3

View file

@ -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",