Changeset 91187 in webkit
- Timestamp:
- Jul 18, 2011 9:16:17 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r91186 r91187 1 2011-07-18 Young Han Lee <joybro@company100.net> 2 3 AnimationBase asserts if a test tries to pause during the delay phase 4 https://bugs.webkit.org/show_bug.cgi?id=59475 5 6 Reviewed by Simon Fraser. 7 8 There is no more assertion failure after r90765, but the testcase still fails due to 9 the miscalculation of the pauseTime. This patch pauses the animation at its startTime 10 if a test tries to pause it during the delay phase. 11 12 * transitions/transition-in-delay-phase-expected.txt: Added. 13 * transitions/transition-in-delay-phase.html: Added. 14 1 15 2011-07-18 Stephen White <senorblanco@chromium.org> 2 16 -
trunk/Source/WebCore/ChangeLog
r91184 r91187 1 2011-07-18 Young Han Lee <joybro@company100.net> 2 3 AnimationBase asserts if a test tries to pause during the delay phase 4 https://bugs.webkit.org/show_bug.cgi?id=59475 5 6 Reviewed by Simon Fraser. 7 8 There is no more assertion failure after r90765, but the testcase still fails due to 9 the miscalculation of the pauseTime. This patch pauses the animation at its startTime 10 if a test tries to pause it during the delay phase. 11 12 Test: transitions/transition-in-delay-phase.html 13 14 * page/animation/AnimationBase.cpp: 15 (WebCore::AnimationBase::freezeAtTime): 16 1 17 2011-07-18 Vsevolod Vlasov <vsevik@chromium.org> 2 18 -
trunk/Source/WebCore/page/animation/AnimationBase.cpp
r90765 r91187 1450 1450 1451 1451 ASSERT(m_startTime); // if m_startTime is zero, we haven't started yet, so we'll get a bad pause time. 1452 m_pauseTime = m_startTime + t - m_animation->delay(); 1452 if (t <= m_animation->delay()) 1453 m_pauseTime = m_startTime; 1454 else 1455 m_pauseTime = m_startTime + t - m_animation->delay(); 1453 1456 1454 1457 #if USE(ACCELERATED_COMPOSITING)
Note: See TracChangeset
for help on using the changeset viewer.