[webkit-changes] [WebKit/WebKit] 6483fe: AX: Cache Horizontal and Vertical ScrollBars only ...
AndresGonzalezApple
noreply at github.com
Mon May 22 17:58:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6483fe30062855f62f031b201e9e7888c1b1a70d
https://github.com/WebKit/WebKit/commit/6483fe30062855f62f031b201e9e7888c1b1a70d
Author: Andres Gonzalez <andresg_22 at apple.com>
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
More information about the webkit-changes
mailing list