Line offsets broken when embedded object crosses multiple lines

RESOLVED WORKSFORME

Status

()

Core
Disability Access APIs
RESOLVED WORKSFORME
7 years ago
4 years ago

People

(Reporter: Jamie, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
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).
(Reporter)

Comment 1

4 years ago
Works for me now in Firefox 34.0a1 (2014-08-07). Not sure exactly what fixed it.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.