mirror of
https://github.com/servo/servo.git
synced 2025-07-10 00:43:39 +01:00
Add gecko_enum_prefix for animation-direction and animation-fill-mode. r=heycam
This commit is contained in:
parent
ff1db63922
commit
00b3dda3e5
1 changed files with 4 additions and 0 deletions
|
@ -891,11 +891,14 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
|
|||
impl ComputedValueAsSpecified for SpecifiedValue {}
|
||||
</%helpers:vector_longhand>
|
||||
|
||||
<% animation_direction_custom_consts = { "alternate-reverse": "Alternate_reverse" } %>
|
||||
${helpers.single_keyword("animation-direction",
|
||||
"normal reverse alternate alternate-reverse",
|
||||
need_index=True,
|
||||
animatable=False,
|
||||
vector=True,
|
||||
gecko_enum_prefix="PlaybackDirection",
|
||||
custom_consts=animation_direction_custom_consts,
|
||||
spec="https://drafts.csswg.org/css-animations/#propdef-animation-direction",
|
||||
allowed_in_keyframe_block=False)}
|
||||
|
||||
|
@ -915,6 +918,7 @@ ${helpers.single_keyword("animation-fill-mode",
|
|||
need_index=True,
|
||||
animatable=False,
|
||||
vector=True,
|
||||
gecko_enum_prefix="FillMode",
|
||||
spec="https://drafts.csswg.org/css-animations/#propdef-animation-fill-mode",
|
||||
allowed_in_keyframe_block=False)}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue