DescriptionWeb Animations API: Fix KeyframeEffectModel::PropertySpecificKeyframeGroup::addSyntheticKeyframeIfRequired
Synthetic Keyframes:
For each property declared in a KeyframeEffectModel, addSyntheticKeyframeIfRequired adds
a property specific keyframe at offset: 0 if none exists. Similarly, it adds a keyframe
at offset: 1 if required.
The synthetic keyframes have compositeOperation add, and a neutral value for the property.
Partial Keyframes:
Previously, if an animation was constructed with a partial keyframe (a keyframe list with no
keyframe at offset zero or no keyframe at offset one for any of the properties it declares)
the renderer would crash.
This change detects partial keyframes and throws a NotSupportedError in the JavaScript.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169626
Patch Set 1 #Patch Set 2 : Remove assert that crashes addSyntheticKeyframeIfRequired #Patch Set 3 : Add assert for CompositeOperation replace in ensureKeyframeGroups() #
Total comments: 3
Patch Set 4 : Pull changes from issue 196053009 into this patch #Patch Set 5 : Add asserts that keyframe compositeOperations are replace in ensureInterpolationEffect #
Total comments: 3
Patch Set 6 : Return nullptr after exception + fixmes #Messages
Total messages: 12 (0 generated)
|