mirror of
https://github.com/servo/servo.git
synced 2025-06-30 20:13:39 +01:00
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:
commit
e460b4ab8a
1 changed files with 2 additions and 1 deletions
|
@ -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)?)
|
||||
))
|
||||
},
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue