mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
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:
parent
56435db820
commit
aca0d24f36
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue