mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use correct filler y value when animating with an implied-y translate()s
This commit is contained in:
parent
044f19d914
commit
e5afb22184
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