Page MenuHomePhabricator

SVG: attributes not inherited from root svg element
Closed, ResolvedPublic

Description

Author: Martin.vGagern

Description:
I have a SVG file with fill="none" specified in the root <svg ...> element. With
this setting, polygons are filled black by the WikieMedia engine. When I repeat
the attribute in the containing <g ...> group, the polygon is correctly just
stroked and not filled. The same is true for stroke width; it is inherited from
parent <g ...> elements but not from the root <svg ...> element.

On the URL which I supplied, the first version I uploaded is rendered black, the
second one rendered transparent. In the third version I moved the width
specification as well, which fixed that problem as well.


Version: unspecified
Severity: normal
OS: Linux
Platform: PC
URL: http://commons.wikimedia.org/wiki/Image:Wallpaper_group_diagram_p4g.svg

Details

Reference
bz5108

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 9:07 PM
bzimport set Reference to bz5108.
bzimport added a subscriber: Unknown Object (MLST).
brion added a comment.Feb 27 2006, 2:31 AM

Still renders solid in librsvg 2.14.0.

Bug filed upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=332700

Fixed now that we have upgraded to librsvg 2.22.0.

Gilles moved this task from Untriaged to Done on the Multimedia board.