DescriptionUse StringKeyframes to make CSS Animations responsive to style changes
This patch switches from AnimatableValueKeyframe over to StringKeyframe
in CSS Animations. The only place that still uses AnimatableValueKeyframe
is transitions.
When an animated property is absent in the 0% or 100% keyframe, a neutral
keyframe is created which takes the value of the computed style. When
the computed style changes, the spec requires that the neutral keyframe
is updated accordingly to match the new style.
This patch also introduces behaviour changes for interpolating
SVG stroke-width, opacity and shape-image-transform. The new behaviours
of these interpolations in CSS Animations match that of Web Animations.
When there is a non-animation style change, neutral keyframes are updated.
Firefox handles this correctly, but IE11 doesn't.
BUG=361948
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192071
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Rebase #Patch Set 4 : #Patch Set 5 : Windows >: #Patch Set 6 : New text expectatiotns #Patch Set 7 : Split baseStyle out #Patch Set 8 : Split baseStyle out #
Total comments: 2
Patch Set 9 : Comment #Patch Set 10 : Fix crash #
Total comments: 1
Patch Set 11 : Rebase #Messages
Total messages: 22 (10 generated)
|