[Webkit-unassigned] [Bug 21025] New: CSS transition with duration=0 and delay=0 doesn't override ongoing transition

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 23 07:22:18 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21025

           Summary: CSS transition with duration=0 and delay=0 doesn't
                    override ongoing transition
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://hiitola.net/webkitbugreport01.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kari.hiitola at nokia.com


When setting -webkit-transition-duration and -webkit-transition-delay to zero
and starting a new transition during another transition, the new transition
doesn't override the ongoing one but instead is completed after the ongoing
transition is finished.

In the supplied test page the moving text on the top (#bug) should move
immediately back to the upper left corner after the 2s timeout (When the text
changes). Changing the delay or duration in function "test_bug" to 1ms
overcomes this as demonstrated on the bottom part (#ok).

There is an explicit test for the zero-zero condition in the source code
(WebCore/page/animation/CompositeAnimation.cpp) , and removing the test makes
the problem disappear with the test page. I'm not sure if there would be any
side-effects, though. 

It's not apparent to me, why immediate and undelayed transforms should not
override the ongoing transition. As I've understood it,  that wouldn't indicate
an empty transition, as the code comments hint (// If this is an empty
transition, skip it).


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list