Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a3a366646035270931774ab6e4fe35555626766e
      
https://github.com/WebKit/WebKit/commit/a3a366646035270931774ab6e4fe35555626766e
  Author: Dominic Mazzoni <[email protected]>
  Date:   2025-07-19 (Sat, 19 Jul 2025)

  Changed paths:
    M Source/WebCore/accessibility/AccessibilityScrollView.cpp

  Log Message:
  -----------
  AX: AccessibilityScrollView::parentObject should try harder to return a valid 
parent AccessibilityObject
https://bugs.webkit.org/show_bug.cgi?id=296205
rdar://156171319

Reviewed by Tyler Wilcock.

We determined the root cause of a missing content bug was mistakenly
interpreting a AccessibilityScrollView from an iframe as the root
AccessibilityScrollView for the whole page.

While the primary fix is to use more robust logic before updating the
tree root, it also makes sense for AccessibilityScrollView to be more
robust in returning a parent, even if its owner element doesn't happen
to return a renderer. It's probably better to keep walking up the node
hierarchy rather than returning null.

* Source/WebCore/accessibility/AccessibilityScrollView.cpp:
(WebCore::AccessibilityScrollView::parentObject const):

Canonical link: https://commits.webkit.org/297651@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

Reply via email to