зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #20602 - Don't make logical properties animatable (from hiikezoe:dont-make-logical-properties-animatable); r=emilio
|animation_type| was renamed in 94fb839fdde, 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. Source-Repo: https://github.com/servo/servo Source-Revision: e31fefdf7816ff76ff60c7067e89b8aae91d87cd --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 30ed27a1255a7ebd6f1841587127e2791608c10f
This commit is contained in:
Родитель
d26ee007fb
Коммит
37ac8f6ab0
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче