[Webkit-unassigned] [Bug 107583] New: Inconsistent transition start position & transitionend event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 22 13:51:41 PST 2013


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

           Summary: Inconsistent transition start position & transitionend
                    event
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jaffathecake at gmail.com


http://jsbin.com/iliket/7

Here the left property is transitioned from 250px to a random value 0-500px when the button is pressed.

'offsetWidth' is used to trigger a reflow so the initial position of 250px is used. However, the initial position is only used on the first transition, on subsequent presses the transition starts from the current position. Other browsers (Firefox, Opera) start from 250px every time.

http://jsbin.com/iliket/5

This example is as above, but the end value is always 500px. Here there is no visual update in webkit after the first transition. Other browser start from 250px every time. Oddly, Webkit fires the transitionend event as if the transition ran, usually if something attempts to transition to its current value no transitionend event is fired.

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



More information about the webkit-unassigned mailing list