[webkit-changes] [WebKit/WebKit] c21fb5: AX: Correctionn for
AndresGonzalezApple
noreply at github.com
Sun Mar 26 15:36:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c21fb5dc59988950882ab17b593fcfe842fde5f2
https://github.com/WebKit/WebKit/commit/c21fb5dc59988950882ab17b593fcfe842fde5f2
Author: Andres Gonzalez <andresg_22 at apple.com>
Date: 2023-03-26 (Sun, 26 Mar 2023)
Changed paths:
M Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm
Log Message:
-----------
AX: Correctionn for
https://bugs.webkit.org/show_bug.cgi?id=254468
https://bugs.webkit.org/show_bug.cgi?id=254486
<rdar://problem/107245642>
Reviewed by Darin Adler and Chris Fleizach.
* Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm:
(WebCore::attributedStringSetColor):
Corrected the comment added in the fix for bug https://bugs.webkit.org/show_bug.cgi?id=254468.
The cause of the problem is that AX system framwork expect the color attribute in the NSAttributedString to be a CGColor and not an NSColor, failing to return a valid NSAttributedString to the AX client if an NSColor is set.
Canonical link: https://commits.webkit.org/262132@main
More information about the webkit-changes
mailing list