[BZ#734365] overflow not hidden when rendering symbol or inner svg elements
Submitted by Giuseppe Bilotta
Created attachment 282709 Symbol use / inner svg element clipping example
According to the SVG specification1, the default value of the
overflowproperty of the elements that define new viewports (such as
use, or inner
hidden. The contents of these elements should therefore be clipped to the new viewport they defined (by default).
The example file places side by side a
symboland an equivalent nested
g > svgpair. In both cases, the path is fully visible and perfectly symmetric when displayed through librsvg, even though the left/top part of the path is partially outside of the symbol/svg viewport and should therefore be clipped (compare with the rendering in Firefox and Chromium).