Site popup resets and doesn't reaply text fragment highlight and navigation
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox128 | --- | unaffected |
firefox129 | --- | unaffected |
firefox130 | --- | affected |
People
(Reporter: aflorinescu, Unassigned)
References
(Blocks 2 open bugs)
Details
Found in
- 130.0a1 (2024-07-30)
Affected versions
- 130.0a1 (2024-07-30)
Tested platforms
- Affected platforms:
- Ubuntu 22.04
- Mac 13.*
*Ubuntu 22.04
Preconditions
- dom.text_fragments.enabled True
Steps to reproduce
- New profile.
- Access https://www.hl.co.uk/pensions/insights/how-much-cash-should-i-hold-in-retirement#:~:text=To%20cover%20your%20emergency%20cash,you%20need%20to%20access%20it. (if link stale, suffices to do any text fragment from domain, clear cache and access it)
- On the displayed cookie popup, accept.
Expected result
- Text Fragment directive is reaplied after the cookies popup is handled.
Actual result
- Scroll for Text Fragment directive is not reaplied after the cookies popup is handled, highlight is kept.
Regression range
- N/A
Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
I just tested with a local build on Ubuntu. After dismissing the cookie banner the page seems to scroll to the top, but the text highlight is still there. Chrome and Safari show the same behavior.
Can you confirm that the highlight is actually not visible on the page?
Reporter | ||
Comment 2•1 year ago
|
||
(In reply to Jan Jaeschke [:jjaschke] from comment #1)
I just tested with a local build on Ubuntu. After dismissing the cookie banner the page seems to scroll to the top, but the text highlight is still there. Chrome and Safari show the same behavior.
Can you confirm that the highlight is actually not visible on the page?
You are right, my bad, scroll is reset, highlight remains, updating the description.
Comment 3•1 year ago
|
||
Thank you for confirming. I think we can close this one then -- this seems to be an issue with the page, not the browser.
If you enter the page with a normal ID instead of a text fragment (e.g. https://www.hl.co.uk/pensions/insights/how-much-cash-should-i-hold-in-retirement#bottom), it shows the same behavior. It scrolls to the bottom, after accepting the cookie banner it scrolls to the top.
Description
•