Auto merge of #20602 - hiikezoe:dont-make-logical-properties-animatable, r=emilio

Don't make logical properties animatable

|animation_type| was renamed in 94fb839fdd, but the commit missed renaming
one place.  It means that some of logical properties might have been
accidentally animatable.  Logical properties should be animatable but we
haven't yet implemented the proper Animate trait for logical properties.

<!-- 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/20602)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-04-10 03:30:13 -04:00 committed by GitHub
commit e31fefdf78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,7 +210,7 @@ class Longhand(object):
# discrete). For now, it is still non-animatable. # discrete). For now, it is still non-animatable.
self.animatable = False self.animatable = False
self.transitionable = False self.transitionable = False
self.animation_type = None self.animation_value_type = None
# See compute_damage for the various values this can take # See compute_damage for the various values this can take
self.servo_restyle_damage = servo_restyle_damage self.servo_restyle_damage = servo_restyle_damage