RESOLVED DUPLICATE of bug 148477 192623
Links in SVG are broken (no navigation)
https://bugs.webkit.org/show_bug.cgi?id=192623
Summary Links in SVG are broken (no navigation)
Peter Krautzberger
Reported 2018-12-12 06:58:33 PST
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.
Attachments
minimal example of two svgs with links (869 bytes, text/html)
2018-12-12 06:58 PST, Peter Krautzberger
no flags
Alexey Proskuryakov
Comment 1 2018-12-12 13:06:19 PST
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.
Peter Krautzberger
Comment 2 2018-12-12 13:37:20 PST
> 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.
Alexey Proskuryakov
Comment 3 2018-12-12 14:27:43 PST
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 ***
Peter Krautzberger
Comment 4 2018-12-12 14:37:55 PST
Ah, I had not found that issue - sorry!
Note You need to log in before you can comment on or make changes to this bug.