[Webkit-unassigned] [Bug 49260] New: Transform transition shifts absolutely positioned element incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 9 10:05:17 PST 2010


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

           Summary: Transform transition shifts absolutely positioned
                    element incorrectly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://meyerweb.com/eric/css/tests/safari/transform-ju
                    mp.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at meyerweb.com


If an element is transformed using a transition on hover, when the element is un-hovered and the transform undone then absolutely positioned descendant elements are put back in the wrong place.

It's a little hard to describe, so:

1. Go to http://meyerweb.com/eric/css/tests/safari/transform-jump.html
2. Hover over the blue box (the 'body' element).
3. Observe the absolutely positioned element move.  *This is as expected.*
4. Un-hover the 'body' element.
5. Observe the absolutely positioned element moved to a place other than where it started.  *This is NOT as expected.*

The moving box should go back to where it started.  It appears to move the correct distance horizontally, just in the wrong direction.  That is, if it shifts horizontally -50px during the transform, it does so again when the transform ends instead of shifting +50px horizontally.

The linked test case works as expected in Firefox.

-- 
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