[BZ#338160] Contextural styles failing to be read
Submitted by Andy Fitzsimon
Link to original bug (#338160)
Description
Please describe the problem: contextural styles fail to work when rsvg interprets an svg file. for example
path{stroke-fill: #000000; stroke-width: 1px;} #duck g#duck-beak path{stroke-width: 4px;}
all paths within the group with the duck-beak ID will given a stroke width of 4px as opposed to the default 1px width specified to all higher in the stylesheet.
Steps to reproduce:
- open the file http://andy.brisgeek.com/files/test-screen.svg (5kb)
- notice that evil lurks as contextural styles arent respected.
Actual results:
I freak out in a state of shock.
The tears start and soon I'm quivering in foetal position on the floor. Gently
rocking back and forth, all the while wispering "They'll fix it .. I filed a
report, They'll fix it"
Expected results: Id expect to see all paths within the monitor to hahve 75% opacity and there to be a black line around every shape as well. ( yeah its an ugly effect, but it proves the bug )
Does this happen every time? Even if I ask rsvg nicely
Other information: You guys rock harder than coal turning to diamonds. I really hope this wont be too hard to fix, after all, someone got filters working and sexy. Thank you.
- Andy