Closed
Bug 1199625
Opened 9 years ago
Closed 9 years ago
Test focus changing by long-tap for AccessibleCaretManager
Categories
(Core :: DOM: Selection, defect)
Core
DOM: Selection
Tracking
()
RESOLVED
FIXED
mozilla44
People
(Reporter: TYLin, Assigned: TYLin)
References
Details
Attachments
(1 file)
We have bug 1197739 because there's no test to cover focus change from long-tap events fired by APZ. Specifically, the focus should not be changed unless AccessibleCaretManager is going to: 1) Dispatch CaretStateChangedEvent on an empty editable field. 2) Select a word on a selectable frame. We should investigate whether we can write one per comment https://bugzilla.mozilla.org/show_bug.cgi?id=1197739#c10
Assignee | ||
Updated•9 years ago
|
Summary: Test focus changing by long-tap fired by for AccessibleCaretManager → Test focus changing by long-tap fired by APZ for AccessibleCaretManager
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → tlin
Assignee | ||
Comment 1•9 years ago
|
||
Bug 1209841 was landed, so we can write such tests now.
Summary: Test focus changing by long-tap fired by APZ for AccessibleCaretManager → Test focus changing by long-tap for AccessibleCaretManager
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1199625 - Test focus not being changed by long-pressing on non-selectable. r=mtseng We already had focus changing tests covered by _test_focus_obtained_by_long_press(). This patch adds tests for focus not being changed from an editable element after long-pressing on a non-selectable element. These tests will fail after reverting this change. "Bug 1197739 - Do not change focus too early unless the frame is selectable" https://hg.mozilla.org/mozilla-central/rev/4f2822bbbdb2
Attachment #8673001 -
Flags: review?(mtseng)
Updated•9 years ago
|
Attachment #8673001 -
Flags: review?(mtseng) → review+
Comment 3•9 years ago
|
||
Comment on attachment 8673001 [details] MozReview Request: Bug 1199625 - Test focus not being changed by long-pressing on non-selectable. r=mtseng https://reviewboard.mozilla.org/r/21827/#review19589
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2b2ec3e3090d
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•