gecko-dev/accessible/basetypes
James Teh 0ed15e0a86 Bug 1802268 part 2: Reinstate partial invalidation of cached HyperText offsets for local HyperTextAccessible. r=eeejay
In bug 1766794, I replaced partial invalidation of cached offsets with full cache invalidation.
I did this to simplify the code, since the offsets cache was being extended to RemoteAccessible.
This is fine for RemoteAccessible because offsets are only needed there when clients query them.
However, for local HyperTextAccessible, offsets are always required to fire text events.
Full cache invalidation there meant that many insertions into a large container was very expensive.

To fix this, reinstate the ability to partially invalidate the offsets cache.
This is largely the code I previously removed from HyperTextAccessible, with some tweaks for readability.

Differential Revision: https://phabricator.services.mozilla.com/D163418
2022-12-05 23:27:24 +00:00
..
Accessible.cpp Bug 1796734 part 4: Move calculation of the focused state to Accessible::ApplyImplicitState. r=morgan 2022-11-18 01:37:07 +00:00
Accessible.h Bug 1766147: Remove now unused eProxyType, Accessible::IsProxy and LocalAccessible::mBits. r=morgan 2022-11-22 04:17:41 +00:00
HyperTextAccessibleBase.cpp Bug 1802268 part 2: Reinstate partial invalidation of cached HyperText offsets for local HyperTextAccessible. r=eeejay 2022-12-05 23:27:24 +00:00
HyperTextAccessibleBase.h Bug 1802268 part 2: Reinstate partial invalidation of cached HyperText offsets for local HyperTextAccessible. r=eeejay 2022-12-05 23:27:24 +00:00
moz.build Bug 1735970 part 3: Add TableAccessibleBase and TableCellAccessibleBase. r=morgan 2022-04-01 09:49:57 +00:00
TableAccessibleBase.h Bug 1735970 part 3: Add TableAccessibleBase and TableCellAccessibleBase. r=morgan 2022-04-01 09:49:57 +00:00
TableCellAccessibleBase.h Bug 1735970 part 3: Add TableAccessibleBase and TableCellAccessibleBase. r=morgan 2022-04-01 09:49:57 +00:00