WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
58781
CSS transition not performed when style is changed if javascript
https://bugs.webkit.org/show_bug.cgi?id=58781
Summary
CSS transition not performed when style is changed if javascript
scraciun
Reported
2011-04-18 06:55:41 PDT
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).
Attachments
Reproducible test case
(994 bytes, text/html)
2011-04-18 06:56 PDT
,
scraciun
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
scraciun
Comment 1
2011-04-18 06:56:49 PDT
Created
attachment 90027
[details]
Reproducible test case
Simon Fraser (smfr)
Comment 2
2011-04-18 14:51:37 PDT
This is a dup.
Shane Stephens
Comment 3
2011-06-08 20:54:36 PDT
Is this actually a bug? I thought that this was pretty much expected based around the way transitions worked?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug