Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 953140b3e76375ea875494bbdbd74019a8cec473
      
https://github.com/WebKit/WebKit/commit/953140b3e76375ea875494bbdbd74019a8cec473
  Author: Joshua Hoffman <jhoffma...@apple.com>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M Source/WebKit/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations
    M Source/WebKit/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm
    M Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h
    M Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.mm
    M Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm

  Log Message:
  -----------
  AX: [Site Isolation] Hit testing remote frames should account for the scroll 
offset
https://bugs.webkit.org/show_bug.cgi?id=285700
rdar://142633437

Reviewed by Chris Fleizach and Tyler Wilcock.

Prior to this patch, elements that were not in the visible bounds of a remote 
frame
would not be able to be hit tested when scrolled into view, since we did not 
take into
account the scroll position of the iframe. This now updates the page-level 
accessibility
hit test to account for this offset on both macOS and iOS.

* Source/WebKit/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations:
* Source/WebKit/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm:
(-[WKAccessibilityWebPageObject accessibilityHitTest:]):
* Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h:
* Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.mm:
(-[WKAccessibilityWebPageObjectBase axObjectCache]):
(-[WKAccessibilityWebPageObjectBase remoteLocalFrame]):
* Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm:
(-[WKAccessibilityWebPageObject accessibilityHitTest:]):

Canonical link: https://commits.webkit.org/288699@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to