[Webkit-unassigned] [Bug 250320] New: In-page link to text fragment does not update URL fragment

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 9 05:30:44 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=250320

            Bug ID: 250320
           Summary: In-page link to text fragment does not update URL
                    fragment
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: History
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dan at moqups.com

Support for linking to text fragments was introduced in Safari 16.1. 

Clicking an in-page link to a text fragment, such as in the example below, does not update the URL with the new fragment:

<a href='#:~:text=hello%20world'>Go to: hello world</a>

I'm not sure if this works as intended, but it is in contrast to the behavior of other browsers (e.g. Firefox, Safari), which update the URL fragment. Also note that in Safari, right-clicking and opening the link in a separate tab does preserve the text fragment identifier in the URL.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230109/8f0be178/attachment.htm>


More information about the webkit-unassigned mailing list