DescriptionDon't use pairwise keyframe interpolation at fractions 0 and 1.
This change modifies InvalidatableStyleInterpolations to treat fractions
0 and 1 as non-pairwise. At these fractions only the respective start or
end keyframe will be used to produce an InterpolationValue.
This change prevents us from using features from both keyframes when
only one should apply at these fractions.
Example:
element.animate([{
backgroundImage: 'url(a), url(b)',
}, {
backgroundImage: 'url(c)',
}, {
duration: 1000,
fill: 'forwards',
});
This animation should fill forwards as 'url(c)' and not 'url(c), url(c)'.
BUG=442163
Committed: https://crrev.com/70ab39994327394f7df9ae8d5aab8db76a114ea3
Cr-Commit-Position: refs/heads/master@{#353939}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Review changes #Patch Set 3 : Rebase #
Messages
Total messages: 9 (3 generated)
|