diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-05-23 14:14:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-23 14:14:18 +0200 |
commit | ce69511935bdf622a4f89ffd797b6e2a1e56c6ab (patch) | |
tree | dbc5e959c9bc1673f372ac8c2807b22adf96283f | |
parent | e7f54d3730b85ce6fd1cf4f91bbb92791366b44c (diff) | |
parent | fa857f56d228ea974e0eba4c6e5b256db6b077a9 (diff) | |
download | servo-ce69511935bdf622a4f89ffd797b6e2a1e56c6ab.tar.gz servo-ce69511935bdf622a4f89ffd797b6e2a1e56c6ab.zip |
Rollup merge of #16986 - achiwhane:master, r=emilio
Fix style issues as per #16980
Fixed spacing between variables on some lines. These changes fix #16980.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16986)
<!-- Reviewable:end -->
-rw-r--r-- | components/style/properties/longhand/box.mako.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/components/style/properties/longhand/box.mako.rs b/components/style/properties/longhand/box.mako.rs index c0e2709b50a..6527301d114 100644 --- a/components/style/properties/longhand/box.mako.rs +++ b/components/style/properties/longhand/box.mako.rs @@ -1596,28 +1596,28 @@ ${helpers.predefined_type("scroll-snap-coordinate", }, "rotate" => { try!(input.parse_nested_block(|input| { - let theta = try!(specified::Angle::parse_with_unitless(context,input)); + let theta = try!(specified::Angle::parse_with_unitless(context, input)); result.push(SpecifiedOperation::Rotate(theta)); Ok(()) })) }, "rotatex" => { try!(input.parse_nested_block(|input| { - let theta = try!(specified::Angle::parse_with_unitless(context,input)); + let theta = try!(specified::Angle::parse_with_unitless(context, input)); result.push(SpecifiedOperation::RotateX(theta)); Ok(()) })) }, "rotatey" => { try!(input.parse_nested_block(|input| { - let theta = try!(specified::Angle::parse_with_unitless(context,input)); + let theta = try!(specified::Angle::parse_with_unitless(context, input)); result.push(SpecifiedOperation::RotateY(theta)); Ok(()) })) }, "rotatez" => { try!(input.parse_nested_block(|input| { - let theta = try!(specified::Angle::parse_with_unitless(context,input)); + let theta = try!(specified::Angle::parse_with_unitless(context, input)); result.push(SpecifiedOperation::RotateZ(theta)); Ok(()) })) @@ -1630,7 +1630,7 @@ ${helpers.predefined_type("scroll-snap-coordinate", try!(input.expect_comma()); let az = try!(specified::parse_number(context, input)); try!(input.expect_comma()); - let theta = try!(specified::Angle::parse_with_unitless(context,input)); + let theta = try!(specified::Angle::parse_with_unitless(context, input)); // TODO(gw): Check the axis can be normalized!! result.push(SpecifiedOperation::Rotate3D(ax, ay, az, theta)); Ok(()) @@ -1650,14 +1650,14 @@ ${helpers.predefined_type("scroll-snap-coordinate", }, "skewx" => { try!(input.parse_nested_block(|input| { - let theta_x = try!(specified::Angle::parse_with_unitless(context,input)); + let theta_x = try!(specified::Angle::parse_with_unitless(context, input)); result.push(SpecifiedOperation::SkewX(theta_x)); Ok(()) })) }, "skewy" => { try!(input.parse_nested_block(|input| { - let theta_y = try!(specified::Angle::parse_with_unitless(context,input)); + let theta_y = try!(specified::Angle::parse_with_unitless(context, input)); result.push(SpecifiedOperation::SkewY(theta_y)); Ok(()) })) |