Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f3a3db359274d81814e5f42ed130633d5d7e21d
      
https://github.com/WebKit/WebKit/commit/9f3a3db359274d81814e5f42ed130633d5d7e21d
  Author: Lily Spiniolas <[email protected]>
  Date:   2025-12-10 (Wed, 10 Dec 2025)

  Changed paths:
    M Source/WebCore/dom/Node.cpp
    M Source/WebCore/page/LocalDOMWindow.cpp

  Log Message:
  -----------
  Frames which add touch/pointer/gesture event listeners to the window or 
document do not reliably generate touch event regions when touch event regions 
are enabled
https://bugs.webkit.org/show_bug.cgi?id=303934
rdar://166072773

Reviewed by Tim Horton.

When a touch event listener is added to a document, we only invalidate the
event style for the parent document. We now invalidate the style for the 
document
for which the listener was actually added (and do the same when gesture events 
are
added).

* Source/WebCore/dom/Node.cpp:
(WebCore::tryAddEventListener):
(WebCore::didRemoveEventListenerOfType):
* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::addEventListener):
(WebCore::LocalDOMWindow::removeEventListener):

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



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

Reply via email to