[CTW] Remove HyperTextAccessible methods that call HyperTextAccessibleBase
Categories
(Core :: Disability Access APIs, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
Details
(Whiteboard: [ctw-postship])
Attachments
(2 files)
There are several methods in HyperTextAccessible which delegate to HyperTextAccessibleBase if the cache is enabled. These include TextAtOffset, TextBeforeOffset, TextAfterOffset and Attributes, but there'll probably be others before we get to this. There are also helper methods that these depend on that aren't used by anything else; e.g. FindOffset, FindLineBoundary, FindWordBoundary, FindParagraphStart/EndOffset. Once we're ready to remove the legacy implementation, we should just remove these methods altogether. This also means they no longer need to be virtual in HyperTextAccessibleBase.
Assignee | ||
Comment 1•1 year ago
|
||
Note that bug 1384606 will implement a PeekOffset flag that is now only needed for HyperTextAccessible::FindOffset. We should remove that as well.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
This was only added for a11y and a11y no longer needs it.
Note that the code in Mac HyperTextAccessibleWrap which used this is no longer used itself and will be removed in bug 1821965.
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d15074461aeb part 1: Remove HyperTextAccessible methods that are no longer needed now that the cache is always used. r=morgan,taskgraph-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/397196f3998e part 2: Remove PeekOffsetOption::AllowContentInDifferentNativeAnonymousSubtreeRoot. r=eeejay,masayuki,taskgraph-reviewers,bhearsum
Comment 5•11 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d15074461aeb
https://hg.mozilla.org/mozilla-central/rev/397196f3998e
Description
•