<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>192623</bug_id>
          
          <creation_ts>2018-12-12 06:58:33 -0800</creation_ts>
          <short_desc>Links in SVG are broken (no navigation)</short_desc>
          <delta_ts>2018-12-12 14:37:55 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>Safari 12</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>148477</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Krautzberger">peter</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1487185</commentid>
    <comment_count>0</comment_count>
      <attachid>357122</attachid>
    <who name="Peter Krautzberger">peter</who>
    <bug_when>2018-12-12 06:58:33 -0800</bug_when>
    <thetext>Created attachment 357122
minimal example of two svgs with links

In Safari 12.1, activating &lt;a&gt;&apos;s inside SVG content no longer causes navigation to the target.

Both iOS and MacOS are affected; on MacOS using &quot;open link in new tab&quot; from the context menu still works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1487308</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-12-12 13:06:19 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1487319</commentid>
    <comment_count>2</comment_count>
    <who name="Peter Krautzberger">peter</who>
    <bug_when>2018-12-12 13:37:20 -0800</bug_when>
    <thetext>&gt; 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&apos;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&apos;t for me originally because of an error on my part - sorry for the sloppiness).

Thanks again for your help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1487332</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-12-12 14:27:43 -0800</bug_when>
    <thetext>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 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1487338</commentid>
    <comment_count>4</comment_count>
    <who name="Peter Krautzberger">peter</who>
    <bug_when>2018-12-12 14:37:55 -0800</bug_when>
    <thetext>Ah, I had not found that issue - sorry!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>357122</attachid>
            <date>2018-12-12 06:58:33 -0800</date>
            <delta_ts>2018-12-12 06:58:33 -0800</delta_ts>
            <desc>minimal example of two svgs with links</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>869</size>
            <attacher name="Peter Krautzberger">peter</attacher>
            
              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