mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
cc72d328af
This didn't work properly for non-native key bindings because: https://hg.mozilla.org/mozilla-central/rev/8934e6e6ccb6 Moved the DetachedFromEditorOrDefaultPrevented() check before the "hide cursor" check, rather than after. This was a quick fix, because if we're detached from the editor, then GetPresContext would assert. But I didn't realize at the time (since it was a long time since I wrote the patch) that most events there actually are default-prevented. To fix this, split the checks. Checks for DetachedFromEditor() first, and only after potentially hiding the cursor check whether the event is default-prevented. Differential Revision: https://phabricator.services.mozilla.com/D187536 |
||
---|---|---|
.. | ||
composer | ||
docs | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.sys.mjs | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |