Animated GIFs do not respect transforms in SVG See example.
Created attachment 8890 [details] Test case (with remote images)
Created attachment 8898 [details] patch that fixes handling of partial repaints in SVG - many things were busted
Comment on attachment 8898 [details] patch that fixes handling of partial repaints in SVG - many things were busted looks good; r=me
Created attachment 8916 [details] better patch that fixes many more repaint issues. This needs test cases landed with it. Maybe manual tests for now.
Created attachment 8919 [details] even better patch (doesn't break opacity) plus some manual tests This breaks the metrics (but not rendering) on some svg layout tests, probably should not be landed until I investigate that. But might be worth preliminary review.
On second thought... I think the metrics changes in the layout tests are all ok. They seem to more accurately represent the actual bounding boxes.
Committed as revision r14918.