style: "%s" % foo is pointless.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-06 22:40:46 +01:00
parent a0d0769998
commit 100f4cd7c3
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -196,7 +196,7 @@ ${helpers.predefined_type("order", "Integer", "0",
%> %>
% if product == "gecko": % if product == "gecko":
// width, height, block-size, inline-size // width, height, block-size, inline-size
${helpers.gecko_size_type("%s" % size, "MozLength", "auto()", ${helpers.gecko_size_type(size, "MozLength", "auto()",
logical, logical,
spec=spec % size, spec=spec % size,
animation_value_type="MozLength")} animation_value_type="MozLength")}
@ -212,7 +212,7 @@ ${helpers.predefined_type("order", "Integer", "0",
animation_value_type="MaxLength")} animation_value_type="MaxLength")}
% else: % else:
// servo versions (no keyword support) // servo versions (no keyword support)
${helpers.predefined_type("%s" % size, ${helpers.predefined_type(size,
"LengthOrPercentageOrAuto", "LengthOrPercentageOrAuto",
"computed::LengthOrPercentageOrAuto::Auto", "computed::LengthOrPercentageOrAuto::Auto",
"parse_non_negative", "parse_non_negative",