Closed
Bug 1723125
Opened 3 years ago
Closed 3 years ago
Don't delete normal selection during composition
Categories
(Core :: DOM: Editor, defect, P2)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
92 Branch
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
(Keywords: inputmethod)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Our editor (and the other browsers' one) allows web apps to change normal selection during composition (i.e., won't commit the composition). However, our editor deletes selected content at every composition string change. This causes deleting unexpected text by doing anything during composition. Therefore, editor should ignore selection when updates the composition.
Assignee | ||
Comment 1•3 years ago
|
||
Web apps can modify normal selection even during IME composition and no
browsers stop composition by it. However, our editor tries to delete
non-collapsed selected range before updating composition. Therefore,
we need additional state at handling inserting text whether selection
should be deleted or ignored.
Depends on D121371
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/9a4c55524395
Ignore normal selection when updating composition string r=m_kato
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•