DescriptionWeb Animations: Allow animations with delay to start on compositor
This patch ensures layers are created for any current animation (an
animation that has yet to play, or is playing) which should also
composite.
Previously layers were only created for animations once they had applied
an effect to the style (opacity, transform, ...), but this is too late
to allow a compositor animation to start when the animation specifies a
delay.
This change appeared to allow several hacks to be cleaned up as it's no
longer necessary to massage the interpolation output for opacity and
transform in order to ensure layer creation. However this is actually
required for transforms[1]. Tests and comments updated to clarify.
[1] http://www.w3.org/TR/css-transforms-1/#none-transform-animation
BUG=321926, 344809
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169448
Patch Set 1 #
Total comments: 4
Patch Set 2 : RenderTableRow + RenderBoxModelObject #Patch Set 3 : RenderInline #
Total comments: 1
Patch Set 4 : Interpolation of transform treats 'none' as identity. #
Total comments: 4
Patch Set 5 : FIXME, renaming. #
Total comments: 2
Patch Set 6 : Update comment. #Patch Set 7 : Rebase. #Patch Set 8 : Player -> AnimationPlayer #Patch Set 9 : Relax assert. #Messages
Total messages: 37 (0 generated)
|