87
edits
| Line 58: | Line 58: | ||
= 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 | 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 is enabled in default settings '''only''' on Windows. '''mousewheel.system_scroll_override_on_root_content.enabled''' can switch it. | This is enabled in default settings '''only''' on Windows. '''mousewheel.system_scroll_override_on_root_content.enabled''' can switch it. | ||
| Line 66: | Line 66: | ||
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). | 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 | nsEventStateManager multiplies the scrolling speed by the ratio when it executes to scroll a target actually. 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]. | See also [https://bugzilla.mozilla.org/show_bug.cgi?id=513817 bug 513817]. | ||
edits