WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
112826
CSS animation of background-position is slow and laggy
https://bugs.webkit.org/show_bug.cgi?id=112826
Summary
CSS animation of background-position is slow and laggy
Laurent Perez
Reported
2013-03-20 12:09:55 PDT
Hi While prototyping parallax effects, we've noticed that animating background-position performs really slowly. Using translate3d(0,0,0) on the same element does not help. Bug is seen on Galaxy S2, S3, HTC One S, iPhone 4, iPod 5 On Android 4, stock browser or Chrome, the lag is major. Interestingly, on Android 2, no lag is visible. On iOS 3 to 6, it lags less, and using translate3d introduces a rolling shutter rendering bug on the animated image (
http://en.wikipedia.org/wiki/Rolling_shutter
) So far, we will be using a translateX on the element instead of animating the background. I'm still filling a bug because no lag is visible on Chrome desktop. Thanks
Attachments
Add attachment
proposed patch, testcase, etc.
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