mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
ea0f7627b9
On desktop, the context menu is shown when the user lifts their finger after a long press, but only if the eMouseLongTap event is not cancelled. So by not cancelling it, we allow both the text selection and the context menu. On Android, the context menu takes priority over text selection, so this has no effect (i.e. if the context menu is shown, then the AccessibleCaret code never even gets the eMouseLongTap event). Also on Android nothing else relies on the cancellation of the eMouseLongTap event, so this change is a no-op. MozReview-Commit-ID: peFzB2afha |
||
---|---|---|
.. | ||
moz.build | ||
TestAccessibleCaretEventHub.cpp | ||
TestAccessibleCaretManager.cpp |