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 702537 - css styles don't get applied right
css styles don't get applied right
Status: RESOLVED OBSOLETE
Product: librsvg
Classification: Core
Component: general
2.40.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-18 08:42 UTC by mounier.florian
Modified: 2017-12-13 18:00 UTC
See Also:
GNOME target: ---
GNOME version: 3.13/3.14


Attachments
Wrong style example (560 bytes, image/svg+xml)
2013-06-18 08:42 UTC, mounier.florian
Details

Description mounier.florian 2013-06-18 08:42:13 UTC
Created attachment 247100 [details]
Wrong style example

With librsvg 2.37.0 and with the very simple attached svg I get something very surprising.

This:

  <g class="graph">
    <rect width="200" height="40" y="0" x="0" class="background"/>
  </g>

with the following style:

  .graph {
    fill: red;
  }
  .graph .background {
    fill: blue;
  }

renders as RED.

See attachement.
Comment 1 Perhelion 2014-06-12 19:35:37 UTC
Reported also on Wikimedia as CSS child selector not supported by librsvg http://bugzilla.wikimedia.org/show_bug.cgi?id=41423
Comment 2 mounier.florian 2015-01-13 13:44:45 UTC
I don't want to be pushy, but 1 year and a half later this critical bug is still not fixed in the latest release (2.40.6), and no feedback on this has been given even though the test case is fairly simple. What now ?
Comment 3 Matthias Clasen 2015-09-03 03:01:10 UTC
> What now ?

You could attach a patch.
Comment 4 GNOME Infrastructure Team 2017-12-13 18:00:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/79.