mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
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:
parent
89bf34f46e
commit
d89e4ad4f3
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
${helpers.single_keyword(
|
${helpers.single_keyword(
|
||||||
"border-collapse",
|
"border-collapse",
|
||||||
"separate collapse",
|
"separate collapse",
|
||||||
gecko_constant_prefix="NS_STYLE_BORDER",
|
gecko_enum_prefix="StyleBorderCollapse",
|
||||||
animation_value_type="discrete",
|
animation_value_type="discrete",
|
||||||
spec="https://drafts.csswg.org/css-tables/#propdef-border-collapse",
|
spec="https://drafts.csswg.org/css-tables/#propdef-border-collapse",
|
||||||
servo_restyle_damage = "reflow",
|
servo_restyle_damage = "reflow",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue