зеркало из https://github.com/mozilla/gecko-dev.git
f334ac54b8
Now, `nsIFrame::HandleEvent` moves selection at middle mouse button down. This occurs before dispatching the event into the system event group. Therefore, `AutoScrollChild` cannot prevent it. On the other hand, Chrome does not start autoscroll when a modifier is pressed. This means that our users may not be able to use middle click with modifiers if web apps do not call `preventDefault()` as expected. So, this difference is a potential risk of web-compat. Therefore, this patch makes `AutoScrollChild` stop starting autoscroll if `Shift` key is pressed. Differential Revision: https://phabricator.services.mozilla.com/D119253 |
||
---|---|---|
.. | ||
actors | ||
components | ||
content | ||
crashreporter | ||
docs | ||
library | ||
locales | ||
modules | ||
mozapps | ||
profile | ||
system | ||
themes | ||
xre | ||
.eslintrc.js | ||
l10n-registry.manifest | ||
moz.build | ||
moz.configure | ||
toolkit.mozbuild |