DescriptionUse StringKeyframes to make CSS Animations responsive to style changes.
When a 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 switches from AnimatableValueKeyframe over to StringKeyframe
in CSS animations. The only place that still uses AnimatableValueKeyframe
is transitions.
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
Patch Set 1 #Patch Set 2 : Rebase + add test #Patch Set 3 : Update layout tests #
Messages
Total messages: 2 (1 generated)
|