Cache the caret
Categories
(Core :: Disability Access APIs, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
Details
(Whiteboard: [ctw-m0])
Attachments
(2 files)
We need to cache the caret Accessible and offset in the parent process cache. We can use caret events for this, since they include the offset. An open question is whether we cache the HyperText offset (as provided by the event) or transform it to a text leaf offset. I'd like to move everything towards text leaf, but we're not changing the event here and most clients will end up fetching a HyperText offset anyway, so this is not as clear as it might seem.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Caret events don't specify whether the caret is at the end of a line, but we need to cache this.
WE now include this info when we send a caret event to the parent process.
Assignee | ||
Comment 2•3 years ago
|
||
This includes support in both TextLeafPoint and HyperTextAccessibleBase.
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/81c9a2ece881
https://hg.mozilla.org/mozilla-central/rev/e171bed83754
Description
•