Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e95e526fe4b07658bf5ed657275853438bf821a3
https://github.com/WebKit/WebKit/commit/e95e526fe4b07658bf5ed657275853438bf821a3
Author: Lily Spiniolas <[email protected]>
Date: 2025-06-28 (Sat, 28 Jun 2025)
Changed paths:
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/platform/graphics/FontDescription.cpp
M Source/WebCore/platform/text/LocaleICU.cpp
M Source/WebCore/platform/text/LocaleToScriptMapping.cpp
M Source/WebCore/platform/text/LocaleToScriptMapping.h
M Source/WebKit/Platform/mac/MenuUtilities.mm
Log Message:
-----------
[macOS] Ensure context menu images are localized consistently and update
paragraph direction images
https://bugs.webkit.org/show_bug.cgi?id=295021
rdar://154374848
Reviewed by Abrar Rahman Protyasha and Wenson Hsieh.
Only show images in the context menu’s transformations submenu if a localized
image exists for all 3 items, otherwise show nothing. Update the images for
the paragraph direction items as well.
Renamed `localeToScriptCodeForFontSelection` to `localeToScriptCode` since
it is no longer used solely for font selection.
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/platform/graphics/FontDescription.cpp:
(WebCore::FontDescription::setSpecifiedLocale):
* Source/WebCore/platform/text/LocaleToScriptMapping.cpp:
(WebCore::localeToScriptCode):
(WebCore::localeToScriptCodeForFontSelection): Deleted.
* Source/WebCore/platform/text/LocaleToScriptMapping.h:
* Source/WebKit/Platform/mac/MenuUtilities.mm:
(WebKit::symbolForTransformationItem):
(WebKit::symbolNameWithTypeForAction):
Canonical link: https://commits.webkit.org/296777@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