Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f199b1af08dbe23da50ee3d91bdf7fb6aa7a89bc
https://github.com/WebKit/WebKit/commit/f199b1af08dbe23da50ee3d91bdf7fb6aa7a89bc
Author: Joanne Pan <[email protected]>
Date: 2026-04-29 (Wed, 29 Apr 2026)
Changed paths:
M
LayoutTests/interaction-region/form-control-refresh/slider-thumb-native-interaction-region-expected.txt
M LayoutTests/interaction-region/input-type-range-region-expected.txt
M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm
Log Message:
-----------
REGRESSION (310265@main): Gaze glow region for slider thumb is too large
https://bugs.webkit.org/show_bug.cgi?id=313574
rdar://174429082
Reviewed by Lily Spiniolas, Aditya Keerthi, and Abrar Rahman Protyasha.
The problem: The previous fix 310265@main
https://github.com/WebKit/WebKit/pull/60950
expanded the slider thumb's touch hit area and interaction region by 12.5pt
when either
dimension is below 48pt. The touch hit area was correct and matched UIKit, but
the interaction region (the visible gaze glow highlight) was too large.
The fix: UIKit does not enlarge the gaze glow, so to match that behaviour, the
interaction region inflation for slider thumbs in
inflateRectForInteractionRegion
is removed.
*
LayoutTests/interaction-region/form-control-refresh/slider-thumb-native-interaction-region-expected.txt:
* LayoutTests/interaction-region/input-type-range-region-expected.txt:
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
(WebCore::RenderThemeCocoa::inflateRectForInteractionRegion):
Canonical link: https://commits.webkit.org/312271@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications