[webkit-changes] [WebKit/WebKit] 0bfa59: AX: Hit testing on iOS broken after scrolling
Joshua Hoffman
noreply at github.com
Fri Mar 21 13:39:42 PDT 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0bfa59686ef00655d1c03c7968ef01088a899488
https://github.com/WebKit/WebKit/commit/0bfa59686ef00655d1c03c7968ef01088a899488
Author: Joshua Hoffman <jhoffman23 at apple.com>
Date: 2025-03-21 (Fri, 21 Mar 2025)
Changed paths:
M Source/WebKit/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm
Log Message:
-----------
AX: Hit testing on iOS broken after scrolling
https://bugs.webkit.org/show_bug.cgi?id=290122
rdar://145695477
Reviewed by Tyler Wilcock.
For remote frames, we need to offset their hit tests by the scroll of their page.
However, in doing so, we inadvertently affected the main frame as well, which
doesn't need to account for the scroll offset. So, let's just apply this to non-
main frames.
My local simulator build wasn't able to run the test, but I've followed a follow
up to include a new test/infrastructure for this behavior:
https://bugs.webkit.org/show_bug.cgi?id=290132
* Source/WebKit/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm:
(-[WKAccessibilityWebPageObject accessibilityHitTest:]):
Canonical link: https://commits.webkit.org/292505@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list