Scroll amount is very small or big

NEW
Unassigned

Status

()

Core
Layout
3 years ago
3 years ago

People

(Reporter: Alice0775 White, Unassigned)

Tracking

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

3 years ago
Created attachment 8502741 [details]
testcase scroll amount is very small

IE and Chrome does not have the problem.

Steps To Reproduce:
1. Open attached
2. Click upper pane and Attempt to scroll by mouse wheel or arrow key
   --- You can see the problem. Scroll amount is very small.

3. Click lower pane and Attempt to scroll by mouse wheel or arrow key
   --- This seems to be correct behavior.

Actual Results:
Scroll amount of the upper pane is very small.

Expected Results:
Scroll amount should be same as other place.
(Reporter)

Updated

3 years ago
Component: DOM → Layout
To me Gecko's behavior is the expected one.
I wonder what heuristics IE and Chrome use in this kind of case.
Currently, the font size of the scrollable element is used to determine how much to scroll. For "content" the fontsize is 1px (even though it contains elements that have fontsize 18px), and the "content2" the fontsize is 16px.
Does anyone have a proposal of what to do instead?
Yeah, for mouse wheel scroll amount, we have mousewheel.min_line_scroll_amount pref whose value is minimum line height in pixels. When actual line height is smaller than the value, Gecko use the value as line height as to scroll.

If we make this value larger, somebody may feel it's too fast, though.
(Reporter)

Comment 5

3 years ago
Created attachment 8503580 [details]
testcase scroll amount is too big
(Reporter)

Updated

3 years ago
Summary: Scroll amount is very small. → Scroll amount is very small or big
(Reporter)

Updated

3 years ago
Attachment #8502741 - Attachment description: testcase → testcase scroll amount is very small
You need to log in before you can comment on or make changes to this bug.