GNOME Bugzilla – Bug 333118
Overflow style has no effect for markers
Last modified: 2007-08-31 23:09:45 UTC
Please describe the problem: According to http://www.w3.org/TR/2002/CR-SVG11-20020430/painting.html#Markers, setting style="overflow:(visible|hidden|scroll|auto|inherit)" for a marker should affect if clipping should occur outside the marker tile (limited by markerWidth, markerHeight). In the librsvg implementation, however, it seems like clipping occurs even if style="overflow:visible" is set. Steps to reproduce: 1. rsvg-convert marker-test.svg > marker-test-librsvg.png Actual results: See attached librsvg output. Expected results: See attached batik output. Does this happen every time? Yes Other information:
Created attachment 60479 [details] marker-test.svg, testcase: two markers, one with visible and one with hidden overflow
Created attachment 60480 [details] marker-test-librsvg.png, librsvg output of marker-test.svg
Created attachment 60481 [details] marker-test-batik.png, batik output of marker-test.svg (reference)
Fixed in r1096: 2007-02-01 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr> * rsvg-marker.c (rsvg_marker_render): Don't clip if overflow style property is set to visible. Fix display of markers generated with inkscape.