зеркало из https://github.com/mozilla/gecko-dev.git
082c64aa0c
UI Events declares that keypress event should be fired when the keypress event causes some text input. However, we're keeping our traditional behavior for historical reasons because our internal event handlers (including event handlers of Thunderbird) handles keypress events for any keys. Therefore, for minimizing the side effect, we should stop kicking keypress event handlers in the default event group in web content. This patch adds new pref for enabling the standard behavior in web content. Additionally, creates WidgetKeyboardEvent::IsInputtingText() for sharing the check logic between TextEventDispatcher and TextEditor/HTMLEditor. MozReview-Commit-ID: 3rtXdLBPeVC --HG-- extra : rebase_source : 2fc3c9a09840d0d03800c9a42bb83ca76a8db2d5 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libbz2 | ||
libjar | ||
libmar | ||
libpref | ||
pdfium | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |