Cache text and line offsets
Categories
(Core :: Disability Access APIs, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
Details
Attachments
(4 files)
When sending cache data for a subtree, we need to send the text of TextLeafAccessibles, as well as line offsets. We also need to do this when a text leaf is updated (which is handled by TextUpdater). TextLeafPoint and HyperTextAccessible need to be taught how to use that cached data.
Assignee | ||
Comment 1•3 years ago
|
||
We might already cache the text of TextLeafAccessibles with the name caching implemented in bug 1700264. However, if we do, we wouldn't be keeping it up to date, as TextLeafAccessibles don't (and shouldn't) fire name change events.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
As part of this, we no longer cache the name for text accessibles, as that would be redundant.
Instead, we return the cached text in RemoteAccessible::Name.
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
This uses the unified AppendTextTo and TextLength, as well as adding support for cached line start boundaries.
Comment 7•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/593b86a95509
https://hg.mozilla.org/mozilla-central/rev/e89a1d6424f7
https://hg.mozilla.org/mozilla-central/rev/98e556a28416
https://hg.mozilla.org/mozilla-central/rev/83bcd4379c5e
Description
•