[CTW] Remove HyperTextAccessible methods that call HyperTextAccessibleBase
Categories
(Core :: Disability Access APIs, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
(Blocks 1 open bug)
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•2 years 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•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years 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.
Comment 5•1 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d15074461aeb
https://hg.mozilla.org/mozilla-central/rev/397196f3998e
Description
•