Using the benchmark at http://www.howtocreate.co.uk/csstest.html I applied all the styles using jquery. It ended up being roughly 10x slower. But the real issue seems to be the browser.
The jquery code finishes up really fast, but the browser sits there for a noticeable delay, presumably rendering. In firefox this means that you look at an unstyled page for a while.
But this only addresses the issue of CSS3 Selectors. I am curious about the possibility of implementing more of CSS3 in jquery. Seems like it would be incredibly slow, will have to try
Using the benchmark at http://www.howtocreate.co.uk/csstest.html I applied all the styles using jquery. It ended up being roughly 10x slower. But the real issue seems to be the browser.
The jquery code finishes up really fast, but the browser sits there for a noticeable delay, presumably rendering. In firefox this means that you look at an unstyled page for a while.
But this only addresses the issue of CSS3 Selectors. I am curious about the possibility of implementing more of CSS3 in jquery. Seems like it would be incredibly slow, will have to try