mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Use exhaustive match for cloning keyword value by default for property using enum class
This commit is contained in:
parent
097cea240f
commit
53a786cea6
9 changed files with 11 additions and 21 deletions
|
@ -25,7 +25,6 @@ ${helpers.single_keyword("text-transform",
|
|||
|
||||
${helpers.single_keyword("hyphens", "manual none auto",
|
||||
gecko_enum_prefix="StyleHyphens",
|
||||
gecko_inexhaustive=True,
|
||||
products="gecko", animation_value_type="discrete", extra_prefixes="moz",
|
||||
spec="https://drafts.csswg.org/css-text/#propdef-hyphens")}
|
||||
|
||||
|
@ -66,7 +65,6 @@ ${helpers.single_keyword("word-break",
|
|||
extra_gecko_values="inter-character"
|
||||
extra_specified="${'distribute' if product == 'gecko' else ''}"
|
||||
gecko_enum_prefix="StyleTextJustify"
|
||||
gecko_inexhaustive="True"
|
||||
animation_value_type="discrete"
|
||||
flags="APPLIES_TO_PLACEHOLDER",
|
||||
spec="https://drafts.csswg.org/css-text/#propdef-text-justify">
|
||||
|
@ -368,7 +366,6 @@ ${helpers.predefined_type("word-spacing",
|
|||
extra_gecko_values="-moz-pre-space"
|
||||
gecko_enum_prefix="StyleWhiteSpace"
|
||||
needs_conversion="True"
|
||||
gecko_inexhaustive="True"
|
||||
animation_value_type="discrete"
|
||||
// Only allowed for UA sheets, which set it
|
||||
// !important.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue