Comment 6 for bug 1019159

Revision history for this message
su_v (suv-lp) wrote :

As discussed on irc in the context of bug #1441152, the SVG specification does not allow <g> as child element(s) of a <clipPath> element:
«A ‘clipPath’ element can contain ‘path’ elements, ‘text’ elements, basic shapes (such as ‘circle’) or a ‘use’ element. If a ‘use’ element is a child of a ‘clipPath’ element, it must directly reference ‘path’, ‘text’ or basic shape elements. Indirect references are an error (see Error processing).»

Inkscape OTOH does create <clipPath> elements which may contain groups (<g>) - such clippings do not conform to the SVG specification and AFAIU other SVG renderer seem correct in not rendering the clipped elements at all.

Changing Importance to 'High' (inkscape creates non-conforming SVG when clipping with a group of paths).