Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 69bf3ef0cfdc8cf5748d335c0652a704093630a8
https://github.com/WebKit/WebKit/commit/69bf3ef0cfdc8cf5748d335c0652a704093630a8
Author: Dominic Mazzoni <[email protected]>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
A
LayoutTests/accessibility/mac/line-text-marker-range-for-text-marker-expected.txt
A LayoutTests/accessibility/mac/line-text-marker-range-for-text-marker.html
M Source/WebCore/accessibility/AccessibilityObject.cpp
Log Message:
-----------
AX: lineTextMarkerRangeForTextMarker fails on first character of line in
Google Docs
https://bugs.webkit.org/show_bug.cgi?id=275870
rdar://130529132
Reviewed by Tyler Wilcock.
nextLineEndPosition has some workarounds for cases where the standard
VisiblePosition
endOfLine function returns null. When computing
AccessibilityObject::lineRangeForPosition
we should use that so that we're more likely to get a valid line.
*
LayoutTests/accessibility/mac/line-text-marker-range-for-text-marker-expected.txt:
Added.
* LayoutTests/accessibility/mac/line-text-marker-range-for-text-marker.html:
Added.
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::lineRangeForPosition const):
Canonical link: https://commits.webkit.org/280426@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes