svgAttributeChanged and childrenChanged call invalidation of Resources. But this is only called on changes in SVG DOM or DOM. On the other hand, we call invalidate resources during parsing all over the time. This is rather inefficient.
CSS changes and animation do not allways invalidate Resources. We have to make sure, that we invalidate resource when and only when an invalidation is needed.
This is fixed in trunk.