mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Animate logical properties.
The setup is that AnimationValue only contains physical properties, and we physicalize when building keyframes and transitions. Bug: 1309752 Reviewed-by: birtles MozReview-Commit-ID: 9dI20N0LFrk
This commit is contained in:
parent
be9acba801
commit
5504cbdfd7
4 changed files with 121 additions and 59 deletions
|
@ -223,12 +223,6 @@ class Longhand(object):
|
|||
and animation_value_type != "discrete"
|
||||
self.is_animatable_with_computed_value = animation_value_type == "ComputedValue" \
|
||||
or animation_value_type == "discrete"
|
||||
if self.logical:
|
||||
# Logical properties will be animatable (i.e. the animation type is
|
||||
# discrete). For now, it is still non-animatable.
|
||||
self.animatable = False
|
||||
self.transitionable = False
|
||||
self.animation_value_type = None
|
||||
|
||||
# See compute_damage for the various values this can take
|
||||
self.servo_restyle_damage = servo_restyle_damage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue