style: Convert NS_STYLE_IMAGELAYER_ATTACHMENT_* to enum class.

Converted NS_STYLE_IMAGELAYER_ATTATCHMENT_* vals to enum class, StyleImageLayerAttachment.

Bug: 1459367
Reviewed-by: Manishearth
This commit is contained in:
Kristen Wright 2018-05-08 15:05:33 -07:00 committed by Emilio Cobos Álvarez
parent 06dbb6700d
commit 2688588538
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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")}