mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
style: "%s" % foo is pointless.
This commit is contained in:
parent
a0d0769998
commit
100f4cd7c3
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue