Open
Bug 1343413
Opened 7 years ago
Updated 2 years ago
Focus is lost when moving to tail of contenteditable
Categories
(Core :: DOM: Selection, defect)
Core
DOM: Selection
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox54 | --- | affected |
People
(Reporter: m_kato, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [h2review-noted])
Attachments
(2 files)
2.12 KB,
patch
|
Details | Diff | Splinter Review | |
2.44 KB,
patch
|
Details | Diff | Splinter Review |
ENV === macOS 10.12 / Windows 10 Firefox 54 Nightly STEP ==== 1. Browse data:text/html,<div><span contenteditable>A-B</span> <span>D-E</span></div> 2. Focus "A" into contenteditable 3. Push [arrow right] until caret is moving to tail of contenteditable 4. Push [arrow right] RESULT ====== Focus is lost.
Reporter | ||
Comment 1•7 years ago
|
||
EXCEPTED RESULT =============== Don't lost focus
Reporter | ||
Comment 2•7 years ago
|
||
s/EXCEPTED/EXPECTED/
Reporter | ||
Updated•7 years ago
|
Summary: Focus is lost when moving to tail of contenteditable on macOS → Focus is lost when moving to tail of contenteditable
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → m_kato
Reporter | ||
Comment 3•7 years ago
|
||
DetermineElementToMoveFocus doesn't return next content, so MoveFocus clears focus unfortunately. Although GetSelectionLocation returns content, when current selection is last of node, it will return next node. So when returning node isn't focused node, GetFocusInSelection returns null as next content...
Reporter | ||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 5•7 years ago
|
||
Updated•4 years ago
|
Whiteboard: [h2review-noted]
See Also: → 1247480
Are you still working on this? I wonder, because it might affect related bugs.
Flags: needinfo?(m_kato)
Reporter | ||
Updated•3 years ago
|
Assignee: m_kato → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•