Auto merge of #20575 - Manishearth:filler-y, r=emilio

Use correct filler y value when animating with an implied-y translate()s

r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1451724

<!-- 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/20575)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-04-09 01:47:58 -04:00 committed by GitHub
commit e460b4ab8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1204,7 +1204,8 @@ impl Animate for ComputedTransformOperation {
) => {
Ok(TransformOperation::Translate(
fx.animate(tx, procedure)?,
Some(fy.unwrap_or(*fx).animate(&ty.unwrap_or(*tx), procedure)?)
Some(fy.unwrap_or(LengthOrPercentage::zero())
.animate(&ty.unwrap_or(LengthOrPercentage::zero()), procedure)?)
))
},
(