Description[WIP] Web Animations API: Constructing an Animation from partial keyframes throws a JavaScript exception
If a list of keyframes includes just one declaration for a particular property it is called a partial keyframe. Web Animations doesn't support Animations with partial keyframes yet.
Previously if a user tried to do this it would crash the renderer. There is an assert for it in StyleResolver::applyAnimatedProperties.
This change checks for mismatched property declarations in keyframe data after it has been parsed, and throws a JavaScript NotSupportedError exception if it finds any. It has to be done after parsing otherwise declarations with invalid values can interfere.
Patch Set 1 #
Total comments: 3
Patch Set 2 : Check for missing keyframes at 0 and 1 when offsets are specified #Patch Set 3 : Remove duplicate layout test cases from element-animate-list-of-keyframes #Patch Set 4 : Add FIXME for keyframes at 0 and 1. #
Total comments: 1
Patch Set 5 : Replace manual checks with check for dependsOnUnderlyingValue #Messages
Total messages: 13 (0 generated)
|