gecko-dev/accessible
James Teh 4d6b8a2e6c Bug 1843389: HTMLTableCellAccessible::Col/RowExtent: Get the table frame from layout instead of walking the a11y tree. r=nlapre
In some edge cases (such as in accessible/tests/crashtests/1472024-1.html), there can be an outer HTML table which contains an inner table according to layout, but the inner table isn't included in the a11y tree.
The inner table has no semantic value, so including it wouldn't be appropriate.
However, HTMLTableAccessible::Col/RowExtent previously retrieved the table using the a11y tree, which meant we used the layout frame for the outer table instead of the inner table.
This resulted in assertions.
To fix this, always ask the cell's layout frame for the correct table frame, rather than walking the a11y tree.
As a bonus, this simplifies and trims the code somewhat.

Differential Revision: https://phabricator.services.mozilla.com/D184066
2023-07-21 04:03:39 +00:00
..
android Bug 1694573 part 5: Make LocalAccessible call Platform*Event. Remove most of the platform HandleAccEvent overrides. r=eeejay 2023-07-19 02:56:54 +00:00
aom Bug 1840732 Part 5: Remove unnecessary includes from accessible/aom, r=Jamie 2023-07-07 03:22:08 +00:00
atk Bug 1694573 part 5: Make LocalAccessible call Platform*Event. Remove most of the platform HandleAccEvent overrides. r=eeejay 2023-07-19 02:56:54 +00:00
base Bug 1765968: Call QueueCacheUpdate instead of SendCache wherever possible. r=morgan 2023-07-21 02:24:44 +00:00
basetypes Bug 1840732 Part 2: Remove unnecessary includes from accessible/basetypes, r=Jamie 2023-07-07 03:22:07 +00:00
docs Bug 1621950 - fix some myst ref warnings r=firefox-source-docs-reviewers,devtools-reviewers,sylvestre 2023-03-30 08:01:22 +00:00
generic Bug 1765968: Call QueueCacheUpdate instead of SendCache wherever possible. r=morgan 2023-07-21 02:24:44 +00:00
html Bug 1843389: HTMLTableCellAccessible::Col/RowExtent: Get the table frame from layout instead of walking the a11y tree. r=nlapre 2023-07-21 04:03:39 +00:00
interfaces Bug 412902: Remove unused accessibility events. r=eeejay 2023-07-19 02:56:55 +00:00
ipc Bug 1694573 part 4: Make PlatformTextSelectionEvent take TextRange instead of TextRangeData. r=eeejay 2023-07-19 02:56:54 +00:00
mac Bug 1694573 part 5: Make LocalAccessible call Platform*Event. Remove most of the platform HandleAccEvent overrides. r=eeejay 2023-07-19 02:56:54 +00:00
other Bug 1694573 part 2: Make Platform*Event functions take Accessible instead of RemoteAccessible. r=eeejay 2023-07-19 02:56:53 +00:00
tests Bug 1843389: HTMLTableCellAccessible::Col/RowExtent: Get the table frame from layout instead of walking the a11y tree. r=nlapre 2023-07-21 04:03:39 +00:00
windows Bug 412902: Remove unused accessibility events. r=eeejay 2023-07-19 02:56:55 +00:00
xpcom Bug 1840732 Part 4: Remove unnecessary includes from accessible/xpcom, r=Jamie 2023-07-07 03:22:08 +00:00
xul Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
moz.build Bug 1754905 - Match Pivot API in nsIAccessiblePivot. r=Jamie 2023-06-28 21:45:16 +00:00