Re:jQuery or CSS3 transitions? Speed comparison + brief empi...
by richbradshaw on Sunday January 15, 2012 @01:23PM
(#3467789)
Exactly - hopefully this will happen one day. Having used that plugin though it doesn't work perfectly on all code (jQuery Cycle + that for instance doesn't always work as expected). Any mention of transitions seems to result in a wontfix if you check through the jQuery bug tracker.
Re:jQuery or CSS3 transitions? Speed comparison + brief empi...
by mcot2 on Sunday January 15, 2012 @01:36PM
(#3467822)
I suspect what is holding it up is both browser support and the time required to get it right. Maybe they don't use animate but provide a separate wrapper.
Keep in mind, the specs are rather large. When people talk about CSS "animations" there really talking about at least 3 specs, maybe 4. CSS 2D transforms, CSS 3D transforms, CSS transitions and CSS animation. There is a lot of work to get it right and tested in a nice JS wrapper, not to mention making it work with an existing JS based API.
Some projects are already doing this:
http://www.benbarnett.net/2010/09/01/enhancing-jquerys-anima...
Sounds like it should go into mainline jquery pretty soon.