Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Get rid of gecko_size_type. #19966

Merged
merged 5 commits into from Feb 7, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

style: "%s" % foo is pointless.

  • Loading branch information
emilio committed Feb 6, 2018
commit 100f4cd7c346b383726054f9ff1d285701cd4841
@@ -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",
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.