SVG animations work in DrawTest but not WebKit/Safari Try loading the attached SVG in DrawTest (see it animate), then try it in Safari (see it fail to animate).
Created attachment 4038 [details] Simple animating SVG.
I'm not invalidating the display in the WebView. I need to figure out what's the proper way to do that via the render tree, and may need to make a new version of KCanvasViewQuartz which understands how to properly hook into that sort of thing.
Created attachment 4151 [details] Animation fix (and code cleanup) Fixes animations in Safari/WebKit. The fix is sorta "dumb" as we're ignoring the passed dirty rect, and instead telling the entire render object to repaint.
Change looks ok to me, but I think passing the whole KCanvas area as the dirty rect is pretty serious. Still, this seems better than nothing.