[webkit-help] SVG & CSS Transitions

Darren Lee darrenl at 10cms.com
Tue Nov 30 08:43:26 PST 2010

Hey all,

I am working on an SVG app but I have a problem. SVG animations are really slow on devices, CSS transitions on the other hand seem to work really well. On devices like the iPad I think CSS transitions are hardware accelerated.

I tried to use CSS transitions on SVG elements but it did not seem to work. I tried svgElem.style.webkitTransition = ... and svgElem.setAttribute("style", "-webkit-transition...");

Is it possible to use CSS animations on SVG elements? If not are there any good techniques to improve the performance/framerate of SVG animations for devices?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20101130/8bbcbd9a/attachment.html>

More information about the webkit-help mailing list