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:
Emilio Cobos Álvarez 2018-02-07 07:02:48 +01:00
parent dc446198a7
commit d9ae47cb13
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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)