gecko-dev/accessible/base
Nathan LaPre 48bc589112 Bug 1901462: Implement UIA ITextRangeProvider::GetBoundingRectangles, r=Jamie
This revision implements GetBoundingRectangles by walking the text range line by
line, adding each line rect to an output array, then returning that array to UIA
clients. Since this logic was tied up in TextLeafRange::Bounds, this revision
first creates function WalkLineRects which encapsulates the logic of walking
a TextLeafRange line-by-line. Then, it uses that function to rewrite Bounds and
implement new function LineRects, which stores all non-empty onscreen line rects
in an nsTArray and returns them. The implementation of GetBoundingRectangles has
been filled out; it's mostly straightforward but contains some SAFEARRAY work
since UIA expects rects as doubles, rather than our internal uint32_t
representation. Finally, this revision adds a test for GetBoundingRectangles.

Differential Revision: https://phabricator.services.mozilla.com/D222198
2024-09-17 21:38:26 +00:00
..
AccAttributes.cpp Bug 1905211 part 3: Introduce TextOffsetAttribute struct and support it as a serialisable attribute value. r=morgan 2024-08-05 02:54:36 +00:00
AccAttributes.h Bug 1905211 part 10: Expose target text as an a11y text attribute. r=morgan 2024-08-05 02:54:38 +00:00
AccEvent.cpp Bug 1862802 part 5: Remove virtual cursor change event. r=eeejay 2023-11-29 03:53:20 +00:00
AccEvent.h Bug 1862802 part 5: Remove virtual cursor change event. r=eeejay 2023-11-29 03:53:20 +00:00
AccGroupInfo.cpp Bug 1849160 - Part 1: Implement rowgroup role, r=Jamie 2024-04-10 17:22:12 +00:00
AccGroupInfo.h Bug 1864015: Correctly handle removal of the conceptual parent. r=eeejay 2023-11-30 23:53:08 +00:00
AccIterator.cpp Bug 1769586 - P3: Rename IDRefsIterator AssociatedElementsIterator. r=Jamie 2024-09-15 22:39:53 +00:00
AccIterator.h Bug 1769586 - P3: Rename IDRefsIterator AssociatedElementsIterator. r=Jamie 2024-09-15 22:39:53 +00:00
AccTypes.h Bug 1892349 - add doc-pageheader and doc-pagefooter ARIA DPUB roles, and have all DPUB roles return the expected computed rule; r=Jamie 2024-04-19 04:23:25 +00:00
ARIAMap.cpp Bug 1769586 - P2: Implement a11y support of ARIA element reflection. r=Jamie 2024-09-15 22:39:53 +00:00
ARIAMap.h Bug 1769586 - P2: Implement a11y support of ARIA element reflection. r=Jamie 2024-09-15 22:39:53 +00:00
ARIAStateMap.cpp
ARIAStateMap.h
Asserts.cpp Bug 1886371 part 6: Add UIA control types to RoleMap. r=nlapre 2024-03-25 03:28:05 +00:00
CacheConstants.cpp Bug 1794974: Part 4: Add ability to easily query, request new cache domains,r=Jamie 2024-09-09 23:02:20 +00:00
CacheConstants.h Bug 1794974: Part 4: Add ability to easily query, request new cache domains,r=Jamie 2024-09-09 23:02:20 +00:00
CachedTableAccessible.cpp Bug 1769586 - P3: Rename IDRefsIterator AssociatedElementsIterator. r=Jamie 2024-09-15 22:39:53 +00:00
CachedTableAccessible.h
CssAltContent.cpp Bug 1896047 part 6: Support the CSS attr() function in CssAltContent. r=eeejay 2024-05-17 00:24:16 +00:00
CssAltContent.h Bug 1896047 part 6: Support the CSS attr() function in CssAltContent. r=eeejay 2024-05-17 00:24:16 +00:00
DocManager.cpp Bug 1888649: Tweak the assertion when we can't get the parent DocAccessible in CreateDocOrRootAccessible to allow background extension pages. r=eeejay 2024-04-17 22:53:27 +00:00
DocManager.h Bug 1794974: Part 2: Add ability to query and send individual cache domains, r=Jamie 2024-09-09 23:02:19 +00:00
EmbeddedObjCollector.cpp
EmbeddedObjCollector.h
EventQueue.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
EventQueue.h Bug 1867358 part 2: Assert that EventQueue's mDocument member is initialized to something non-null. r=eeejay 2023-12-01 17:18:23 +00:00
EventTree.cpp
EventTree.h
Filters.cpp
Filters.h
FocusManager.cpp
FocusManager.h
HTMLMarkupMap.h Bug 1849160 - Part 1: Implement rowgroup role, r=Jamie 2024-04-10 17:22:12 +00:00
IDSet.h
Logging.cpp Bug 1896516 Part 7 - Remove PresShell::GetRootScrollFrameAsScrollable(). r=layout-reviewers,emilio 2024-05-30 06:32:20 +00:00
Logging.h
MathMLMarkupMap.h
moz.build Bug 1794974: Part 4: Add ability to easily query, request new cache domains,r=Jamie 2024-09-09 23:02:20 +00:00
NotificationController.cpp Bug 1897349: Don't update CSS pseudo-element TextLeafAccessibles if there is CSS content alt text. r=eeejay 2024-05-22 22:14:33 +00:00
NotificationController.h
nsAccCache.h
nsAccessibilityService.cpp Bug 1794974: Part 2: Add ability to query and send individual cache domains, r=Jamie 2024-09-09 23:02:19 +00:00
nsAccessibilityService.h Bug 1794974: Part 2: Add ability to query and send individual cache domains, r=Jamie 2024-09-09 23:02:19 +00:00
nsAccUtils.cpp Bug 1769586 - P2: Implement a11y support of ARIA element reflection. r=Jamie 2024-09-15 22:39:53 +00:00
nsAccUtils.h Bug 1769586 - P2: Implement a11y support of ARIA element reflection. r=Jamie 2024-09-15 22:39:53 +00:00
nsCoreUtils.cpp Bug 1675847 - part 5: Make contextmenu event dispatchers use WidgetPointerEvent or PointerEvent r=smaug,pip-reviewers,devtools-reviewers,nchevobbe,mconley 2024-06-14 00:18:48 +00:00
nsCoreUtils.h Bug 1896516 Part 8 - Remove nsIScrollableFrame usages under accessible/. r=layout-reviewers,emilio 2024-05-30 06:32:20 +00:00
nsEventShell.cpp Bug 1896599 - Remove event-from-input support. r=Jamie,devtools-reviewers,eeejay,nchevobbe 2024-05-23 12:09:21 +00:00
nsEventShell.h Bug 1896599 - Remove event-from-input support. r=Jamie,devtools-reviewers,eeejay,nchevobbe 2024-05-23 12:09:21 +00:00
nsTextEquivUtils.cpp Bug 1769586 - P3: Rename IDRefsIterator AssociatedElementsIterator. r=Jamie 2024-09-15 22:39:53 +00:00
nsTextEquivUtils.h Bug 1898082: Clean up comments in nsTextEquivUtils, r=Jamie 2024-05-22 17:19:30 +00:00
Pivot.cpp
Pivot.h
Platform.h Bug 1794974: Part 1: Add improved client detection, automatic domain setting, r=Jamie 2024-09-09 23:02:19 +00:00
Relation.h
RelationTypeGen.py
RelationTypeMap.h
RoleHGen.py
RoleMap.h Bug 1901853: Update <dd> and <dl> roles to match spec for VO r=eeejay 2024-06-13 19:47:05 +00:00
SelectionManager.cpp Bug 1905211 part 10: Expose target text as an a11y text attribute. r=morgan 2024-08-05 02:54:38 +00:00
SelectionManager.h Bug 1905211 part 7: Notify accessibility about ranges that are added or removed from selections. r=smaug,morgan 2024-08-05 02:54:37 +00:00
States.h
Statistics.h
StyleInfo.cpp
StyleInfo.h
TextAttrs.cpp
TextAttrs.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
TextLeafRange.cpp Bug 1901462: Implement UIA ITextRangeProvider::GetBoundingRectangles, r=Jamie 2024-09-17 21:38:26 +00:00
TextLeafRange.h Bug 1901462: Implement UIA ITextRangeProvider::GetBoundingRectangles, r=Jamie 2024-09-17 21:38:26 +00:00
TextRange-inl.h
TextRange.cpp
TextRange.h
TextUpdater.cpp
TextUpdater.h
TreeWalker.cpp Bug 1696309 - Don't skip aria-owned children early in TreeWalker. r=Jamie 2024-09-08 04:04:17 +00:00
TreeWalker.h
XULMap.h Bug 1878092 - Remove <xul:popup> element. r=Gijs 2024-02-02 19:28:21 +00:00