gecko-dev/accessible/generic
James Teh 57869687c5 Bug 1820069: Fix handling of magic offsets in HyperTextAccessible*::Char/TextBounds. r=morgan
1. HyperTextAccessibleBase::CharBounds didn't have code to support magic offsets (like TEXT_OFFSET_CARET) at all, resulting in a crash.
2. HyperTextAccessibleBase::TextBounds handled the end offset being a magic offset, but not the start offset.
3. HyperTextAccessible::CharBounds assumed it could just add 1 to the start offset to pass to TextBounds, which resulted in returning the rect from the caret to the end of the container, since length (-1) is caret (-2) + 1.

This patch addresses all three of these issues.

Differential Revision: https://phabricator.services.mozilla.com/D171545
2023-03-06 08:58:42 +00:00
..
ApplicationAccessible.cpp Bug 1796733 part 1: Rename FocusManager::FocusedAccessible to FocusedLocalAccessible. r=morgan 2022-11-10 04:19:26 +00:00
ApplicationAccessible.h Bug 1234121: Unify FocusedChild() in Accessible base class r=Jamie 2022-08-19 02:42:30 +00:00
ARIAGridAccessible-inl.h
ARIAGridAccessible.cpp Bug 1711273: Preserve columnheader, rowheader roles with certain CSS displays set, r=Jamie 2022-12-01 20:17:32 +00:00
ARIAGridAccessible.h Bug 1760739 part 6: Add unified GroupPosition and TotalItemCount support for aria-row/colcount/index. r=eeejay 2022-06-16 06:25:52 +00:00
BaseAccessibles.cpp Bug 1395181 part 1: Support "click ancestor" action on descendants when an ancestor has an action. r=eeejay 2022-04-22 23:13:36 +00:00
BaseAccessibles.h Bug 1800736: Use HyperTextAccessible for <svg> and <g> elements. r=nlapre 2022-12-15 02:21:24 +00:00
DocAccessible-inl.h
DocAccessible.cpp Bug 1818726 part 2: Remove the aDispatchShowEvent argument to PDocAccessible::Cache. r=eeejay 2023-02-28 09:19:33 +00:00
DocAccessible.h Bug 1801234: Queue a relations cache update on dependent accs when DOM ID mutations are observed r=Jamie 2022-12-16 23:08:43 +00:00
FormControlAccessible.cpp Bug 1752380 - P1: Introduce HasPrimaryAction and remove redundant DoAction/ActionCount implementation. r=morgan 2022-02-15 23:20:11 +00:00
FormControlAccessible.h Bug 1752380 - P1: Introduce HasPrimaryAction and remove redundant DoAction/ActionCount implementation. r=morgan 2022-02-15 23:20:11 +00:00
HyperTextAccessible-inl.h Bug 1811092 - P1: Add new async add/set text selection message. r=Jamie 2023-01-27 20:15:11 +00:00
HyperTextAccessible.cpp Bug 1808565, part 1: Adapt Selection to support StaticRanges. r=webidl,saschanaz,masayuki,smaug 2023-03-03 14:59:47 +00:00
HyperTextAccessible.h Bug 1820069: Fix handling of magic offsets in HyperTextAccessible*::Char/TextBounds. r=morgan 2023-03-06 08:58:42 +00:00
ImageAccessible.cpp Bug 1815229 - Remove nsImageBoxFrame. r=tnikkel,layout-reviewers 2023-02-21 17:36:11 +00:00
ImageAccessible.h Bug 1748749 - P2: Cache has long desc. r=Jamie 2022-01-31 23:10:51 +00:00
LocalAccessible-inl.h Bug 1766147: Remove now unused eProxyType, Accessible::IsProxy and LocalAccessible::mBits. r=morgan 2022-11-22 04:17:41 +00:00
LocalAccessible.cpp Bug 1819802 part 2: Pre-allocate some arrays in LocalAccessible::BundleFieldsForCache. r=morgan,nlapre 2023-03-03 03:26:22 +00:00
LocalAccessible.h Bug 1757127 part 1: Move LocalAccessible::Language to Accessible and implement for cached RemoteAccessible. r=nlapre 2023-01-17 20:35:21 +00:00
moz.build Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
OuterDocAccessible.cpp Backed out changeset 6c3a672524b7 (bug 1748878) for causing accessibility crashes. a=backout 2022-01-20 17:24:17 +02:00
OuterDocAccessible.h Bug 1792120: Use the cached offset from GetUsedBorderAndPadding for all OuterDocAccessibles, not just OOP iframes. r=morgan 2022-12-17 02:09:12 +00:00
RootAccessible.cpp Bug 1805414 - Remove nsMenuFrame and nsMenuParent. r=smaug,Jamie,desktop-theme-reviewers,settings-reviewers,dao 2023-01-04 19:01:13 +00:00
RootAccessible.h Bug 1797863 - add class documentation for accessibility tree nodes. r=morgan 2022-11-15 02:49:44 +00:00
TableAccessible.cpp
TableAccessible.h Bug 1735970 part 3: Add TableAccessibleBase and TableCellAccessibleBase. r=morgan 2022-04-01 09:49:57 +00:00
TableCellAccessible.cpp Bug 1711273: Preserve columnheader, rowheader roles with certain CSS displays set, r=Jamie 2022-12-01 20:17:32 +00:00
TableCellAccessible.h Bug 1711273: Preserve columnheader, rowheader roles with certain CSS displays set, r=Jamie 2022-12-01 20:17:32 +00:00
TextLeafAccessible.cpp
TextLeafAccessible.h