gecko-dev/accessible/base
James Teh be0257f0e6 Bug 1767887: Fix TextLeafPoint paragraph boundary search for the second leaf Accessible and beyond after a block. r=morgan
The code checks whether the origin is inside the block, since if not, the block ends before the origin.
However, it previously didn't handle the case where there was a leaf outside the block between the block and the origin.
An additional check has now been added to handle this case.
This required the code to be restructured somewhat, which hopefully also makes it easier to read/debug.

Differential Revision: https://phabricator.services.mozilla.com/D145867
2022-05-09 23:41:02 +00:00
..
ARIAMap.cpp Bug 1727616 - Add meter ARIA role. r=Jamie 2021-08-26 16:17:21 +00:00
ARIAMap.h Backed out 4 changesets (bug 1722396) for causing multiple failures CLOSED TREE 2021-07-30 01:39:18 +03:00
ARIAStateMap.cpp Bug 1693607 - [Linux] Add braces around statements. r=morgan 2021-02-19 23:14:32 +00:00
ARIAStateMap.h Bug 1359482: Don't expose the editable state on ARIA grids and gridcells. r=eeejay 2021-01-15 01:32:13 +00:00
AccAttributes.cpp Bug 1735970 part 8: Enable AccAttributes to store an array of uint64_t. r=morgan 2022-04-01 09:49:58 +00:00
AccAttributes.h Bug 1735970 part 8: Enable AccAttributes to store an array of uint64_t. r=morgan 2022-04-01 09:49:58 +00:00
AccEvent.cpp Bug 1713050 - P2: Add granularity to a11y caret move events. r=morgan 2022-03-16 05:56:25 +00:00
AccEvent.h Bug 1713050 - P2: Add granularity to a11y caret move events. r=morgan 2022-03-16 05:56:25 +00:00
AccGroupInfo.cpp Bug 1760735: Support TableAccessibleBase in AccGroupInfo. r=eeejay 2022-04-12 23:49:57 +00:00
AccGroupInfo.h Bug 1737944 - P9: Make AccGroupInfo use Accessible. r=Jamie 2022-01-04 21:01:38 +00:00
AccIterator.cpp Bug 1737944 - P9: Make AccGroupInfo use Accessible. r=Jamie 2022-01-04 21:01:38 +00:00
AccIterator.h Bug 1735970 part 7: Make AccIterable::Next return an Accessible. r=morgan 2022-04-01 09:49:58 +00:00
AccTypes.h Bug 1747835 - P1: Add eHTMLDateTimeFieldType AccType and IsDateTimeField checker. r=morgan 2022-01-05 22:30:52 +00:00
Asserts.cpp
CacheConstants.h Bug 1735101: Cache char, line coordinate info to support computing TextBounds and CharBounds in the parent process r=Jamie 2022-05-09 20:30:27 +00:00
CachedTableAccessible.cpp Bug 1735970 part 12: Implement selection setter methods in CachedTableAccessible for LocalAccessibles. r=morgan 2022-04-01 09:50:00 +00:00
CachedTableAccessible.h Bug 1735970 part 12: Implement selection setter methods in CachedTableAccessible for LocalAccessibles. r=morgan 2022-04-01 09:50:00 +00:00
DocManager.cpp Bug 1757257: Don't assert for a null frame in TextAttrsMgr::GetAttributes. r=morgan 2022-03-01 21:16:43 +00:00
DocManager.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
EmbeddedObjCollector.cpp Bug 1694203 - P9: Have RemoteAccessible inherit from Accessible. r=Jamie 2021-03-02 16:32:24 +00:00
EmbeddedObjCollector.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
EventQueue.cpp Bug 1192108: Fire focus events after mutation events but before any other events. r=eeejay 2022-05-06 23:59:43 +00:00
EventQueue.h Bug 1192108: Fire focus events after mutation events but before any other events. r=eeejay 2022-05-06 23:59:43 +00:00
EventTree.cpp Bug 1725145 - fixes for linking in the hybrid build env. r=valentin 2021-08-22 10:21:56 +00:00
EventTree.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
Filters.cpp Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
Filters.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
FocusManager.cpp Bug 1691930 - Check that FocusedChild is bound to a doc in RecvFocusedChild. r=Jamie 2021-03-24 16:24:47 +00:00
FocusManager.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
HTMLMarkupMap.h Bug 1714390 - P5: Use static aria_* atoms for aria attributes. r=Jamie 2021-06-10 23:07:07 +00:00
IDSet.h
Logging.cpp Bug 1741148 - part 4: Add `nsINode::ComputeIndexInParentNode()` and `nsINode::ComputeIndexInParentContent()` r=smaug 2021-12-09 12:03:00 +00:00
Logging.h Bug 1729061 - Introduce cache verification logging. r=Jamie 2021-09-28 21:55:41 +00:00
MathMLMarkupMap.h Bug 1703600 part 4: Move MathML elements into MathMLMarkupMap.h. r=eeejay 2021-04-14 04:11:18 +00:00
NotificationController.cpp Bug 1192108: Fire focus events after mutation events but before any other events. r=eeejay 2022-05-06 23:59:43 +00:00
NotificationController.h Bug 1613634 - Reduce calls to CoalesceMutationEvents r=Jamie,eeejay 2022-01-07 18:48:37 +00:00
Pivot.cpp Bug 1755383 - P1: Move SelectAccessible methods to Accessible. r=morgan 2022-02-16 18:42:53 +00:00
Pivot.h Bug 1755383 - P1: Move SelectAccessible methods to Accessible. r=morgan 2022-02-16 18:42:53 +00:00
Platform.h Bug 1765430 - P3: Refactor Android Pivot methods. r=Jamie 2022-04-27 22:44:45 +00:00
Relation.h Bug 1735970 part 7: Make AccIterable::Next return an Accessible. r=morgan 2022-04-01 09:49:58 +00:00
RelationType.h Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay 2021-05-26 21:31:42 +00:00
RelationTypeMap.h Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay 2021-05-26 21:31:42 +00:00
Role.h Bug 1460378: Introduce meter role and HTMLMeterAccessible class. r=Jamie 2021-02-17 15:58:31 +00:00
RoleMap.h Bug 1732108: Map ATK_ROLE_CONTENT_DELETION/INSERTION. r=eeejay 2021-09-24 00:05:50 +00:00
SelectionManager.cpp Bug 1713050 - P2: Add granularity to a11y caret move events. r=morgan 2022-03-16 05:56:25 +00:00
SelectionManager.h
States.h Bug 1738032 part 2: Push a11y state in the initial cache push. r=eeejay 2021-11-02 23:56:35 +00:00
Statistics.h
StyleInfo.cpp Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame 2021-08-07 09:47:15 +00:00
StyleInfo.h Bug 1714390 - P4: Set non-string values in AccAttributes when possible. r=Jamie 2021-06-10 23:07:06 +00:00
TextAttrs.cpp Bug 1757257: Don't assert for a null frame in TextAttrsMgr::GetAttributes. r=morgan 2022-03-01 21:16:43 +00:00
TextAttrs.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
TextLeafRange.cpp Bug 1767887: Fix TextLeafPoint paragraph boundary search for the second leaf Accessible and beyond after a block. r=morgan 2022-05-09 23:41:02 +00:00
TextLeafRange.h Bug 1735101: Cache char, line coordinate info to support computing TextBounds and CharBounds in the parent process r=Jamie 2022-05-09 20:30:27 +00:00
TextRange-inl.h Bug 1741793 part 2: Update TextPoint/Range to use base Accessible. r=eeejay 2022-02-26 23:01:54 +00:00
TextRange.cpp Bug 1756528: Fix cropping of siblings in TextRange::Crop. r=eeejay 2022-02-26 23:01:56 +00:00
TextRange.h Bug 1741793 part 2: Update TextPoint/Range to use base Accessible. r=eeejay 2022-02-26 23:01:54 +00:00
TextUpdater.cpp Bug 1766794: Lazily cache HyperText offsets for RemoteAccessibles. r=eeejay 2022-05-05 11:14:12 +00:00
TextUpdater.h
TreeWalker.cpp Bug 1731526 - Fix non-unified build errors in accessible/. r=eeejay 2021-09-22 01:41:40 +00:00
TreeWalker.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
XULMap.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
moz.build Bug 1735970 part 4: Introduce CachedTableAccessible and CachedTableCellAccessible. r=morgan 2022-04-01 09:49:57 +00:00
nsAccCache.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
nsAccUtils.cpp Bug 1763191: Add suppport for cached remote accessibles in coordinate conversion functions r=eeejay 2022-04-28 16:58:19 +00:00
nsAccUtils.h Bug 1763191: Add suppport for cached remote accessibles in coordinate conversion functions r=eeejay 2022-04-28 16:58:19 +00:00
nsAccessibilityService.cpp Bug 1765433 - P3: Get bundle and do pivot in UI thread for remote accessibles. r=Jamie 2022-05-04 18:00:47 +00:00
nsAccessibilityService.h Bug 1765433 - P3: Get bundle and do pivot in UI thread for remote accessibles. r=Jamie 2022-05-04 18:00:47 +00:00
nsAccessiblePivot.cpp Bug 1733268: Cache states::OPAQUE1, update state on style change r=eeejay 2022-03-15 18:46:46 +00:00
nsAccessiblePivot.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
nsCoreUtils.cpp Bug 1763191: Add suppport for cached remote accessibles in coordinate conversion functions r=eeejay 2022-04-28 16:58:19 +00:00
nsCoreUtils.h Bug 1763191: Add suppport for cached remote accessibles in coordinate conversion functions r=eeejay 2022-04-28 16:58:19 +00:00
nsEventShell.cpp Bug 1727373 - Add state change info in event logging. r=morgan 2021-08-24 23:49:59 +00:00
nsEventShell.h Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
nsTextEquivUtils.cpp Bug 1550644: nsTextEquivUtils: Add space for block elements when we encounter them. r=eeejay,adw 2022-03-24 00:06:15 +00:00
nsTextEquivUtils.h Bug 1746833 - P3: Make GetTextEquivFromSubtree take Accessible. r=Jamie 2022-02-18 18:21:00 +00:00