<?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>224575</bug_id>
          
          <creation_ts>2021-04-14 14:04:57 -0700</creation_ts>
          <short_desc>[GTK] Anchor links don&apos;t work when opened in new web views</short_desc>
          <delta_ts>2021-04-14 14:04:57 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1750324</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2021-04-14 14:04:57 -0700</bug_when>
    <thetext>Visit https://docs.python.org/3/library/stdtypes.html#memoryview

It says: &quot;Create a memoryview that references obj. obj must support the buffer protocol. Built-in objects that support the buffer protocol include bytes and bytearray.&quot; The words &quot;bytes&quot; and &quot;bytearray&quot; are both anchor links. The bytes link points to:

https://docs.python.org/3/library/stdtypes.html#bytes

If you load that URL in an existing tab, or in a new tab via webkit_web_view_load_uri(), WebKit will scroll to the correct anchor point in stdtypes.html and all is well. But if you Ctrl+click or right click on the link and load it in a new tab via the context menu, the anchor link does not work properly and you&apos;re taken to a random point on the page.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>