-
commit-queue@webkit.org authored
Reviewed by Simon Fraser. animation-timing-function property with a list uses first item for all animations https://bugs.webkit.org/show_bug.cgi?id=60303 When an element has multiple animations that have different timingFunctions, the progress of each animation should be calculated using its respective timingFunction. But at this point, the timingFunction of the first animation is only used for the calculation, regardless of how many animations the element has. The code for getting a timingFunction is changed by this patch so that the timingFunction of the correct animation searched by its name will be used. * animations/multiple-animations-timing-function-expected.txt: Added. * animations/multiple-animations-timing-function.html: Added. 2011-06-22 Young Han Lee <joybro@company100.net> Reviewed by Simon Fraser. animation-timing-function property with a list uses first item for all animations https://bugs.webkit.org/show_bug.cgi?id=60303 When an element has multiple animations that have different timingFunctions, the progress of each animation should be calculated using its respective timingFunction. But at this point, the timingFunction of the first animation is only used for the calculation, regardless of how many animations the element has. The code for getting a timingFunction is changed by this patch so that the timingFunction of the correct animation searched by its name will be used. Test: animations/multiple-animations-timing-function.html * page/animation/KeyframeAnimation.cpp: (WebCore::getAnimationFromStyleByName): (WebCore::KeyframeAnimation::fetchIntervalEndpointsForProperty): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
commit-queue@webkit.org authoredReviewed by Simon Fraser. animation-timing-function property with a list uses first item for all animations https://bugs.webkit.org/show_bug.cgi?id=60303 When an element has multiple animations that have different timingFunctions, the progress of each animation should be calculated using its respective timingFunction. But at this point, the timingFunction of the first animation is only used for the calculation, regardless of how many animations the element has. The code for getting a timingFunction is changed by this patch so that the timingFunction of the correct animation searched by its name will be used. * animations/multiple-animations-timing-function-expected.txt: Added. * animations/multiple-animations-timing-function.html: Added. 2011-06-22 Young Han Lee <joybro@company100.net> Reviewed by Simon Fraser. animation-timing-function property with a list uses first item for all animations https://bugs.webkit.org/show_bug.cgi?id=60303 When an element has multiple animations that have different timingFunctions, the progress of each animation should be calculated using its respective timingFunction. But at this point, the timingFunction of the first animation is only used for the calculation, regardless of how many animations the element has. The code for getting a timingFunction is changed by this patch so that the timingFunction of the correct animation searched by its name will be used. Test: animations/multiple-animations-timing-function.html * page/animation/KeyframeAnimation.cpp: (WebCore::getAnimationFromStyleByName): (WebCore::KeyframeAnimation::fetchIntervalEndpointsForProperty): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Loading