Closed Bug 672157 Opened 13 years ago Closed 10 years ago

Line offsets broken when embedded object crosses multiple lines

Categories

(Core :: Disability Access APIs, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Jamie, Unassigned)

References

(Blocks 1 open bug)

Details

Str:
1. Retrieve the paragraph accessible created for the following HTML:
<p>a<a href="#">b<br>c</a></p>
2. Call IAccessibleText::textAtOffset(0, IA2_TEXT_BOUNDARY_LINE)
Expected: The offsets returned should be (0, 2); i.e. the line includes the embedded object.
Actual: The offsets returned are (0, 1).
3. Call IAccessibleText::textAtOffset(1, IA2_TEXT_BOUNDARY_LINE)
Result (correct): The offsets returned are (0, 2).

This breaks reading by line with NVDA's support for Mozilla rich text editing (currently in development).
Works for me now in Firefox 34.0a1 (2014-08-07). Not sure exactly what fixed it.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.