Changeset 90765 in webkit


Ignore:
Timestamp:
Jul 11, 2011 11:20:23 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Patch by Young Han Lee <joybro@company100.net> on 2011-07-11
Reviewed by Simon Fraser.

Transition LayoutTest using pause API shows wrong result if it tries to pause a transition after its delay time.
https://bugs.webkit.org/show_bug.cgi?id=63859

The existing code to set the m_startTime haven't worked because
the animation is not the right state to accept the start event.
This patch just sets the values directly instead of using event.

Source/WebCore:

Test: transitions/delay.html

  • page/animation/AnimationBase.cpp:

(WebCore::AnimationBase::freezeAtTime):

LayoutTests:

  • transitions/delay-expected.txt: Added.
  • transitions/delay.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r90764 r90765  
     12011-07-11  Young Han Lee  <joybro@company100.net>
     2
     3        Reviewed by Simon Fraser.
     4
     5        Transition LayoutTest using pause API shows wrong result if it tries to pause a transition after its delay time.
     6        https://bugs.webkit.org/show_bug.cgi?id=63859
     7
     8        The existing code to set the m_startTime haven't worked because
     9        the animation is not the right state to accept the start event.
     10        This patch just sets the values directly instead of using event.
     11
     12        * transitions/delay-expected.txt: Added.
     13        * transitions/delay.html: Added.
     14
    1152011-07-11  Anders Carlsson  <andersca@apple.com>
    216
  • trunk/Source/WebCore/ChangeLog

    r90763 r90765  
     12011-07-11  Young Han Lee  <joybro@company100.net>
     2
     3        Reviewed by Simon Fraser.
     4
     5        Transition LayoutTest using pause API shows wrong result if it tries to pause a transition after its delay time.
     6        https://bugs.webkit.org/show_bug.cgi?id=63859
     7
     8        The existing code to set the m_startTime haven't worked because
     9        the animation is not the right state to accept the start event.
     10        This patch just sets the values directly instead of using event.
     11
     12        Test: transitions/delay.html
     13
     14        * page/animation/AnimationBase.cpp:
     15        (WebCore::AnimationBase::freezeAtTime):
     16
    1172011-07-11  Ryosuke Niwa  <rniwa@webkit.org>
    218
  • trunk/Source/WebCore/page/animation/AnimationBase.cpp

    r90517 r90765  
    14441444
    14451445    if (!m_startTime) {
    1446         // If we haven't started yet, just generate the start event now
    1447         m_compAnim->animationController()->receivedStartTimeResponse(currentTime());
     1446        // If we haven't started yet, make it as if we started.
     1447        m_animState = AnimationStateStartWaitResponse;
     1448        onAnimationStartResponse(currentTime());
    14481449    }
    14491450
Note: See TracChangeset for help on using the changeset viewer.