зеркало из https://github.com/mozilla/gecko-dev.git
d648744f28
If no text is selected, this is the same as passing the caret offset, since the selection range is already where we want it. However, if text is selected, this allows the caller to replace it, just as it would be when pasting using the keyboard or GUI. Note that this doesn't break any existing expectations because TEXT_OFFSET_CARET was never supported for this method previously. This allows us to remove the DeleteText call from Android SessionAccessibility::Paste. This separate DeleteText call was causing problems because it could result in the deletion and the insertion happening in two separate ticks, resulting in incorrect events. Now, this should always happen in a single tick. Differential Revision: https://phabricator.services.mozilla.com/D226108 |
||
---|---|---|
.. | ||
ia2 | ||
msaa | ||
moz.build | ||
nsIAccessibilityService.idl | ||
nsIAccessible.idl | ||
nsIAccessibleAnnouncementEvent.idl | ||
nsIAccessibleApplication.idl | ||
nsIAccessibleCaretMoveEvent.idl | ||
nsIAccessibleDocument.idl | ||
nsIAccessibleEditableText.idl | ||
nsIAccessibleEvent.idl | ||
nsIAccessibleHideEvent.idl | ||
nsIAccessibleHyperLink.idl | ||
nsIAccessibleHyperText.idl | ||
nsIAccessibleImage.idl | ||
nsIAccessibleMacInterface.idl | ||
nsIAccessibleObjectAttributeChangedEvent.idl | ||
nsIAccessiblePivot.idl | ||
nsIAccessibleRelation.idl | ||
nsIAccessibleRole.idl | ||
nsIAccessibleScrollingEvent.idl | ||
nsIAccessibleSelectable.idl | ||
nsIAccessibleStateChangeEvent.idl | ||
nsIAccessibleStates.idl | ||
nsIAccessibleTable.idl | ||
nsIAccessibleTableChangeEvent.idl | ||
nsIAccessibleText.idl | ||
nsIAccessibleTextChangeEvent.idl | ||
nsIAccessibleTextLeafRange.idl | ||
nsIAccessibleTextRange.idl | ||
nsIAccessibleTextSelectionChangeEvent.idl | ||
nsIAccessibleTypes.idl | ||
nsIAccessibleValue.idl |