Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 38da305a284f6534c9489b18864e110ca85e1d96
      
https://github.com/WebKit/WebKit/commit/38da305a284f6534c9489b18864e110ca85e1d96
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M Source/WebCore/rendering/RenderLayer.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/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] Cannot mouse drag to resize <textarea>
https://bugs.webkit.org/show_bug.cgi?id=324275
rdar://187497511

Reviewed by Richard Robinson.

<textarea> can be (and on many platforms, by default, is) resizable by
configuring the `resize` CSS property. The resize control interaction
is driven by EventHandler setting `RenderLayer::inResizeMode` and
dispatching mouse events to said control.

Currently, for gesture-driven interactions, we don't let mouse tracking
win on mouse drags over the resize control, so in this patch we teach
InteractionInformationAtPosition to carry an extra bit about whether the
hit point is on such a control, and we teach WKAppKitGestureController
how to prioritize mouse tracking if that position information bit is set.

Test: AppKitGesturesTests.Basic/draggingTextAreaRespectsResizeProperty
Canonical link: https://commits.webkit.org/321209@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to