Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ce81c080a3d35c176586e019042729ddb62bd930
https://github.com/WebKit/WebKit/commit/ce81c080a3d35c176586e019042729ddb62bd930
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-09-21 (Mon, 21 Sep 2026)
Changed paths:
M Source/WebCore/dom/Document.h
M Source/WebCore/rendering/HitTestLocation.h
M Source/WebKit/Shared/Cocoa/InteractionInformationAtPosition.h
M Source/WebKit/Shared/Cocoa/InteractionInformationAtPosition.mm
M
Source/WebKit/Shared/Cocoa/InteractionInformationAtPosition.serialization.in
M Source/WebKit/Shared/Cocoa/InteractionInformationRequest.cpp
M Source/WebKit/Shared/Cocoa/InteractionInformationRequest.h
M Source/WebKit/Shared/Cocoa/InteractionInformationRequest.serialization.in
M Source/WebKit/UIProcess/mac/AppKitGestures/WKAppKitGestureController.mm
M Source/WebKit/WebProcess/WebPage/Cocoa/PositionInformationForWebPage.mm
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture
Tests/BasicAppKitGesturesTests.swift
Log Message:
-----------
[AppKit Gestures] Mouse dragging the track of a custom-styled range input
often does not slide
https://bugs.webkit.org/show_bug.cgi?id=324408
rdar://186965160
Reviewed by Tim Horton.
Restyling a range input's track can produce a hit area that is only as
tall as the track itself, which can be just a couple of points.
A mouse drag starting on the track, away from the thumb, therefore lands
on whatever wraps the control. Position information reports the wrapper,
so the WKAppKitGestureController has content to yield to, and mouse
tracking does not end up getting recognized.
To fix this, we now supply input source to InteractionInformationRequest
such that we can perform adjustments appropriate for Automation-sourced
requests.
Test: AppKitGesturesTests.Basic/mouseDragOverThinRangeInputChangesValue
Canonical link: https://commits.webkit.org/321523@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications