Created attachment 357122 [details] minimal example of two svgs with links In Safari 12.1, activating <a>'s inside SVG content no longer causes navigation to the target. Both iOS and MacOS are affected; on MacOS using "open link in new tab" from the context menu still works.
Can you clarify what the expected behavior is? Are you observing a change in behavior from some earlier version? When I click on the first circle in any build of Safari that I tried, nothing happens. When I click on the second one, the page navigates to developer.mozilla.com.
> Can you clarify what the expected behavior is? Are you observing a change in behavior from some earlier version? Thanks for following up and my apologies - I should've checked the sample I uploaded better (rather than expecting this to work as in my original sample). Expected: The first (relative) link should change the URL (to add #target) and thus trigger the CSS (add a red border around the second heading). Actual: the URL does not change. Affected: Safari 12.1 (both iOS and MacOS), WebKitGTK+ 2.22.4 As you kindly pointed out, the external link does work correctly (it actually didn't for me originally because of an error on my part - sorry for the sloppiness). Thanks again for your help.
Thank you. I can reproduce the issue in Safari 12.0.2 (the latest shipping version at this time). Looks like the same issue as bug 148477. *** This bug has been marked as a duplicate of bug 148477 ***
Ah, I had not found that issue - sorry!