[webkit-changes] [WebKit/WebKit] 3e77b7: AX: AXProperty::SupportsDragging isn't updated whe...

Tyler Wilcock noreply at github.com
Mon Dec 23 15:18:48 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e77b719af8b3ad479b5c878377e9a11ba808ab2
      https://github.com/WebKit/WebKit/commit/3e77b719af8b3ad479b5c878377e9a11ba808ab2
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2024-12-23 (Mon, 23 Dec 2024)

  Changed paths:
    A LayoutTests/accessibility/mac/supports-grabbed-after-dynamic-change-expected.txt
    A LayoutTests/accessibility/mac/supports-grabbed-after-dynamic-change.html
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/AXObjectCache.h
    M Source/WebCore/accessibility/AccessibilityNodeObject.cpp
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp

  Log Message:
  -----------
  AX: AXProperty::SupportsDragging isn't updated when the draggable attribute changes
https://bugs.webkit.org/show_bug.cgi?id=285088
rdar://141922026

Reviewed by Chris Fleizach.

With this commit, we update AXProperty::SupportsDragging when the draggable attribute changes.

* LayoutTests/accessibility/mac/supports-grabbed-after-dynamic-change-expected.txt: Added.
* LayoutTests/accessibility/mac/supports-grabbed-after-dynamic-change.html: Added.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleAttributeChange):
(WebCore::AXObjectCache::updateIsolatedTree):
* Source/WebCore/accessibility/AXObjectCache.h:
* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::determineDropEffects const):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::initializeProperties):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::updateNodeProperties):

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