Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8be1a083675818ccbc01a5c8554c948c1f43d770
https://github.com/WebKit/WebKit/commit/8be1a083675818ccbc01a5c8554c948c1f43d770
Author: Lily Spiniolas <[email protected]>
Date: 2026-03-07 (Sat, 07 Mar 2026)
Changed paths:
M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm
Log Message:
-----------
Switch controls may be sized incorrectly with certain accessibility settings
enabled
https://bugs.webkit.org/show_bug.cgi?id=309380
rdar://171931127
Reviewed by Wenson Hsieh and Abrar Rahman Protyasha.
Fix an issue where certain accessibility settings caused switch controls
to display with the wrong size.
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
(WebCore::setLogicalWidthForSwitch):
(WebCore::RenderThemeCocoa::adjustSwitchStyleForVectorBasedControls const):
Canonical link: https://commits.webkit.org/308851@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications