Closed Bug 1957298 Opened 1 year ago Closed 1 year ago

When updating URL with #:~:text= anchor, highlight is added for the new referenced text, but it does not replace the previous ones

Categories

(Core :: DOM: Navigation, defect)

Firefox 138
defect

Tracking

()

RESOLVED DUPLICATE of bug 1945386

People

(Reporter: nabijaczleweli, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0

Steps to reproduce:

Go to https://en.wikipedia.org/wiki/Radeon_RX_5000_series#:~:text=Radeon%20RX%205700%20XT
then update the URL to read https://en.wikipedia.org/wiki/Radeon_RX_5000_series#:~:text=Cards
then update the URL to read https://en.wikipedia.org/wiki/Radeon_RX_5000_series#:~:text=stack

Actual results:

Radeon RX 5700 XT AND Cards AND stack were high-lighted.

Expected results:

Only stack is highlighted. This can be corrected with ^R.

This is Nightly 138.0a1 (2025-03-30) (64-bit).

The Bugbug bot thinks this bug should belong to the 'Toolkit::Application Update' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Application Update
Product: Firefox → Toolkit
Component: Application Update → DOM: Navigation
Product: Toolkit → Core
Severity: -- → S3

This matches behavior in other browsers.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1945386
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.