Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: de0391e9c832384e850fff95e2393ab27e6d129c
      
https://github.com/WebKit/WebKit/commit/de0391e9c832384e850fff95e2393ab27e6d129c
  Author: senstella <[email protected]>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    A 
LayoutTests/tiled-drawing/scrolling/wheel-event-listener-region-overlapping-composited-layers-expected.txt
    A 
LayoutTests/tiled-drawing/scrolling/wheel-event-listener-region-overlapping-composited-layers.html
    M Source/WebCore/page/scrolling/coordinated/ScrollingTreeCoordinated.cpp

  Log Message:
  -----------
  [GTK][WPE] ScrollingTreeCoordinated::eventListenerRegionTypesForPoint should 
return the topmost hit layer's region types
https://bugs.webkit.org/show_bug.cgi?id=318783

Reviewed by Fujii Hironori.

In the findEventListenerRegionTypes, we iterate the children in top-down to 
match the hit testing order.

Test: 
tiled-drawing/scrolling/wheel-event-listener-region-overlapping-composited-layers.html

* 
LayoutTests/tiled-drawing/scrolling/wheel-event-listener-region-overlapping-composited-layers-expected.txt:
 Added.
* 
LayoutTests/tiled-drawing/scrolling/wheel-event-listener-region-overlapping-composited-layers.html:
 Added.
* Source/WebCore/page/scrolling/coordinated/ScrollingTreeCoordinated.cpp:
(WebCore::findEventListenerRegionTypes): Modified to reverse the iteration 
order.

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



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

Reply via email to