Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6483fe30062855f62f031b201e9e7888c1b1a70d
      
https://github.com/WebKit/WebKit/commit/6483fe30062855f62f031b201e9e7888c1b1a70d
  Author: Andres Gonzalez <[email protected]>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm

  Log Message:
  -----------
  AX: Cache Horizontal and Vertical ScrollBars only for ScrollViews in 
AXIsolatedObject initialization.
https://bugs.webkit.org/show_bug.cgi?id=257140
<rdar://problem/109668440>

Reviewed by Tyler Wilcock.

The Horizontal/VericalSrollBar properties are only exposed for ScrollViews, so 
no need to cache it for any other AXIsolatedObject.
In addition, this patch includes a correction for patch in 
https://bugs.webkit.org/show_bug.cgi?id=257045 that missed to undo the change 
to cache RelativeFrames for Scrollbars.

* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::initializeProperties):
* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to