Changeset 88641 in webkit
- Timestamp:
- Jun 13, 2011 8:36:13 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r88637 r88641 1 2011-06-13 Young Han Lee <joybro@company100.net> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Texmap][Qt] Accelerated animation is repeating as if its direction property is always 'alternate'. 6 https://bugs.webkit.org/show_bug.cgi?id=62281 7 8 syncAnimations() has miscalculated a normalized progress value as if the animation always has alternate direction property. 9 10 * animations/animation-direction-normal-expected.png: Added. 11 * animations/animation-direction-normal-expected.txt: Added. 12 * animations/animation-direction-normal.html: Added. 13 1 14 2011-06-13 Dirk Schulze <krit@webkit.org> 2 15 -
trunk/Source/WebCore/ChangeLog
r88637 r88641 1 2011-06-13 Young Han Lee <joybro@company100.net> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Texmap][Qt] Accelerated animation is repeating as if its direction property is always 'alternate'. 6 https://bugs.webkit.org/show_bug.cgi?id=62281 7 8 syncAnimations() has miscalculated a normalized progress value as if the animation always has alternate direction property. 9 10 Test: animations/animation-direction-normal.html 11 12 * platform/graphics/texmap/TextureMapperNode.cpp: 13 (WebCore::TextureMapperNode::syncAnimations): 14 1 15 2011-06-13 Dirk Schulze <krit@webkit.org> 2 16 -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperNode.cpp
r88247 r88641 843 843 double totalRunningTime = WTF::currentTime() - animation->startTime; 844 844 RefPtr<Animation> anim = animation->animation; 845 double normalizedValue = normalizedAnimationValue(totalRunningTime, anim->duration(), true);845 double normalizedValue = normalizedAnimationValue(totalRunningTime, anim->duration(), anim->direction()); 846 846 847 847 if (anim->iterationCount() != Animation::IterationCountInfinite && totalRunningTime >= anim->duration() * anim->iterationCount()) {
Note: See TracChangeset
for help on using the changeset viewer.