зеркало из https://github.com/mozilla/gecko-dev.git
e1298d770d
Currently, it dispatches `input` event with holding `mPlaceholderTransaction` and `mPlaceholerBatch` as 1. If `input` event listener sets value in XUL document, the setting value transaction will break the existing placeholder transaction. Then, only the last one will be undone, and it causes inserting new padding `br` element with transaction and clears redo history. This patch makes it forget them before dispatching `input` event. Note that I tried to create automated test for this, but I cannot reproduce this with simple testcase. I guess something other things also required to reproduce this bug. Differential Revision: https://phabricator.services.mozilla.com/D110715 |
||
---|---|---|
.. | ||
composer | ||
docs | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |