Changes

Jump to: navigation, search

Gecko:Mouse Wheel Scrolling

109 bytes added, 12:20, 31 January 2010
Override system of system scroll speed
= Override system of system scroll speed =
We're providing an override mechanism of system scroll speed because the default system scrolling speed of Windows is slower than WebKit's scrolling speed. This was suggested for alternative way of the acceleration system (see next section).
This is enabled in default settings '''only''' on Windows. '''mousewheel.system_scroll_override_on_root_content.enabled''' can switch it.
The ratio can be specified by hidden prefs. '''mousewheel.system_scroll_override_on_root_content.vertical.factor''' is for vertical scrolling event. '''mousewheel.system_scroll_override_on_root_content.horizontal.factor''' is for horizontal scrolling event. The values are used as 1/100 (i.e., the default value 200 means 2.0).
nsEventStateManager multiplies the scrolling speed by the ratio when it executes to scroll a target actually'''root''' scrollable view of a document. So, DOMMouseScroll event's delta value has never been overwritten by this.
See also [https://bugzilla.mozilla.org/show_bug.cgi?id=513817 bug 513817].
87
edits

Navigation menu