Open Bug 1857656 Opened 1 year ago Updated 1 year ago

Consider keeping the line scroll amount constant in screen pixels when zoomed in

Categories

(Core :: Layout: Scrolling and Overflow, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: botond, Unassigned)

References

Details

Steps to reproduce

  1. Load https://theres-waldo.github.io/mozilla-testcases/long.html
  2. At the default reflowing-zoom level (100%), tick the mousewheel once.
  3. Take note of how many lines of text were scrolled.
  4. Increase the reflowing-zoom level to 200%, and tick the mousewheel again.
  5. Take note of how many lines of text were scrolled now.

The current behaviour is to keep the number of lines of text scrolled per mousewheel tick constant across different zoom levels, which results in the number of screen pixels scrolled per mousewheel tick not being constant across different zoom levels.

An alternative to consider would be to keep the number of screen pixels scrolled per mousewheel tick constant across different zoom levels. This is what Chrome appears to do.

A similar issue exists for pinch-zooming, though that's a different codepath and would require a different fix (if we want the same policy for it).

Severity: -- → S3
Priority: -- → P3
See Also: → 1720084
You need to log in before you can comment on or make changes to this bug.