After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 615701 - class directive in svg element is not used at all
class directive in svg element is not used at all
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks: 403546
 
 
Reported: 2010-04-14 02:48 UTC by Hiroyuki Ikezoe
Modified: 2010-04-19 11:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample svg (388 bytes, image/svg+xml)
2010-04-14 02:48 UTC, Hiroyuki Ikezoe
  Details
Fix (6.28 KB, patch)
2010-04-14 02:55 UTC, Hiroyuki Ikezoe
committed Details | Review

Description Hiroyuki Ikezoe 2010-04-14 02:48:23 UTC
Created attachment 158666 [details]
sample svg

"svg" element in sample svg image has class attribute. The attribute value is "svg". And .svg class should be filled in blue color in style element, but rsvg-view draw rectangle in the image with black color.
Comment 1 Hiroyuki Ikezoe 2010-04-14 02:55:52 UTC
Created attachment 158667 [details] [review]
Fix

RsvgPropertyBag for svg element should be kept to apply it after loading style sheet variables, so RsvgPropertyBag is changed to GHashTable itself to be managed reference count.