SVGKit/SVGKit — pull request #240 by dgileadi (2014-11-15 20:27:50+00:00)
Title: Only apply clipping masks to elements that have the clip-path attribute.

Suppose you have an SVG document like:

The code would redundantly apply the clipping path from someClipPath to the layer of every one of those children, as well as to the <g> layer. The result was huge slowness if there were many children. This pull request fixes it to only apply the clipping path to the layer with the clip-path attribute. Child layers will get clipped by their parent layer.