Open Bug 1080830 Opened 10 years ago Updated 2 years ago

Scroll amount is very small or big

Categories

(Core :: Layout, defect)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: alice0775, Unassigned)

Details

Attachments

(2 files)

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.
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.
Summary: Scroll amount is very small. → Scroll amount is very small or big
Attachment #8502741 - Attachment description: testcase → testcase scroll amount is very small
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: