diff --git a/components/style/properties/longhand/position.mako.rs b/components/style/properties/longhand/position.mako.rs index 795aa7513e4..4fac4560c19 100644 --- a/components/style/properties/longhand/position.mako.rs +++ b/components/style/properties/longhand/position.mako.rs @@ -196,7 +196,7 @@ ${helpers.predefined_type("order", "Integer", "0", %> % if product == "gecko": // width, height, block-size, inline-size - ${helpers.gecko_size_type("%s" % size, "MozLength", "auto()", + ${helpers.gecko_size_type(size, "MozLength", "auto()", logical, spec=spec % size, animation_value_type="MozLength")} @@ -212,7 +212,7 @@ ${helpers.predefined_type("order", "Integer", "0", animation_value_type="MaxLength")} % else: // servo versions (no keyword support) - ${helpers.predefined_type("%s" % size, + ${helpers.predefined_type(size, "LengthOrPercentageOrAuto", "computed::LengthOrPercentageOrAuto::Auto", "parse_non_negative",