gecko-dev/layout/base/tests/marionette
Ting-Yu Lin 16737fbf2f Bug 1306634 Part 1 - Handle a long press to select a word in an unfocused iframe. r=mats,marionette-reviewers,whimboo
Long-pressing on a text in an unfocused iframe to select a word never
works. Currently, you need to single tap to focus the iframe first.

Each PresShell has an associated AccessibleCaretEventHub. This patch
fixes this bug by routing the event to the AccessibleCaretEventHub under
the event point, and handle it there. If the event is not handled, then
we handle it by the focused AccessibleCaretEventHub as before.

I've experimented with only routing the event to the
AccessibleCaretEventHub under the event point, without routing to the
fallback focused AccessibleCaretEventHub. However, caret dragging didn't
work in iframes. I didn't debug further.

Differential Revision: https://phabricator.services.mozilla.com/D52767

--HG--
extra : moz-landing-system : lando
2020-01-17 22:21:35 +00:00
..
manifest.ini Bug 1536278 - re-enable test_accessiblecaret_cursor_mode.py tests on windows10-aarch64 r=whimboo,jmaher 2019-04-15 07:17:21 +00:00
selection.py Bug 1534584 Part 2 - Remove legacy_actions from AccessibleCaret tests. r=whimboo 2019-03-25 20:28:44 +00:00
test_accessiblecaret_cursor_mode.py Bug 1534584 Part 2 - Remove legacy_actions from AccessibleCaret tests. r=whimboo 2019-03-25 20:28:44 +00:00
test_accessiblecaret_selection_mode.py Bug 1306634 Part 1 - Handle a long press to select a word in an unfocused iframe. r=mats,marionette-reviewers,whimboo 2020-01-17 22:21:35 +00:00