mirror of
https://github.com/servo/servo.git
synced 2025-08-20 04:45:33 +01:00
style: Don't generate catch-all branch if a image layer keyword value is exhaustive.
Bug: 1463978 Reviewed-by: emilio MozReview-Commit-ID: H8T9Low6kqY
This commit is contained in:
parent
6306cc7e2d
commit
8f367be650
3 changed files with 48 additions and 33 deletions
|
@ -108,25 +108,32 @@ ${helpers.predefined_type(
|
|||
)}
|
||||
% endfor
|
||||
|
||||
${helpers.single_keyword("mask-clip",
|
||||
"border-box content-box padding-box",
|
||||
extra_gecko_values="fill-box stroke-box view-box no-clip",
|
||||
vector=True,
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
gecko_enum_prefix="StyleGeometryBox",
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-clip")}
|
||||
${helpers.single_keyword(
|
||||
"mask-clip",
|
||||
"border-box content-box padding-box",
|
||||
extra_gecko_values="fill-box stroke-box view-box no-clip",
|
||||
vector=True,
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
gecko_enum_prefix="StyleGeometryBox",
|
||||
gecko_inexhaustive=True,
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-clip",
|
||||
)}
|
||||
|
||||
${helpers.single_keyword(
|
||||
"mask-origin",
|
||||
"border-box content-box padding-box",
|
||||
extra_gecko_values="fill-box stroke-box view-box",
|
||||
vector=True,
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
gecko_enum_prefix="StyleGeometryBox",
|
||||
gecko_inexhaustive=True,
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-origin",
|
||||
)}
|
||||
|
||||
${helpers.single_keyword("mask-origin",
|
||||
"border-box content-box padding-box",
|
||||
extra_gecko_values="fill-box stroke-box view-box",
|
||||
vector=True,
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
gecko_enum_prefix="StyleGeometryBox",
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-origin")}
|
||||
${helpers.predefined_type(
|
||||
"mask-size",
|
||||
"background::BackgroundSize",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue