mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
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 -->
This commit is contained in:
commit
ce69511935
1 changed files with 7 additions and 7 deletions
|
@ -1596,28 +1596,28 @@ ${helpers.predefined_type("scroll-snap-coordinate",
|
||||||
},
|
},
|
||||||
"rotate" => {
|
"rotate" => {
|
||||||
try!(input.parse_nested_block(|input| {
|
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));
|
result.push(SpecifiedOperation::Rotate(theta));
|
||||||
Ok(())
|
Ok(())
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
"rotatex" => {
|
"rotatex" => {
|
||||||
try!(input.parse_nested_block(|input| {
|
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));
|
result.push(SpecifiedOperation::RotateX(theta));
|
||||||
Ok(())
|
Ok(())
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
"rotatey" => {
|
"rotatey" => {
|
||||||
try!(input.parse_nested_block(|input| {
|
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));
|
result.push(SpecifiedOperation::RotateY(theta));
|
||||||
Ok(())
|
Ok(())
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
"rotatez" => {
|
"rotatez" => {
|
||||||
try!(input.parse_nested_block(|input| {
|
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));
|
result.push(SpecifiedOperation::RotateZ(theta));
|
||||||
Ok(())
|
Ok(())
|
||||||
}))
|
}))
|
||||||
|
@ -1630,7 +1630,7 @@ ${helpers.predefined_type("scroll-snap-coordinate",
|
||||||
try!(input.expect_comma());
|
try!(input.expect_comma());
|
||||||
let az = try!(specified::parse_number(context, input));
|
let az = try!(specified::parse_number(context, input));
|
||||||
try!(input.expect_comma());
|
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!!
|
// TODO(gw): Check the axis can be normalized!!
|
||||||
result.push(SpecifiedOperation::Rotate3D(ax, ay, az, theta));
|
result.push(SpecifiedOperation::Rotate3D(ax, ay, az, theta));
|
||||||
Ok(())
|
Ok(())
|
||||||
|
@ -1650,14 +1650,14 @@ ${helpers.predefined_type("scroll-snap-coordinate",
|
||||||
},
|
},
|
||||||
"skewx" => {
|
"skewx" => {
|
||||||
try!(input.parse_nested_block(|input| {
|
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));
|
result.push(SpecifiedOperation::SkewX(theta_x));
|
||||||
Ok(())
|
Ok(())
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
"skewy" => {
|
"skewy" => {
|
||||||
try!(input.parse_nested_block(|input| {
|
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));
|
result.push(SpecifiedOperation::SkewY(theta_y));
|
||||||
Ok(())
|
Ok(())
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue