Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ac0a53fe16e5b9ba955ce2a8b3b8082e1e7fc8b7
      
https://github.com/WebKit/WebKit/commit/ac0a53fe16e5b9ba955ce2a8b3b8082e1e7fc8b7
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2026-02-16 (Mon, 16 Feb 2026)

  Changed paths:
    M Source/WebCore/dom/Element.cpp
    M Source/WebCore/dom/Element.h
    M Source/WebCore/dom/Node.h
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h
    M Source/WebCore/page/QuirksData.h

  Log Message:
  -----------
  Refactor two-phase click adjacent quirks and gesture validation to use 
feature flag instead of platform guard
https://bugs.webkit.org/show_bug.cgi?id=307937
rdar://170418992

Reviewed by Richard Robinson.

This patch changes platform guards for allowsDoubleTapGesture() and
related quirks from ENABLE(TOUCH_EVENTS) or PLATFORM(IOS_FAMILY) to
ENABLE(TWO_PHASE_CLICKS).

This enables two-phase click validation without requiring touch events
support.

* Source/WebCore/dom/Element.cpp:
* Source/WebCore/dom/Element.h:
* Source/WebCore/dom/Node.h:
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsYouTubeMouseOutQuirk const):
(WebCore::Quirks::shouldHideSoftTopScrollEdgeEffectDuringFocus const):
(WebCore::Quirks::shouldSynthesizeTouchEventsAfterNonSyntheticClick const):
(WebCore::handleWalmartQuirks):
(WebCore::handleGoogleQuirks):
(WebCore::handleLiveQuirks):
(WebCore::handleYouTubeQuirks):
(WebCore::Quirks::determineRelevantQuirks):
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirksData.h:

Canonical link: https://commits.webkit.org/307654@main



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

Reply via email to