Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9ce888f87b027c593caad79000972faa1ac595cf
https://github.com/WebKit/WebKit/commit/9ce888f87b027c593caad79000972faa1ac595cf
Author: Tyler Wilcock <[email protected]>
Date: 2025-06-02 (Mon, 02 Jun 2025)
Changed paths:
M LayoutTests/accessibility/insert-newline-expected.txt
M LayoutTests/accessibility/insert-newline.html
M
LayoutTests/accessibility/set-selected-text-range-after-newline-expected.txt
M LayoutTests/accessibility/set-selected-text-range-after-newline.html
M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp
M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
Log Message:
-----------
AX: Implement support for NSAccessibilityStringForRangeParameterizedAttribute
off the main-thread
https://bugs.webkit.org/show_bug.cgi?id=293917
rdar://152449191
Reviewed by Joshua Hoffman.
If we convert the NSRange to an AXTextMarkerRange, we can implement
NSAccessibilityStringForRangeParameterizedAttribute
off the main-thread -- this commit does so. A few tests needed to be modified
to wait for accessibility tree updates
after corresponding main-thread page changes.
* LayoutTests/accessibility/insert-newline-expected.txt:
* LayoutTests/accessibility/insert-newline.html:
* LayoutTests/accessibility/set-selected-text-range-after-newline-expected.txt:
* LayoutTests/accessibility/set-selected-text-range-after-newline.html:
* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::doAXStringForRange const):
* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(markerRangeFrom):
(computeTextBoundsForRange):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
Canonical link: https://commits.webkit.org/295725@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