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

  Changed paths:
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/editing/EditingStyle.cpp
    M Source/WebCore/page/EventHandler.h
    M Source/WebCore/page/cocoa/EventHandlerCocoa.mm
    M Source/WebCore/page/ios/EventHandlerIOS.mm
    M Source/WebCore/rendering/RenderTheme.cpp
    M Source/WebCore/rendering/RenderTheme.h
    M Source/WebCore/rendering/ios/RenderThemeIOS.h
    M 
Source/WebCore/style/computed/StyleComputedStyleProperties+InitialCustom.cpp
    M Source/WebCore/style/computed/data/StyleInheritedRareData.cpp
    M Source/WebCore/style/computed/data/StyleInheritedRareData.h
    M Source/cmake/OptionsGTK.cmake
    M Source/cmake/OptionsWPE.cmake
    M Source/cmake/WebKitFeatures.cmake

  Log Message:
  -----------
  Introduce feature flag for CSS -webkit-tap-highlight-color infrastructure
https://bugs.webkit.org/show_bug.cgi?id=307936
rdar://170418370

Reviewed by Richard Robinson and Anne van Kesteren.

This patch changes platform guards for -webkit-tap-highlight-color CSS
property and related infrastructure from ENABLE(TOUCH_EVENTS) to
ENABLE(CSS_TAP_HIGHLIGHT_COLOR). This enables tap highlight color
support without requiring full touch events support, notable for
platforms that use two-phase click handling.

* Source/WTF/wtf/PlatformEnable.h:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/editing/EditingStyle.cpp:
* Source/WebCore/page/EventHandler.h:
* Source/WebCore/page/cocoa/EventHandlerCocoa.mm:
(WebCore::EventHandler::dispatchSyntheticMouseOut):
(WebCore::EventHandler::dispatchSyntheticMouseMove):
* Source/WebCore/page/ios/EventHandlerIOS.mm:
(WebCore::EventHandler::dispatchSyntheticMouseOut): Deleted.
(WebCore::EventHandler::dispatchSyntheticMouseMove): Deleted.
* Source/WebCore/rendering/RenderTheme.cpp:
* Source/WebCore/rendering/RenderTheme.h:
* Source/WebCore/rendering/ios/RenderThemeIOS.h:
* Source/WebCore/style/computed/StyleComputedStyleProperties+InitialCustom.cpp:
* Source/WebCore/style/computed/data/StyleInheritedRareData.cpp:
(WebCore::Style::InheritedRareData::InheritedRareData):
(WebCore::Style::InheritedRareData::operator== const):
(WebCore::Style::InheritedRareData::dumpDifferences const):
* Source/WebCore/style/computed/data/StyleInheritedRareData.h:

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



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

Reply via email to