GNOME Bugzilla – Bug 379629
CSS: !important not respected
Last modified: 2010-04-04 23:17:59 UTC
Please describe the problem: when applying a stylesheet, rsvg doesnt respect !important style declarations Steps to reproduce: 1. create a svg document consisting of paths with regular stroke style rules inline on each element. 2. In the XML add <style type="text/css"> </style> underneath the <svg> element. 3. place the CSS "path {stroke:pink !important;}" within the style tags. Actual results: other svg rendering libraries display all path strokes as pink. rsvg will render the first specified rule and stick with it, effectively ignoring the !important declaration Expected results: I expect pink strokes all around. ( in this test-case.) Does this happen every time? yes Other information:
Created attachment 77182 [details] svg with included stylesheet specifying !important style declarations
*** This bug has been marked as a duplicate of bug 614606 ***