gecko-dev/editor
Masayuki Nakano df7aad424e Bug 1916081 - Make HTMLEditor::FocusedElementOrDocumentBecomesNotEditable stop using aHTMLEditor at adjusting IME state r=m_kato
`aHTMLEditor` may be `nullptr` and there may have been an `HTMLEditor` before
it's called.  Therefore, it may need to adjust IME state even if `aHTMLEditor`
is `nullptr`.  So, it should adjust IME state from `aDocument` which should be
same as `aHTMLEditor->GetDocument()` if `aHTMLEditor` is not `nullptr`.

Note that if `IMEStateManager` thinks another `nsPresContext` has focus, it does
not touch IME state.  Therefore, it's safe to skip checking the focus state of
the `Document`.

Differential Revision: https://phabricator.services.mozilla.com/D220772
2024-09-05 00:52:58 +00:00
..
composer
docs
libeditor Bug 1916081 - Make HTMLEditor::FocusedElementOrDocumentBecomesNotEditable stop using aHTMLEditor at adjusting IME state r=m_kato 2024-09-05 00:52:58 +00:00
reftests
spellchecker
txmgr
AsyncSpellCheckTestHelper.sys.mjs
moz.build
nsIDocumentStateListener.idl
nsIEditActionListener.idl
nsIEditor.idl Bug 1809713 - Use ClipboardType in editor. r=masayuki 2024-07-29 11:52:33 +00:00
nsIEditorMailSupport.idl
nsIEditorSpellCheck.idl
nsIHTMLAbsPosEditor.idl
nsIHTMLEditor.idl
nsIHTMLInlineTableEditor.idl
nsIHTMLObjectResizer.idl
nsITableEditor.idl