View Single Post
Old 05-08-2021, 11:39 AM   #6
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,804
Karma: 6000000
Join Date: Nov 2009
Device: many
Yes, the issue appears to be that when you pull in svg via an img tag no outside links in the svg are processed. This is by definition how a img tag works.

As DiapDealer said, if you "include" the svg in some other way, such as an object tag or via an iframe then the proper svg external links are processed.

You can try the following (but set width and height to match the image).

<iframe src="../Images/Image04_svg_links_style_sheet.svg" />

So this appears to be spec (whatwg behaviour for anything that tries to include an svg via an img tag.

So you would need to take it up with the w3c and or Chrome developers.
KevinH is offline   Reply With Quote