Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a5f321e72ebf9e50c1a9b40708cd1c8c5ca3d4d0
      
https://github.com/WebKit/WebKit/commit/a5f321e72ebf9e50c1a9b40708cd1c8c5ca3d4d0
  Author: Nipun Shukla <[email protected]>
  Date:   2025-10-01 (Wed, 01 Oct 2025)

  Changed paths:
    A 
LayoutTests/http/tests/site-isolation/mouse-events/mouseenter-mouseleave-remote-frame-expected.txt
    A 
LayoutTests/http/tests/site-isolation/mouse-events/mouseenter-mouseleave-remote-frame.html
    M Source/WebCore/page/EventHandler.cpp

  Log Message:
  -----------
  [Site Isolation] Hovering in and out of an iframe which has mouse events zoom 
set only works occasionally
https://bugs.webkit.org/show_bug.cgi?id=298348
rdar://124108238

Reviewed by Sihui Liu and Ryan Reno.

With site isolation enabled, mouse events transitioning to remote frames
would skip calling updateMouseEventTargetNode, preventing mouseout events
from being dispatched for the previously hovered element. This caused hover
animations to work inconsistently. This change ensures 
updateMouseEventTargetNode
is called before returning for remote frames, allowing proper coordination
across process boundaries and adds a test for verification.

Test: 
http/tests/site-isolation/mouse-events/mouseenter-mouseleave-remote-frame.html
* 
LayoutTests/http/tests/site-isolation/mouse-events/mouseenter-mouseleave-remote-frame-expected.txt:
 Added.
* 
LayoutTests/http/tests/site-isolation/mouse-events/mouseenter-mouseleave-remote-frame.html:
 Added.
* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::handleMouseMoveEvent):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to