mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 14:02:47 +00:00
6b58ba4928
Actually, before starting composition, we always remove current selected text. So it causes that input event is fired by this operation. This is different of Blink. `TextEventDispatcher` can set composition string using selected text when starting composition. So we can reduce this input event. Also, I mistake bug 1499076 fix. By this fix, we always fires input event when having selected text even if it is unnecessary. This changeset has this fix too. Differential Revision: https://phabricator.services.mozilla.com/D105464