Bug 1357671 - Make animation_type of logical properties be None.

Logical properties will be animatable (with discrete type), but for now
it is still non-animatable, so we assign "None" to the animation_type.

MozReview-Commit-ID: HRYwIhKkpoW
This commit is contained in:
Boris Chiou 2017-04-19 16:53:12 +08:00
parent 56435db820
commit aca0d24f36

View file

@ -176,8 +176,10 @@ class Longhand(object):
self.animatable = animation_type != "none"
if self.logical:
# Logical properties don't animate separately
# Logical properties will be animatable (i.e. the animation type is
# discrete). For now, it is still non-animatable.
self.animatable = False
self.animation_type = None
# NB: Animatable implies clone because a property animation requires a
# copy of the computed value.
#