WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
250320
In-page link to text fragment does not update URL fragment
https://bugs.webkit.org/show_bug.cgi?id=250320
Summary
In-page link to text fragment does not update URL fragment
Dan
Reported
2023-01-09 05:30:44 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-01-16 05:31:16 PST
<
rdar://problem/104297224
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug