gecko-dev/accessible/interfaces
James Teh d648744f28 Bug 1837126: Don't set the selection range when HyperTextAccessibleBase::PasteText is called with TEXT_OFFSET_CARET. r=eeejay
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
2024-10-20 22:35:34 +00:00
..
ia2
msaa
moz.build Bug 1862802 part 5: Remove virtual cursor change event. r=eeejay 2023-11-29 03:53:20 +00:00
nsIAccessibilityService.idl Bug 1794974: Part 6: Add xpcAccessibilityService::setCacheDomains, r=Jamie 2024-09-09 23:02:21 +00:00
nsIAccessible.idl
nsIAccessibleAnnouncementEvent.idl
nsIAccessibleApplication.idl
nsIAccessibleCaretMoveEvent.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIAccessibleDocument.idl
nsIAccessibleEditableText.idl Bug 1837126: Don't set the selection range when HyperTextAccessibleBase::PasteText is called with TEXT_OFFSET_CARET. r=eeejay 2024-10-20 22:35:34 +00:00
nsIAccessibleEvent.idl Bug 1915262 - Fire queued live region event from content in MacOS. r=morgan 2024-10-10 17:36:26 +00:00
nsIAccessibleHideEvent.idl
nsIAccessibleHyperLink.idl
nsIAccessibleHyperText.idl
nsIAccessibleImage.idl
nsIAccessibleMacInterface.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIAccessibleObjectAttributeChangedEvent.idl
nsIAccessiblePivot.idl Bug 1862802 part 5: Remove virtual cursor change event. r=eeejay 2023-11-29 03:53:20 +00:00
nsIAccessibleRelation.idl
nsIAccessibleRole.idl Bug 1849160 - Part 1: Implement rowgroup role, r=Jamie 2024-04-10 17:22:12 +00:00
nsIAccessibleScrollingEvent.idl
nsIAccessibleSelectable.idl
nsIAccessibleStateChangeEvent.idl
nsIAccessibleStates.idl
nsIAccessibleTable.idl
nsIAccessibleTableChangeEvent.idl
nsIAccessibleText.idl Bug 855184 part 1: Add BOUNDARY_CLUSTER so a11y can query grapheme clusters, AKA user-perceived characters. r=eeejay 2024-06-04 20:36:42 +00:00
nsIAccessibleTextChangeEvent.idl
nsIAccessibleTextLeafRange.idl
nsIAccessibleTextRange.idl
nsIAccessibleTextSelectionChangeEvent.idl
nsIAccessibleTypes.idl
nsIAccessibleValue.idl