mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Properly handle exhaustive matches in animation keywords to avoid a warning.
Need to do the gecko_inexhaustive thing because those animation properties have an EndGuard_ generated by IPDL I suspect.
This commit is contained in:
parent
67fae7a2ce
commit
20d9a076d4
2 changed files with 4 additions and 0 deletions
|
@ -247,6 +247,7 @@ ${helpers.single_keyword(
|
|||
gecko_enum_prefix="PlaybackDirection",
|
||||
custom_consts=animation_direction_custom_consts,
|
||||
extra_prefixes=animation_extra_prefixes,
|
||||
gecko_inexhaustive=True,
|
||||
spec="https://drafts.csswg.org/css-animations/#propdef-animation-direction",
|
||||
allowed_in_keyframe_block=False,
|
||||
)}
|
||||
|
@ -271,6 +272,7 @@ ${helpers.single_keyword(
|
|||
vector=True,
|
||||
gecko_enum_prefix="FillMode",
|
||||
extra_prefixes=animation_extra_prefixes,
|
||||
gecko_inexhaustive=True,
|
||||
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