Bug 277489
| Summary: | AX: lineTextMarkerRangeForTextMarker returns too much text for some blank lines | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominic Mazzoni <dm_mazzoni> |
| Component: | Accessibility | Assignee: | Dominic Mazzoni <dm_mazzoni> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | andresg_22, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Dominic Mazzoni
In https://bugs.webkit.org/show_bug.cgi?id=275870 (AX: lineTextMarkerRangeForTextMarker fails on first character of line in Google Docs) we fixed an issue where lineTextMarkerRangeForTextMarker failed to return a range at all.
This fix resulted in a regression where now it returns a range that's too large, for some blank lines. One symptom was that when using VoiceOver to arrow through editable text, landing on a blank line would sometimes read the subsequent line rather than just "newline".
rdar://131390008
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/132989539>
Dominic Mazzoni
Pull request: https://github.com/WebKit/WebKit/pull/31601
EWS
Committed 281724@main (ca993564405e): <https://commits.webkit.org/281724@main>
Reviewed commits have been landed. Closing PR #31601 and removing active labels.