Incorrect handling of relative paths in external stylesheets
Submitted by ber..@..net
Link to original bug (#711577)
Description
Consider the following setup:
image.svg
style/style.css
rect {fill:green; filter:url(filter.svg#blur)}
style/filter.svg
Rendering image.svg, the result is a green square, but it is unblurred. The css file is applied, but the filter is not. As a control, the square is correctly blurred in Firefox and Opera.
If I change the relative address in the css file to filter:url(style/filter.svg#blur), rsvg applies the filter.
Seemingly, relative paths in external css files are evaluated relative to the svg file that includes the css file. However, the paths should be relative to the css file.
Edited by Federico Mena Quintero