zephyrer / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

relative hrefs in embedded SVG resolved incorrectly #582

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
* Write an SVG document containing an <image> element which references a raster 
graphic using a relative URL.
* Have an HTML document which is located in a different directory than the SVG 
document and which embeds said SVG document via an <object> tag.

It is important to have HTML and SVG document in different directories, so the 
URL to the raster graphic would be resolved differently depending on whether 
the location of the HTML or of the SVG document is used as the base URL.

The relative URL in the xlink:href attribute should be resolved relative to the 
location of the SVG document to find the raster graphic. SVG Web does not 
display the raster graphic, though.

Observed in SVG Web Owlephant-1 r1232M with Shockwave Flash 10.1 r85 for 
Microsoft Windows XP

Original issue reported on code.google.com by f_bru...@web.de on 27 Nov 2010 at 4:17