Open Bug 1908683 Opened 1 year ago Updated 1 year ago

The page scrolls excessively, leaving some highlighted text out of view on some devices

Categories

(Core :: DOM: Core & HTML, defect)

All
Android
defect

Tracking

()

Tracking Status
firefox130 --- affected

People

(Reporter: apetridean, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached video scroll.mp4

Prerequisites

Make sure you have dom.text_fragments.enabled is set to true.

Steps to reproduce

  1. Paste and navigate to the following link into the address bar: https://en.wikipedia.org/wiki/Nuclear_power#:~:text=Most,decreases ( Regular syntax + text end)
  2. Observe the loaded page.

Expected behavior

The webpage is opened, the specified text fragment is highlighted and the page is scrolled to the highlighted section.

Actual behavior

The page scrolls excessively, leaving some highlighted text out of view.

Device information

  • Firefox version: Nightly 130.0a1 from 17.07.2024
  • Android device model: Samsung Galaxy S23 Ultra (Android 14)

Any additional information?

This issue was observed also on OnePlus A3000 (Android 6).
This issue was observed with the syntax: Regular syntax + text end.

Blocks: 1867939
Severity: S3 → --
Component: General → DOM: Core & HTML
Product: Fenix → Core
Blocks: text-fragments
No longer blocks: 1867939
Severity: -- → S3

Thanks for reporting!
I tried to repro on a Galaxy Tab S9FE (Android 14) with today's Nightly, and for me it worked as expected. There's differences between a phone and a tablet of course, so I don't know if I just might not encounter the issue (different aspect ratio, larger screen, ...). Could you try with today's Nightly again to confirm that some very-recent changes in that area did not fix this issue?

Flags: needinfo?(apetridean)

We can still consistently reproduce this issue on the latest build (Nightly 130.0a1 from 19.07.2024 (Build #2016033466), hg-7e7a5777dd4e+, GV: 130.0a1-20240719095541, AS: 130.20240718050240).

Flags: needinfo?(apetridean)
Summary: The page scrolls excessively, leaving some highlighted text out of view on the Samsung Galaxy S23 Ultra → The page scrolls excessively, leaving some highlighted text out of view on some devices
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: