mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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":
|
||||
// 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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue