mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
8af22120f6
This is a regression of bug 1311934. The traditional `TextServicesDocument::IsBlockNode()` was wrong name, the users of the method intent to check whether a word is not split by the found sibling. Therefore, the method returned `true` for `<br>` element. However, of course, `HTMLEditUtils::IsBlockElement()` is not so because of an inline element. For making the callers clearer, this patch adds `<br>` element check into each place. Without this patch, the new test fails to replace a misspelled word immediately after `<br>` element. Depends on D123283 Differential Revision: https://phabricator.services.mozilla.com/D123284 |
||
---|---|---|
.. | ||
composer | ||
docs | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |