From aca0d24f36f4a2dbb70b5c78bed4349e038e61ee Mon Sep 17 00:00:00 2001 From: Boris Chiou Date: Wed, 19 Apr 2017 16:53:12 +0800 Subject: [PATCH] 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 --- components/style/properties/data.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/style/properties/data.py b/components/style/properties/data.py index f12a7ffd3b3..ec982a1cbe1 100644 --- a/components/style/properties/data.py +++ b/components/style/properties/data.py @@ -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. #