mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
style: Fix interpolation of the gecko-size properties.
Followup to #19966 because, well... The animation code should probably be more obvious.
This commit is contained in:
parent
dc446198a7
commit
d9ae47cb13
1 changed files with 4 additions and 4 deletions
|
@ -171,7 +171,7 @@ ${helpers.predefined_type("order", "Integer", "0",
|
||||||
"MozLength",
|
"MozLength",
|
||||||
"computed::MozLength::auto()",
|
"computed::MozLength::auto()",
|
||||||
extra_prefixes="webkit",
|
extra_prefixes="webkit",
|
||||||
animation_value_type="ComputedValue",
|
animation_value_type="MozLength",
|
||||||
allow_quirks=True,
|
allow_quirks=True,
|
||||||
spec="https://drafts.csswg.org/css-flexbox/#flex-basis-property"
|
spec="https://drafts.csswg.org/css-flexbox/#flex-basis-property"
|
||||||
)}
|
)}
|
||||||
|
@ -208,7 +208,7 @@ ${helpers.predefined_type("order", "Integer", "0",
|
||||||
logical=logical,
|
logical=logical,
|
||||||
allow_quirks=not logical,
|
allow_quirks=not logical,
|
||||||
spec=spec % size,
|
spec=spec % size,
|
||||||
animation_value_type="ComputedValues"
|
animation_value_type="MozLength"
|
||||||
)}
|
)}
|
||||||
// min-width, min-height, min-block-size, min-inline-size,
|
// min-width, min-height, min-block-size, min-inline-size,
|
||||||
${helpers.predefined_type(
|
${helpers.predefined_type(
|
||||||
|
@ -219,7 +219,7 @@ ${helpers.predefined_type("order", "Integer", "0",
|
||||||
logical=logical,
|
logical=logical,
|
||||||
allow_quirks=not logical,
|
allow_quirks=not logical,
|
||||||
spec=spec % size,
|
spec=spec % size,
|
||||||
animation_value_type="ComputedValue"
|
animation_value_type="MozLength"
|
||||||
)}
|
)}
|
||||||
${helpers.predefined_type(
|
${helpers.predefined_type(
|
||||||
"max-%s" % size,
|
"max-%s" % size,
|
||||||
|
@ -229,7 +229,7 @@ ${helpers.predefined_type("order", "Integer", "0",
|
||||||
logical=logical,
|
logical=logical,
|
||||||
allow_quirks=not logical,
|
allow_quirks=not logical,
|
||||||
spec=spec % size,
|
spec=spec % size,
|
||||||
animation_value_type="ComputedValue",
|
animation_value_type="MaxLength",
|
||||||
)}
|
)}
|
||||||
% else:
|
% else:
|
||||||
// servo versions (no keyword support)
|
// servo versions (no keyword support)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue