[Webkit-unassigned] [Bug 58781] New: CSS transition not performed when style is changed if javascript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 18 06:55:41 PDT 2011


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

           Summary: CSS transition not performed when style is changed if
                    javascript
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: scraciun at adobe.com


On a programatically generated node, if the style is set in javascript to, say S1 and then immediately changed to another (say S2), there is no transition performed (though there is a transition associated to the style). There are two workarounds: 
1. change the style inside a function called via setTimeout
2. Force a layout (for instance by querying a computed property such as clientWidth).

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