atk_text_get_text_at_offset sometimes returns the previous line instead of the line at offset

NEW
Unassigned

Status

()

4 years ago
4 years ago

People

(Reporter: jdiggs, Unassigned)

Tracking

(Blocks: 2 bugs)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
Created attachment 8471648 [details]
test case: wronglineatoffset.html

Steps to reproduce:
1. Open the attached test case in Firefox
2. Launch the attached accessible event listener in a terminal
3. Enable caret navigation in Firefox (F7) and Down Arrow from line to line

Expected results: Each time the caret moves, the correct line at offset would be reported.

Actual results: As you arrow down to the next line, the reported line at offset is the previous line.

Note: If you delete the whitespace in the source that is between <br/> and the <span>, the bug goes away.
(Reporter)

Comment 1

4 years ago
Created attachment 8471649 [details]
accessible-event listener: caret-moved.py
Blocks: 368895
You need to log in before you can comment on or make changes to this bug.