Might be time to break out the Babbage here.
I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
Although your comments are helping:
Ok but JQUERY has animations like SlideDown, SlideUp etc... that aren't using HTML5 for animations right? Wouldn't HTML5 handle that more optimally?
Technically HTML5 doesn’t include any animations — they’re in CSS 3 rather than HTML5. However, some people (e.g. Apple) seem to be using the term “HTML5” as a synonym for “cool new stuff that not all browsers support yet”, and CSS Animations certainly fall into that camp.
jQuery could indeed make use of CSS animations, in browsers that support them, to speed up its animation functions like slideDown
, and might do that in a future version – jQuery’s creator John Resign discusses some possible pitfalls here: http://ejohn.org/blog/css-animations-and-javascript/
But this would be transparent to developers who use jQuery. The point of a framework like jQuery is it saves developers from worrying about browser differences. So there’s certainly no need to abandon jQuery just because there’s some new CSS stuff supported by some browsers.
Of course, if you want to write CSS 3 code instead, or write a jQuery plugin that takes advantage of it, you’re free to do so. But if the existing jQuery functions already work for you, there isn’t any point in changing to something else.