Closed Bug 1052498 Opened 10 years ago Closed 2 years ago

Punctuation after new line breaks word offsets

Categories

(Core :: Disability Access APIs, defect)

x86_64
Windows 8.1
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox113 --- fixed
firefox114 --- fixed
firefox115 --- fixed

People

(Reporter: Jamie, Unassigned)

References

(Blocks 2 open bugs)

Details

Str: 1. Open this: data:text/html,a<br>*b 2. Get the document accessible. 3. Call IAccessibleText::textAtOffset(0, IA2_TEXT_BOUNDARY_WORD). Expected: (0, 2, "a\n") Actual: (2, 3, "*") Possibly related to bug 1052478 and/or bug 872397.
Blocks: texta11y
I'm seeing the very same thing in ATK/AT-SPI2.
Blocks: orca
Oops, fix typo in summary.
Summary: Punctuation after new line breaks embedded objects → Punctuation after new line breaks word offsets

This has morphed after bug 872397, but is still not correct. Offset 0 now returns (0, 3, 'a\n*'), and offsets 1 through 3 return (0, 0, None).

Fixed by TextLeafPoint, bug 1729407 (currently behind the CTW pref).

Depends on: 1782873
Severity: normal → S3

This is resolved by Cache the World, which is enabled by default in Firefox 113.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.